@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("instrument-serif-regular-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("instrument-serif-regular-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #1c1b19;
  --paper: #f5f3ef;
  --muted: #55534f;
  --line: #d6d1c9;
  --on-dark-muted: #d6d1c9;
  --white: #fff;
  --dark-line: #5e5b55;
  --field-line: #908b82;
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.frame { width: min(100% - 96px, 1200px); margin-inline: auto; }
.section-space { padding-block: clamp(64px, 9vw, 132px); }
.skip {
  position: absolute;
  z-index: 6;
  inset: 12px auto auto 12px;
  padding: 12px 18px;
  transform: translateY(-150%);
  background: #fff;
}
.skip:focus { transform: translateY(0); }

.masthead {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  background: rgb(28 27 25 / 92%);
  color: var(--white);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .masthead {
    background: rgb(28 27 25 / 66%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}
.masthead-inner, .navigation, .languages, .wordmark {
  display: flex;
  align-items: center;
}
.masthead-inner { min-height: 86px; justify-content: space-between; gap: 12px 25px; }
.wordmark { width: 120px; flex-shrink: 0; }
.menu-toggle { display: none; }
.navigation { gap: clamp(14px, 3vw, 40px); }
.navigation a { font-size: .875rem; font-weight: 500; text-decoration: none; }
.navigation a:hover { text-decoration: underline; text-underline-offset: 4px; }
.languages { gap: 7px; border-left: 1px solid var(--dark-line); padding-left: clamp(14px, 3vw, 32px); }
.languages a, .languages span { color: var(--paper); font-size: .75rem; }
.languages a[aria-current] { color: var(--white); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.hero {
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  min-height: clamp(550px, 54vw, 760px);
  background: var(--ink);
  color: var(--white);
}
.hero-video, .hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-video {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, rgb(28 27 25 / 90%), rgb(28 27 25 / 67%) 46%, rgb(28 27 25 / 5%) 92%),
              linear-gradient(0deg, rgb(28 27 25 / 34%), transparent 42%);
}
.hero-content { padding-block: 120px 86px; }
.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .16em; line-height: 1.45; text-transform: uppercase; }
h1, h2, .year { font-family: var(--display); font-weight: 400; letter-spacing: -.025em; line-height: 1; }
h1 { font-size: clamp(4.75rem, 6.1vw, 5.5rem); line-height: 1.02; }
h1 em {
  display: inline-block;
  margin-top: .06em;
  color: var(--white);
  font-size: .85em;
  font-weight: 400;
  letter-spacing: inherit;
}
.hero-description { max-width: 42ch; margin-block: 28px 34px; color: var(--white); font-size: clamp(1.05rem, 1.8vw, 1.24rem); line-height: 1.55; }
.pill { display: inline-flex; align-items: center; gap: 26px; padding: 13px 19px; border: 1px solid transparent; border-radius: 2px; font-family: inherit; font-size: .88rem; font-weight: 500; line-height: 1.3; text-decoration: none; width: fit-content; cursor: pointer; }
.pill span { font-size: 1.15rem; line-height: 1; }
.pill-light { border-color: var(--line); color: var(--white); }
.pill-light:hover { background: rgb(255 255 255 / 12%); border-color: var(--white); }

h2 { font-size: clamp(3.5rem, 4.45vw, 4rem); }
.section-head { margin-bottom: clamp(25px, 5vw, 56px); }
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 38px); }
.project-art {
  display: grid;
  align-items: end;
  aspect-ratio: 1.45;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  padding: clamp(22px, 3.5vw, 46px);
  color: #fff;
  background: var(--ink);
}
.project-art .project-image, .project-art::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.project-art .project-image { object-fit: cover; }
.project-art::after { content: ""; background: linear-gradient(27deg, rgb(28 27 25 / 88%), rgb(28 27 25 / 28%) 60%, transparent); }
.fitness .project-image { filter: grayscale(1); }
.fitness-logo { width: clamp(96px, 12vw, 156px); }
.yardo { place-items: start; background: var(--line); }
.yardo::after { background: radial-gradient(ellipse at top left, rgb(245 243 239 / 55%), transparent 58%); }
.yardo .project-image { filter: blur(4px); object-position: center 68%; transform: scale(1.12); transform-origin: 50% 72%; }
.yardo-logo { width: clamp(144px, 16vw, 213px); }
.project-details { display: grid; gap: 15px; margin-top: 15px; line-height: 1.55; }
.project-details > p:first-child { max-width: 42ch; }
.text-link { width: fit-content; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2px; }
.text-link span { margin-left: 3px; }
.project-status { color: var(--muted); font-size: .78rem; letter-spacing: .13em; font-weight: 600; text-transform: uppercase; }

