/*
Theme Name: Boilerstandj
Theme URI: https://opstandj.nl
Author: Studio Opstandj
Author URI: https://mikevanengelen.com
Description: WordPress boilerplate theme for Studio Opstandj
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: boilerstandj
Tags: minimal, boilerplate, custom
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  box-sizing: border-box;
  font-size: 16px;
}

.font-heading, h1, h2, h3, h4, h5, h6 {
  font-family: "Spectral", Georgia, serif;
  font-weight: 400;
  font-style: normal;
}

.font-default, p, strong, b, i, a, span, body {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-mono {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

:root {
  font-size: 16px;
  --container-width: 1120px;
  --container-margin: max(20px, calc((100vw - var(--container-width)) / 2));
  --container-padding-y: 80px;
  --container-padding-x: 32px;
}
@media (max-width: 995px) {
  :root {
    --container-padding-x: 24px;
  }
}
@media (max-width: 767px) {
  :root {
    --container-padding-x: 20px;
  }
}

:root {
  --animation-duration: 0.5s;
  --animation-distance: 50px;
}
:root [data-animate] {
  opacity: 0;
  --animation-duration: 0.75s;
  --animation-distance: 50px;
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(var(--animation-distance));
    visibility: hidden;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
}
@keyframes fade-in-down {
  0% {
    opacity: 0;
    transform: translateY(calc(var(--animation-distance) * -1));
    visibility: hidden;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
}
@keyframes fade-in-left {
  from {
    opacity: 0;
    transform: translateX(var(--animation-distance));
    visibility: hidden;
  }
  to {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
  }
}
@keyframes fade-in-right {
  from {
    opacity: 0;
    transform: translateX(calc(var(--animation-distance) * -1));
    visibility: hidden;
  }
  to {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
  }
}
.--fade-in-up {
  animation: fade-in-up var(--animation-duration) ease-out forwards;
}

.--fade-in-down {
  animation: fade-in-down var(--animation-duration) ease-out forwards;
}

.--fade-in-left {
  animation: fade-in-left var(--animation-duration) ease-out forwards;
}

.--fade-in-right {
  animation: fade-in-right var(--animation-duration) ease-out forwards;
}

.--fade-out-down {
  animation: fade-in-up var(--animation-duration) ease-in-out 0s 1 reverse forwards;
}

@keyframes bg-slide-up {
  0% {
    background-size: auto 100%;
    background-position: center 0;
  }
  100% {
    background-size: auto calc(100% + 100px);
    background-position: center -100px;
  }
}
html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #faf8f5;
  color: #17335a;
}

main section {
  position: relative;
}

.container {
  width: 100%;
  max-width: 1120px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  margin: 0 auto;
  padding: var(--container-padding-y) var(--container-padding-x);
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  color: #17335a;
}

h1 {
  font-size: 4em;
}

h2 {
  font-size: 2.75em;
}

h3 {
  font-size: 2.25em;
}

h4 {
  font-size: 1.75em;
}

h5 {
  font-size: 1.25em;
}

h6 {
  font-size: 1em;
}

p, strong, b, i, a, span {
  line-height: 1.6;
  text-wrap: balance;
}

strong, b {
  font-weight: 600;
}

a {
  color: #c05a32;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #17335a;
}

[fx-sticky],
[data-fx-sticky],
.fx-sticky {
  position: relative;
}
[fx-sticky] > .fx-sticky-wrapper,
[data-fx-sticky] > .fx-sticky-wrapper,
.fx-sticky > .fx-sticky-wrapper {
  position: sticky;
  opacity: 0;
  filter: blur(5px);
  transition: 0.3s;
}
[fx-sticky].fx-enabled > .fx-sticky-wrapper,
[data-fx-sticky].fx-enabled > .fx-sticky-wrapper,
.fx-sticky.fx-enabled > .fx-sticky-wrapper {
  opacity: 1;
  filter: blur(0);
}

[fx-transition],
[data-fx-transition],
.fx-transition {
  opacity: 0;
  filter: blur(5px);
  transition: 0.3s;
}
[fx-transition].fx-enabled,
[data-fx-transition].fx-enabled,
.fx-transition.fx-enabled {
  opacity: 1;
  filter: blur(0);
}

[fx-stacking],
[data-fx-stacking],
.fx-stacking {
  opacity: 0;
  filter: blur(5px);
  transition: 0.3s opacity, 0.3s filter;
  transition-timing-function: ease-out;
  display: flex;
  flex-direction: column;
  gap: var(--fx-max-gap);
}
[fx-stacking] .fx-stacking-card,
[data-fx-stacking] .fx-stacking-card,
.fx-stacking .fx-stacking-card {
  image-rendering: crisp-edges;
  position: sticky;
  top: var(--fx-top);
  will-change: transform;
  background-color: #faf8f5;
}
[fx-stacking] .fx-stacking-card > *,
[data-fx-stacking] .fx-stacking-card > *,
.fx-stacking .fx-stacking-card > * {
  transform-origin: top center;
  transform: scale(calc(1 - var(--fx-timing))) translateY(var(--fx-offset));
  clip-path: xywh(0 -10px 100% calc(100% + var(--fx-mask) + 10px));
  transition: 0s !important;
}
[fx-stacking] .fx-stacking-card,
[data-fx-stacking] .fx-stacking-card,
.fx-stacking .fx-stacking-card {
  margin-bottom: var(--fx-mask);
  margin-top: var(--fx-mask-offset);
}
[fx-stacking] > *,
[data-fx-stacking] > *,
.fx-stacking > * {
  position: sticky;
  top: 100px;
}
[fx-stacking].fx-enabled,
[data-fx-stacking].fx-enabled,
.fx-stacking.fx-enabled {
  opacity: 1;
  filter: blur(0);
}

body {
  background-color: #faf8f5;
}
body h1 {
  color: #c05a32;
}

.a-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  font-size: 14.5px;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.a-button svg {
  flex: none;
}

.a-button--primary {
  background: #17335a;
  color: #faf8f5;
  box-shadow: 0 8px 22px -12px rgba(23, 51, 90, 0.6);
}
.a-button--primary:hover {
  background: #c05a32;
  color: #fff;
}

.a-button--ghost {
  padding: 15px 18px;
  gap: 9px;
  color: #17335a;
  border-bottom: 1px solid rgba(23, 51, 90, 0.3);
}
.a-button--ghost:hover {
  color: #c05a32;
  border-bottom-color: #c05a32;
}

.a-button--accent {
  background: #c05a32;
  color: #fff;
}
.a-button--accent:hover {
  background: #fff;
  color: #17335a;
}

.a-button--outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #f4efe6;
}
.a-button--outline:hover {
  border-color: #e8926b;
  color: #e8926b;
}

.a-button--on-accent {
  background: #17335a;
  color: #fff;
}
.a-button--on-accent:hover {
  background: #fff;
  color: #c05a32;
}

.a-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a93a4;
}
.a-eyebrow svg {
  flex: none;
}

.a-eyebrow--accent {
  color: #c05a32;
}

.a-eyebrow--on-dark {
  color: #e8926b;
}

.a-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 11px;
  background: #fff;
  border: 1px solid #e4dbcc;
  border-radius: 100px;
  box-shadow: 0 1px 2px rgba(23, 51, 90, 0.05);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a93a4;
}
.a-badge svg {
  flex: none;
}

.a-tag {
  display: inline-block;
  border: 1px solid #cfd7e2;
  padding: 7px 12px;
  font-size: 13.5px;
  border-radius: 2px;
  color: #17335a;
}

.a-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
  font: inherit;
  color: inherit;
}

.m-placeholder {
  display: flex;
  align-items: flex-end;
  padding: 14px;
  background-image: repeating-linear-gradient(135deg, #f1ebe1 0 10px, #e9e2d6 10px 20px);
}

.m-placeholder__label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: #8a7f6d;
  background: #fff;
  padding: 5px 8px;
}

.m-placeholder--on-dark {
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 10px, rgba(255, 255, 255, 0.03) 10px 20px);
}
.m-placeholder--on-dark .m-placeholder__label {
  color: #dccfbd;
  background: rgba(0, 0, 0, 0.25);
}

.m-stat {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.m-stat__icon {
  margin-top: 9px;
  flex: none;
}

.m-stat__body {
  font-size: 12.5px;
  line-height: 1.45;
  color: #56678a;
}

.m-stat__value {
  font-family: "Spectral", Georgia, serif;
  font-size: 28px;
  color: #17335a;
  line-height: 1;
}

.m-project-card {
  background: #fff;
  border: 1px solid #eae3d8;
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.m-project-card:hover {
  border-color: #c9b9a2;
}

.m-project-card__media {
  aspect-ratio: 16/10;
  display: block;
}
.m-project-card__media a {
  display: block;
  height: 100%;
}
.m-project-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-project-card__body {
  padding: 24px 24px 28px;
}

.m-project-card__tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #c05a32;
  margin-bottom: 10px;
}

.m-project-card__title {
  font-family: "Spectral", Georgia, serif;
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 10px;
  color: #17335a;
}
.m-project-card__title a {
  color: inherit;
}
.m-project-card__title a:hover {
  color: #c05a32;
}

.m-project-card__desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #56678a;
}

.m-project-card--dark {
  background: #17335a;
  color: #f3ede3;
  display: flex;
  flex-direction: column;
}
.m-project-card--dark:hover {
  border-color: #eae3d8;
}
.m-project-card--dark .m-project-card__tag {
  color: #e8926b;
}
.m-project-card--dark .m-project-card__title {
  color: #fff;
}
.m-project-card--dark .m-project-card__desc {
  color: #c3cddd;
}

.m-language {
  display: grid;
  gap: 14px;
}

.m-language__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 6px;
}

.m-language__level {
  color: #8a93a4;
}

.m-language__track {
  height: 3px;
  background: #e4ddd1;
}

.m-language__fill {
  height: 3px;
  background: #c05a32;
}

.m-timeline-item {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: 32px;
  padding: 30px 0;
  border-top: 1px solid #e7e0d4;
}
@media (max-width: 995px) {
  .m-timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.m-timeline-item--last {
  border-bottom: 1px solid #e7e0d4;
}

.m-timeline-item__date {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  color: #c05a32;
  letter-spacing: 0.06em;
  padding-top: 4px;
}

.m-timeline-item__role {
  font-family: "Spectral", Georgia, serif;
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 4px;
}

.m-timeline-item__org {
  font-size: 14.5px;
  color: #8a93a4;
  margin-bottom: 14px;
}

.m-timeline-item__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #56678a;
  max-width: 62ch;
  text-wrap: pretty;
}

.m-quote {
  margin: 0;
  padding: 36px 34px;
  border-radius: 2px;
}

.m-quote__text {
  font-family: "Spectral", Georgia, serif;
  font-size: 19px;
  line-height: 1.55;
  font-style: italic;
  margin: 0 0 24px;
}

.m-quote__author {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.m-quote--navy {
  background: #17335a;
  color: #eae3d7;
}
.m-quote--navy .m-quote__author {
  color: #e8926b;
}

.m-quote--terracotta {
  background: #c05a32;
  color: #fff;
}
.m-quote--terracotta .m-quote__author {
  color: #ffe8dc;
}

.o-hero {
  position: relative;
  background: linear-gradient(180deg, #f6f1e8 0%, #faf8f5 82%);
  border-bottom: 1px solid #e7e0d4;
  overflow: hidden;
}
.o-hero .container {
  padding-top: 64px;
  padding-bottom: 88px;
}
.o-hero::before {
  content: "";
  display: block;
  width: 200%;
  height: 100vh;
  border-radius: 100%;
  background-color: #c05a32;
  position: absolute;
  top: 60%;
  left: -10%;
  filter: blur(60px);
  opacity: 0.1;
}

.o-hero__ruled {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(23, 51, 90, 0.055) 1px, transparent 1px);
  background-size: 74px 100%;
  pointer-events: none;
}

.o-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
@media (max-width: 995px) {
  .o-hero__grid {
    grid-template-columns: 1fr;
  }
}

.o-hero__badge {
  margin-bottom: 30px;
}

.o-hero__eyebrow {
  margin-bottom: 20px;
}

.o-hero__title {
  font-weight: 400;
  font-size: clamp(38px, 5.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0 0 26px;
  color: #17335a;
}

.o-hero__title-accent {
  font-style: italic;
  color: #c05a32;
}

.o-hero__lead {
  font-size: 17.5px;
  line-height: 1.65;
  color: #56678a;
  max-width: 46ch;
  margin: 0 0 34px;
  text-wrap: pretty;
}

.o-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 34px;
}

.o-hero__meta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a93a4;
}

.o-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.o-hero__visual {
  position: relative;
}

.o-hero__frame {
  position: absolute;
  top: 22px;
  left: 22px;
  right: -22px;
  bottom: -22px;
  border: 1px solid #dcc7b6;
  border-radius: 2px;
}

.o-hero__card {
  position: relative;
  background: #fff;
  border: 1px solid #e4dbcc;
  border-radius: 2px;
  padding: 14px;
  box-shadow: 0 30px 60px -34px rgba(23, 51, 90, 0.35);
}

.o-hero__photo {
  aspect-ratio: 4/5;
  border-radius: 1px;
  width: 100%;
  object-fit: cover;
}

.o-hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px 6px 6px;
}

.o-focus {
  border-top: 1px solid #e7e0d4;
  border-bottom: 1px solid #e7e0d4;
  background: #f4efe6;
}
@media (max-width: 995px) {
  .o-focus {
    padding: 50px 0;
  }
}
.o-focus .container {
  padding-top: 0;
  padding-bottom: 0;
}

.o-focus__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
@media (max-width: 995px) {
  .o-focus__grid {
    grid-template-columns: 1fr;
  }
}

.o-focus__item {
  padding: 34px 32px;
  border-right: 1px solid #e2d9c9;
}
.o-focus__item:first-child {
  padding-left: 0;
}
.o-focus__item:last-child {
  padding-right: 0;
  border-right: 0;
}
@media (max-width: 995px) {
  .o-focus__item {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid #e2d9c9;
  }
  .o-focus__item:first-child {
    padding-left: 0;
    padding-top: 0;
  }
  .o-focus__item:last-child {
    padding-right: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }
}
@media (max-width: 767px) {
  .o-focus__item {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

.o-focus__eyebrow {
  margin-bottom: 10px;
}

.o-focus__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #56678a;
}

.o-work .container {
  padding-top: 88px;
  padding-bottom: 24px;
}

.o-work__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.o-work__title {
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 0;
  letter-spacing: -0.015em;
}

.o-work__range {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: #8a93a4;
}

.o-work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.o-work__more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.o-work__empty {
  margin: 0;
  font-size: 15px;
  color: #56678a;
}

.o-work__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 48px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}
.o-work__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid #e7e0d4;
  border-radius: 2px;
  color: #56678a;
}
.o-work__pagination .page-numbers:hover {
  border-color: #c05a32;
  color: #c05a32;
}
.o-work__pagination .page-numbers.current {
  background: #17335a;
  border-color: #17335a;
  color: #fff;
}
.o-work__pagination .page-numbers.dots {
  border: 0;
}

.o-project__band {
  background: #f4efe6;
}

.o-project__intro {
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 24px;
}
@media (max-width: 995px) {
  .o-project__intro {
    flex-direction: column;
    gap: 0;
  }
}
@media (max-width: 767px) {
  .o-project__intro {
    padding-top: 40px;
  }
}

.o-project__cover {
  flex: 0 0 50%;
  width: 50%;
}
@media (max-width: 995px) {
  .o-project__cover {
    flex: none;
    width: 100%;
    max-width: 100%;
    margin-bottom: 32px;
  }
}
@media (max-width: 767px) {
  .o-project__cover {
    margin-bottom: 24px;
  }
}
.o-project__cover img {
  display: block;
  width: 100%;
  max-height: 500px;
  border-radius: 2px;
  object-fit: cover;
}
@media (max-width: 767px) {
  .o-project__cover img {
    max-height: 280px;
  }
}

.o-project__info {
  flex: 1;
  min-width: 0;
  padding: 2em 0;
}
@media (max-width: 767px) {
  .o-project__info {
    padding: 1.5em 0;
  }
}

.o-project__header {
  padding-bottom: 40px;
}
@media (max-width: 767px) {
  .o-project__header {
    padding-bottom: 28px;
  }
}

.o-project__eyebrow {
  margin-bottom: 18px;
}

.o-project__title {
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.o-project__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #56678a;
  margin: 0 0 16px;
}

.o-project__client {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a93a4;
  margin-bottom: 16px;
}

.o-project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.o-project__content {
  padding-bottom: 24px;
}

.o-project__blocks {
  max-width: 1100px;
  counter-reset: project-block;
  padding-top: var(--container-padding-y);
  padding-bottom: 24px;
}
@media (max-width: 995px) {
  .o-project__blocks {
    padding-top: 48px;
  }
}
@media (max-width: 767px) {
  .o-project__blocks {
    padding-top: 32px;
  }
}

.o-project__block {
  display: grid;
  grid-template-columns: minmax(0, 440px) 1fr;
  gap: 48px;
  align-items: center;
  counter-increment: project-block;
  padding: 40px 0;
}
.o-project__block:not(:first-child) {
  border-top: 1px solid #e7e0d4;
}
.o-project__block:nth-child(even) {
  grid-template-columns: 1fr minmax(0, 440px);
}
.o-project__block:nth-child(even) .o-project__block-media {
  order: 2;
}
.o-project__block:nth-child(even) .o-project__block-text {
  order: 1;
}
@media (max-width: 995px) {
  .o-project__block:nth-child(even), .o-project__block:nth-child(odd) {
    grid-template-columns: 1fr;
  }
  .o-project__block {
    gap: 20px;
    padding: 28px 0;
  }
  .o-project__block .o-project__block-media,
  .o-project__block .o-project__block-text {
    order: initial;
  }
  .o-project__block:nth-child(even) .o-project__block-media {
    order: 1;
  }
  .o-project__block:nth-child(even) .o-project__block-text {
    order: 2;
  }
}
@media (max-width: 767px) {
  .o-project__block {
    gap: 16px;
    padding: 20px 0;
  }
}

.o-project__block-media {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 40px -28px rgba(23, 51, 90, 0.35);
}
.o-project__block-media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}
.o-project__block-media:hover img {
  transform: scale(1.03);
}

.o-project__block-text {
  color: #56678a;
  line-height: 1.7;
}
.o-project__block-text p:last-child {
  margin-bottom: 0;
}

.o-project__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding-bottom: 64px;
}
@media (max-width: 767px) {
  .o-project__gallery {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 40px;
  }
}
.o-project__gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.o-project__footer {
  padding-top: 24px;
  padding-bottom: 88px;
  border-top: 1px solid #e7e0d4;
}
@media (max-width: 767px) {
  .o-project__footer {
    padding-bottom: 56px;
  }
}

.o-skills .container {
  padding-top: 80px;
  padding-bottom: 24px;
}

.o-skills__title {
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 0 0 40px;
  letter-spacing: -0.015em;
}

.o-skills__columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 36px;
  border-top: 1px solid #e7e0d4;
  padding-top: 36px;
}

.o-skills__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  margin-top: 48px;
  border-top: 1px solid #e7e0d4;
  padding-top: 36px;
}

.o-skills__group-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: #8a93a4;
  margin-bottom: 16px;
}

.o-skills__meta .o-skills__group-label {
  margin-bottom: 18px;
}

.o-skills__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.o-skills__tools-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: #56678a;
}

.o-skills__education-item {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 16px;
}
.o-skills__education-item:last-child {
  margin-bottom: 0;
}

.o-skills__education-degree {
  font-weight: 600;
}

.o-skills__education-accent {
  color: #c05a32;
  font-weight: 400;
}

.o-skills__education-school {
  color: #8a93a4;
  font-size: 14px;
}

.o-skills__hobbies {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #56678a;
}

.o-experience .container {
  padding-top: 80px;
  padding-bottom: 24px;
}

.o-experience__title {
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 0 0 44px;
  letter-spacing: -0.015em;
}

.o-experience__list {
  display: grid;
  gap: 0;
}

.o-recommendations .container {
  padding-top: 80px;
  padding-bottom: 24px;
}

.o-recommendations__label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: #8a93a4;
  margin-bottom: 28px;
}

.o-recommendations__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.o-cta {
  margin: 88px 0 0;
}

.o-cta__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: center;
}

.o-cta__eyebrow {
  margin-bottom: 20px;
}

.o-cta__title {
  font-weight: 300;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.02em;
  color: #fff;
}

.o-cta__lead {
  line-height: 1.7;
  margin: 0 0 30px;
}

.o-cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.o-cta--navy {
  background: #17335a;
  color: #f3ede3;
}
.o-cta--navy .container {
  padding-top: 96px;
  padding-bottom: 96px;
}
.o-cta--navy .o-cta__title {
  font-size: clamp(30px, 4vw, 50px);
}
.o-cta--navy .o-cta__lead {
  font-size: 16.5px;
  color: #c3cddd;
  max-width: 42ch;
}

.o-cta--terracotta {
  background: #c05a32;
  color: #fff;
  text-align: center;
}
.o-cta--terracotta .container {
  padding-top: 96px;
  padding-bottom: 96px;
}
.o-cta--terracotta .o-cta__eyebrow {
  color: #ffe0d2;
  margin-bottom: 22px;
}
.o-cta--terracotta .o-cta__title {
  font-size: clamp(30px, 4.4vw, 54px);
  margin: 0 auto 26px;
  max-width: 22ch;
}
.o-cta--terracotta .o-cta__lead {
  font-size: 16.5px;
  color: #ffe8dc;
  margin: 0 auto 34px;
  max-width: 48ch;
}
.o-cta--terracotta .o-cta__actions {
  justify-content: center;
}

.o-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(23, 51, 90, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.o-lightbox.is-active {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 767px) {
  .o-lightbox {
    padding: 20px;
  }
}

.o-lightbox__stage {
  max-width: min(1200px, 100%);
  max-height: 100%;
}

.o-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.o-lightbox__close,
.o-lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #faf8f5;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.o-lightbox__close:hover,
.o-lightbox__nav:hover {
  opacity: 1;
}

.o-lightbox__close {
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 32px;
  line-height: 1;
}

.o-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 40px;
}
.o-lightbox__nav--prev {
  left: 8px;
}
.o-lightbox__nav--next {
  right: 8px;
}
@media (max-width: 767px) {
  .o-lightbox__nav {
    width: 44px;
    height: 44px;
    font-size: 30px;
  }
}

.u-lightbox-open {
  overflow: hidden;
}

.t-header {
  background: #faf8f5;
  position: sticky;
  top: 0;
  z-index: 99;
}

.t-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px var(--container-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.t-header__logo {
  font-family: "Spectral", Georgia, serif;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: #17335a;
}
.t-header__logo:hover {
  color: #c05a32;
}

.t-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
@media (max-width: 767px) {
  .t-header__toggle {
    display: flex;
  }
}

.t-header__toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: #17335a;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.t-header--nav-open .t-header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.t-header--nav-open .t-header__toggle-bar:nth-child(2) {
  opacity: 0;
}
.t-header--nav-open .t-header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.t-header__nav {
  display: flex;
  gap: 28px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .t-header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #faf8f5;
    border-bottom: 1px solid #e7e0d4;
    box-shadow: 0 12px 24px -18px rgba(23, 51, 90, 0.35);
    padding: 8px var(--container-padding-x) 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }
}

@media (max-width: 767px) {
  .t-header--nav-open .t-header__nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.t-header__nav-link {
  position: relative;
  color: #56678a;
}
.t-header__nav-link:hover {
  color: #17335a;
}
.t-header__nav-link.is-active {
  color: #17335a;
}
.t-header__nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: #c05a32;
}
@media (max-width: 767px) {
  .t-header__nav-link.is-active::after {
    display: none;
  }
}
@media (max-width: 767px) {
  .t-header__nav-link {
    padding: 10px 0;
    border-top: 1px solid #e7e0d4;
  }
  .t-header__nav-link:first-child {
    border-top: 0;
  }
  .t-header__nav-link.is-active {
    font-weight: 600;
  }
}

.t-footer {
  background: #f4efe6;
  border-top: 1px solid #e7e0d4;
  min-height: 50vh;
}

.t-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px var(--container-padding-x) 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.t-footer__brand-name {
  font-family: "Spectral", Georgia, serif;
  font-size: 22px;
  margin-bottom: 10px;
  color: #17335a;
}

.t-footer__brand-tagline {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: #56678a;
}

.t-footer__group-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: #8a93a4;
  margin-bottom: 16px;
}

.t-footer__links {
  display: grid;
  gap: 10px;
  font-size: 14.5px;
}

.t-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #17335a;
}
.t-footer__link svg {
  flex: none;
}
.t-footer__link:hover {
  color: #c05a32;
}

.t-footer__bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px var(--container-padding-x) 40px;
  font-size: 12.5px;
  color: #8a93a4;
  border-top: 1px solid #e2d9c9;
}

/*# sourceMappingURL=styles.css.map */