.company { border-block: 1px solid var(--line); }
.company-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 46px clamp(30px, 10vw, 155px); align-items: end; }
.company .eyebrow { color: var(--muted); }
.company-description { max-width: 46ch; margin-top: 22px; font-size: clamp(1.05rem, 2vw, 1.24rem); line-height: 1.6; }
.founded { border-left: 1px solid var(--line); padding-left: clamp(20px, 4vw, 48px); }
.year { margin-top: 9px; font-size: clamp(4.3rem, 11vw, 9.5rem); }
.activities { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; }
.activities ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 24px; padding: 0; margin: 12px 0 0; list-style: none; }
.activities li { font-size: clamp(1.06rem, 2.4vw, 1.78rem); font-weight: 600; }

.contact-inner {
  display: grid;
  max-width: 1030px;
  gap: clamp(24px, 4vw, 44px);
}
.contact-intro { text-align: center; padding-bottom: clamp(2px, 1vw, 16px); }
.contact h2 { margin: 0; text-wrap: balance; }
.contact-intro p { max-width: 60ch; margin: 18px auto 0; color: var(--muted); font-size: 1.07rem; line-height: 1.65; text-wrap: pretty; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.contact-card, .contact-form {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #faf8f4;
}
.contact-card { padding: clamp(16px, 2.4vw, 28px); overflow-wrap: anywhere; }
.contact-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 600;
}
.contact-card svg { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-card p, .contact-card a { font-size: .92rem; line-height: 1.55; }
.contact-card p { color: var(--muted); }
.contact-card p + p { margin-top: 6px; }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
  padding: clamp(18px, 3vw, 36px);
}
.contact-form-title { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -.025em; }
.contact-form label { display: grid; gap: 7px; font-size: .88rem; font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--field-line);
  border-radius: 4px;
  padding: 10px 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}
.contact-form select:invalid { color: var(--muted); }
.contact-form select:invalid option:not([disabled]) { color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form :is(input, select, textarea):focus-visible { outline-offset: 2px; }
.form-wide { grid-column: 1 / -1; }
.form-privacy { color: var(--muted); font-size: .83rem; line-height: 1.55; }
.form-privacy summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.form-privacy p { margin-top: 10px; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; }
.contact-submit { justify-content: space-between; min-height: 48px; min-width: 156px; background: var(--ink); color: var(--white); }
.contact-submit:focus-visible { outline-color: var(--ink); }
.contact-submit:hover { background: #34322e; }
.form-actions button:disabled { opacity: .65; cursor: wait; }
.form-status { color: var(--ink); font-size: .85rem; line-height: 1.5; }
.footer { padding-block: clamp(24px, 3.2vw, 40px); background: var(--ink); color: var(--on-dark-muted); font-size: .875rem; }
.footer > .frame { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px 28px; }
.footer-logo { grid-row: span 2; width: clamp(160px, 14vw, 195px); }
.footer-details { font-style: normal; line-height: 1.55; text-align: right; }
.footer-details strong { color: var(--white); font-weight: 600; }
.footer-preferences { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 20px; }
.footer-control { padding: 2px 0; border: 0; background: none; color: var(--white); font: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-notice {
  position: fixed;
  z-index: 4;
  inset: auto max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) auto;
  width: min(390px, calc(100% - 32px));
  padding: clamp(16px, 4vw, 24px);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 8px 36px rgb(28 27 25 / 22%);
}
.cookie-notice h2 { font-size: 1.85rem; }
.cookie-notice p { margin-block: 8px 14px; color: var(--muted); font-size: .83rem; line-height: 1.5; }
.cookie-dismiss { padding: 8px 14px; background: var(--ink); color: var(--white); }
.cookie-dismiss:focus-visible { outline-color: var(--ink); }

@media (max-width: 760px) {
  .frame { width: calc(100% - 42px); }
  .masthead-inner { position: relative; min-height: 72px; flex-wrap: wrap; justify-content: center; }
  .wordmark { width: 104px; }
  .menu-toggle:not([hidden]) {
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--dark-line);
    border-radius: 4px;
    background: transparent;
    color: var(--white);
    cursor: pointer;
  }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    width: 18px;
    height: 1px;
    background: currentColor;
  }
  .menu-toggle span { position: relative; }
  .menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; inset-inline-start: 0; }
  .menu-toggle span::before { top: -5px; }
  .menu-toggle span::after { top: 5px; }
  .menu-toggle[aria-expanded="true"] span { background: transparent; }
  .menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
  .navigation { width: 100%; justify-content: center; flex-wrap: wrap; padding-bottom: 12px; }
  .menu-toggle:not([hidden]) + .navigation {
    position: absolute;
    inset: 100% -21px auto;
    width: auto;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 0 21px 12px;
    background: var(--ink);
    border-block: 1px solid var(--dark-line);
  }
  .menu-toggle[aria-expanded="false"]:not([hidden]) + .navigation { display: none; }
  .menu-toggle:not([hidden]) + .navigation > a { display: grid; align-items: center; min-height: 46px; border-bottom: 1px solid var(--dark-line); }
  .navigation .languages { border: 0; padding: 0; }
  .languages a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  .hero { min-height: 540px; align-items: end; }
  .hero-video { object-position: 55% center; }
  .hero::after { background: linear-gradient(0deg, rgb(28 27 25 / 96%), rgb(28 27 25 / 75%) 52%, rgb(28 27 25 / 19%)); }
  .hero-content { padding-block: 110px 92px; }
  .hero h1 { font-size: clamp(3rem, 8vw, 3.5rem); }
  h2 { font-size: clamp(2.5rem, 7vw, 2.875rem); }
  .projects { grid-template-columns: 1fr; gap: 36px; }
  .company-grid { grid-template-columns: 1fr; gap: 33px; }
  .company .year { font-size: clamp(4.5rem, 12vw, 6rem); }
  .footer { padding-block: 22px; font-size: .75rem; }
  .footer > .frame { gap: 10px 16px; }
  .footer-logo { grid-row: auto; width: clamp(100px, 30vw, 145px); }
  .footer-preferences { grid-column: 1 / -1; gap: 8px 16px; }
  .footer-control { min-height: 32px; }
  .cookie-notice {
    inset: auto auto max(12px, env(safe-area-inset-bottom)) 50%;
    transform: translateX(-50%);
    width: min(340px, calc(100% - 28px));
    max-height: calc(100dvh - 24px);
    overflow: auto;
    padding: 14px 16px;
    border-radius: 8px;
  }
  .cookie-notice h2 { font-size: 1.6rem; }
  .cookie-notice p { margin-block: 5px 9px; font-size: .78rem; }
  .cookie-dismiss { min-height: 40px; }
}

@media (max-width: 620px) {
  .contact-cards, .contact-form { grid-template-columns: 1fr; }
  .contact-card h3 { margin-bottom: 6px; }
}

@media (max-width: 470px) {
  .hero { min-height: 490px; }
  .hero h1 { font-size: clamp(2.625rem, 13.34vw, 3rem); }
  .hero-content { padding-block: 110px 86px; }
  .hero-description { margin-block: 20px 25px; }
  .activities ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
