@layer reset, base, layout, components, utilities;

@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body,
  h1,
  h2,
  h3,
  p,
  figure,
  blockquote {
    margin: 0;
  }

  img,
  iframe,
  picture {
    display: block;
    max-width: 100%;
  }

  button,
  input,
  textarea {
    font: inherit;
  }

  a {
    color: inherit;
  }
}

@layer base {
  :root {
    --orange: #f36f21;
    --orange-deep: #d94e0c;
    --charcoal: #171716;
    --ink: #242321;
    --paper: #f3f0e9;
    --cream: #fffaf2;
    --white: #ffffff;
    --line: rgba(23, 23, 22, 0.17);
    --muted: #6e6b64;
    --max: 1440px;
    --gutter: clamp(1.25rem, 4.5vw, 5rem);
    --display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    --body: "Helvetica Neue", Arial, sans-serif;
  }

  body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 1rem;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
  }

  ::selection {
    background: var(--orange);
    color: var(--charcoal);
  }

  :focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
  }
}

@layer layout {
  .section {
    width: min(100%, var(--max));
    margin-inline: auto;
    padding: clamp(5rem, 10vw, 9rem) var(--gutter);
  }

  .section--dark,
  .section--orange {
    width: 100%;
    max-width: none;
  }

  .section--dark > *,
  .section--orange > * {
    width: min(100%, calc(var(--max) - (2 * var(--gutter))));
    margin-inline: auto;
  }

  .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.6fr);
    align-items: end;
    gap: clamp(2rem, 8vw, 9rem);
    margin-bottom: clamp(3rem, 7vw, 6rem);
  }

  .section-heading h2,
  .about h2,
  .contact h2 {
    max-width: 13ch;
    font-family: var(--display);
    font-size: clamp(2.7rem, 6.2vw, 6.8rem);
    font-stretch: condensed;
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 0.92;
    text-transform: uppercase;
  }

  .section-heading > p {
    max-width: 34rem;
    color: var(--muted);
    font-size: clamp(1rem, 1.3vw, 1.2rem);
  }
}

@layer components {
  .skip-link {
    position: fixed;
    z-index: 100;
    top: 1rem;
    left: 1rem;
    padding: 0.75rem 1rem;
    transform: translateY(-160%);
    background: var(--charcoal);
    color: var(--white);
    text-decoration: none;
  }

  .skip-link:focus {
    transform: translateY(0);
  }

  .site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    width: min(calc(100% - 2rem), calc(var(--max) - 2rem));
    min-height: 4.8rem;
    margin: 1rem auto 0;
    padding: 0.65rem 0.75rem 0.65rem 1rem;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 0.5rem;
    background: rgba(255, 250, 242, 0.88);
    box-shadow: 0 0.7rem 2.5rem rgba(23, 23, 22, 0.08);
    backdrop-filter: blur(18px);
    transition: min-height 180ms ease, box-shadow 180ms ease;
  }

  .site-header.is-scrolled {
    min-height: 4.25rem;
    box-shadow: 0 0.8rem 2.5rem rgba(23, 23, 22, 0.13);
  }

  .brand {
    display: inline-flex;
    width: clamp(9.8rem, 15vw, 13.5rem);
    height: 3rem;
    align-items: center;
    overflow: hidden;
    text-decoration: none;
  }

  .brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    mix-blend-mode: multiply;
  }

  .main-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.2vw, 2.4rem);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .main-nav a {
    position: relative;
    text-decoration: none;
  }

  .main-nav a:not(.nav-cta)::after {
    position: absolute;
    right: 0;
    bottom: -0.3rem;
    left: 0;
    height: 2px;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    background: var(--orange);
    transition: transform 180ms ease;
  }

  .main-nav a:hover::after,
  .main-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .nav-cta {
    padding: 0.82rem 1.15rem;
    border-radius: 0.25rem;
    background: var(--orange);
    color: var(--charcoal);
  }

  .menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--charcoal);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .menu-toggle__lines,
  .menu-toggle__lines::before,
  .menu-toggle__lines::after {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: currentColor;
  }

  .menu-toggle__lines {
    position: relative;
    margin-left: 0.65rem;
  }

  .menu-toggle__lines::before,
  .menu-toggle__lines::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .menu-toggle__lines::before { top: -0.4rem; }
  .menu-toggle__lines::after { top: 0.4rem; }

  .hero {
    display: grid;
    min-height: 100svh;
    padding-top: clamp(9rem, 16vh, 12rem);
    padding-bottom: 2rem;
    grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 1.05fr);
    grid-template-rows: 1fr auto;
    gap: clamp(2rem, 5vw, 6rem);
    align-items: center;
  }

  .hero__copy {
    position: relative;
    z-index: 2;
    min-width: 0;
  }

  .hero__visual,
  .hero__foot,
  .section-heading > *,
  .about > *,
  .contact > * { min-width: 0; }

  .eyebrow {
    display: flex;
    margin-bottom: 1.4rem;
    align-items: center;
    gap: 0.7rem;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .eyebrow span {
    width: 2.1rem;
    height: 2px;
    background: var(--orange);
  }

  .hero h1 {
    max-width: 7.5ch;
    font-family: var(--display);
    font-size: clamp(4.7rem, 10vw, 10.5rem);
    font-stretch: condensed;
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: 0.78;
    text-transform: uppercase;
  }

  .hero h1 em {
    display: block;
    color: var(--orange);
    font-style: normal;
  }

  .hero__lead {
    max-width: 35rem;
    margin-top: clamp(2rem, 4vw, 3.25rem);
    font-size: clamp(1.08rem, 1.7vw, 1.45rem);
    line-height: 1.45;
  }

  .hero__actions {
    display: flex;
    margin-top: 2rem;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
  }

  .button {
    display: inline-flex;
    min-height: 3.4rem;
    padding: 0.9rem 1.15rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    border: 0;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 0.83rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
  }

  .button:hover { transform: translateY(-2px); }
  .button--primary { min-width: 13rem; background: var(--orange); color: var(--charcoal); }
  .button--primary:hover { background: var(--orange-deep); color: var(--white); }
  .button--text { padding-inline: 0; }
  .button--dark { width: 100%; background: var(--charcoal); color: var(--white); }

  .hero__visual {
    position: relative;
    min-height: clamp(32rem, 62vw, 48rem);
  }

  .hero__visual::before {
    position: absolute;
    z-index: 0;
    top: 3%;
    right: -8%;
    width: 88%;
    aspect-ratio: 1.65;
    border: clamp(1rem, 2.1vw, 2.2rem) solid var(--orange);
    border-radius: 50%;
    content: "";
    transform: rotate(-18deg);
  }

  .hero__image {
    position: absolute;
    overflow: hidden;
    background: #d8d2c7;
    box-shadow: 0 2rem 5rem rgba(23, 23, 22, 0.18);
  }

  .hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero__image picture,
  .work-card__image picture {
    width: 100%;
    height: 100%;
  }

  .hero__image--main {
    z-index: 1;
    top: 10%;
    right: 3%;
    width: 77%;
    height: 75%;
    transform: rotate(2.5deg);
  }

  .hero__image--small {
    z-index: 2;
    bottom: 2%;
    left: 2%;
    width: 43%;
    aspect-ratio: 1;
    border: 0.55rem solid var(--paper);
    transform: rotate(-5deg);
  }

  .hero__stamp {
    position: absolute;
    z-index: 3;
    top: 2%;
    left: 0;
    display: grid;
    width: 8.5rem;
    aspect-ratio: 1;
    place-content: center;
    border-radius: 50%;
    background: var(--charcoal);
    color: var(--white);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
    transform: rotate(-10deg);
  }

  .hero__stamp span { display: block; }

  .hero__foot {
    display: flex;
    grid-column: 1 / -1;
    padding-top: 1.5rem;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .statement {
    display: grid;
    grid-template-columns: 0.25fr 1fr;
    gap: 2rem;
    align-items: start;
    border-top: 1px solid var(--line);
  }

  .statement__index {
    color: var(--orange);
    font-family: var(--display);
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
  }

  .statement h2 {
    max-width: 21ch;
    font-family: var(--display);
    font-size: clamp(2.35rem, 5vw, 5.4rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1;
  }

  .statement h2 strong {
    color: var(--orange);
    font-weight: 800;
  }

  .services {
    background: var(--charcoal);
    color: var(--white);
  }

  .eyebrow--light { color: #aaa69e; }
  .services .section-heading > p { color: #aaa69e; }

  .service-list {
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }

  .service-item {
    display: grid;
    padding: clamp(1.65rem, 3vw, 2.8rem) 0;
    grid-template-columns: 5rem minmax(0, 1fr) auto;
    align-items: start;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
    transition: padding 200ms ease, color 200ms ease;
  }

  .service-item:hover {
    padding-right: 1rem;
    padding-left: 1rem;
    color: var(--orange);
  }

  .service-item__number {
    color: #77746f;
    font-size: 0.75rem;
    font-weight: 800;
  }

  .service-item h3 {
    font-family: var(--display);
    font-size: clamp(1.7rem, 3.5vw, 3.9rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
    text-transform: uppercase;
  }

  .service-item div p {
    max-width: 44rem;
    margin-top: 0.8rem;
    color: #aaa69e;
  }

  .service-item > span { font-size: 1.5rem; }

  .section-heading--work {
    align-items: end;
  }

  .work-filters {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .filter {
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .filter.is-active,
  .filter:hover {
    border-color: var(--charcoal);
    background: var(--charcoal);
    color: var(--white);
  }

  .work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .work-card {
    position: relative;
    display: flex;
    min-height: 18rem;
    padding: clamp(1.3rem, 2vw, 2rem);
    flex-direction: column;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.42);
    transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
  }

  .work-card:hover {
    z-index: 1;
    border-color: var(--orange);
    background: var(--white);
    transform: translateY(-0.35rem);
  }

  .work-card[hidden] { display: none; }

  .work-card--feature {
    min-height: 34rem;
    padding: 0;
    grid-column: span 2;
    grid-row: span 2;
    background: var(--charcoal);
    color: var(--white);
  }

  .work-card__image {
    min-height: 24rem;
    flex: 1;
    overflow: hidden;
  }

  .work-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.72) contrast(1.04);
    transition: transform 500ms ease, filter 500ms ease;
  }

  .work-card--feature:hover img { transform: scale(1.035); filter: saturate(1); }

  .work-card__body {
    display: grid;
    padding: 1.5rem;
    grid-template-columns: 1fr auto;
    gap: 0.4rem 1rem;
    align-items: end;
  }

  .work-card__body p { grid-column: 1 / -1; color: #aaa69e; font-size: 0.72rem; text-transform: uppercase; }
  .work-card__body h3 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 3.4rem); line-height: 1; text-transform: uppercase; }
  .work-card__body span { color: var(--orange); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }
  .work-card__tag { color: var(--orange-deep); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
  .work-card > h3 { max-width: 10ch; margin-top: auto; font-family: var(--display); font-size: clamp(1.8rem, 2.7vw, 3.1rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; text-transform: uppercase; }
  .work-card > h3 + p { max-width: 25rem; margin-top: 1rem; color: var(--muted); }
  .work-card__arrow { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 1.3rem; }

  .archive {
    margin-top: 2rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .archive summary {
    display: flex;
    padding: 1.4rem 0;
    justify-content: space-between;
    cursor: pointer;
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    list-style: none;
    text-transform: uppercase;
  }

  .archive summary::-webkit-details-marker { display: none; }
  .archive[open] summary span { transform: rotate(45deg); }
  .archive summary span { transition: transform 180ms ease; }

  .archive__grid {
    display: grid;
    padding: 0 0 2rem;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem 1.5rem;
    color: var(--muted);
  }

  .about {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
    gap: clamp(3rem, 8vw, 9rem);
    align-items: center;
  }

  .video-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--charcoal);
    box-shadow: 1.2rem 1.2rem 0 var(--orange);
  }

  .video-frame iframe,
  .video-frame > img { width: 100%; height: 100%; border: 0; }
  .video-frame > img { object-fit: cover; filter: brightness(0.58); }

  .video-play {
    position: absolute;
    inset: 50% auto auto 50%;
    display: inline-flex;
    padding: 0;
    transform: translate(-50%, -50%);
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    border: 0;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .video-play__icon {
    display: grid;
    width: 4.8rem;
    aspect-ratio: 1;
    place-items: center;
    padding-left: 0.25rem;
    border-radius: 50%;
    background: var(--orange);
    color: var(--charcoal);
    font-size: 1.3rem;
    transition: transform 180ms ease, background 180ms ease;
  }

  .video-play:hover .video-play__icon { transform: scale(1.08); background: var(--white); }
  .about__media > p { margin-top: 1.4rem; color: var(--muted); font-size: 0.74rem; text-transform: uppercase; }
  .about h2 { max-width: 9ch; }
  .about__lead { margin: 2rem 0 1.2rem; font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.4; }
  .about__copy > p:not(.eyebrow):not(.about__lead) { max-width: 35rem; color: var(--muted); }
  .about blockquote { margin-top: 2.5rem; padding-left: 1.25rem; border-left: 0.3rem solid var(--orange); font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }

  .resources {
    border-top: 1px solid var(--line);
  }

  .resource-list { border-top: 1px solid var(--line); }

  .resource-list a {
    display: grid;
    padding: 1.5rem 0;
    grid-template-columns: 5rem 1fr auto;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    transition: padding 180ms ease, color 180ms ease;
  }

  .resource-list a:hover { padding-inline: 1rem; color: var(--orange-deep); }
  .resource-list__type { color: var(--orange-deep); font-size: 0.7rem; font-weight: 900; }
  .resource-list strong, .resource-list small { display: block; }
  .resource-list strong { font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.8rem); text-transform: uppercase; }
  .resource-list small { margin-top: 0.2rem; color: var(--muted); }

  .contact {
    display: grid;
    background: var(--orange);
    grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr);
    gap: clamp(3rem, 8vw, 10rem);
  }

  .contact h2 { max-width: 9ch; }
  .eyebrow--dark { color: rgba(23, 23, 22, 0.68); }
  .eyebrow--dark span { background: var(--charcoal); }
  .contact__intro > p:not(.eyebrow) { max-width: 33rem; margin-top: 2rem; font-size: 1.15rem; }
  .contact__direct { display: flex; margin-top: 3rem; flex-direction: column; align-items: flex-start; gap: 0.55rem; font-weight: 750; }
  .contact__direct a { text-underline-offset: 0.25rem; }

  .contact-form {
    display: grid;
    padding: clamp(1.5rem, 3.5vw, 3rem);
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    align-self: center;
    background: var(--cream);
    box-shadow: 1rem 1rem 0 rgba(23, 23, 22, 0.14);
  }

  .field { display: flex; flex-direction: column; gap: 0.35rem; }
  .field--full { grid-column: 1 / -1; }
  .field label { font-size: 0.72rem; font-weight: 850; letter-spacing: 0.06em; text-transform: uppercase; }
  .field label span { color: var(--muted); font-weight: 500; }
  .field input, .field textarea { width: 100%; padding: 0.8rem 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); outline: none; }
  .field input:focus, .field textarea:focus { border-bottom-color: var(--orange); box-shadow: 0 2px 0 var(--orange); }
  .form-note { color: var(--muted); font-size: 0.74rem; }
  .form-note a { text-decoration: underline; text-underline-offset: 0.2em; }
  .form-status { min-height: 1.4rem; color: var(--orange-deep); font-size: 0.82rem; font-weight: 750; overflow-wrap: anywhere; }
  .form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
  .contact-form button:disabled { opacity: 0.6; cursor: wait; }

  .privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .privacy-check input { width: 1rem; height: 1rem; margin-top: 0.15rem; accent-color: var(--orange-deep); }
  .privacy-check a { color: var(--ink); text-underline-offset: 0.2rem; }

  .site-footer {
    display: grid;
    width: 100%;
    min-height: 13rem;
    padding: 3rem var(--gutter);
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem;
    background: var(--charcoal);
    color: var(--white);
  }

  .brand--footer {
    width: clamp(11rem, 20vw, 18rem);
    padding: 0.65rem 0.8rem;
    border-radius: 0.35rem;
    background: var(--white);
  }

  .site-footer__links { display: flex; max-width: 48rem; justify-content: flex-end; flex-wrap: wrap; gap: 0.65rem 1.2rem; }
  .site-footer__links a { font-size: 0.78rem; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 0.3rem; text-transform: uppercase; }
  .site-footer > p { grid-column: 1 / -1; color: #8f8c86; font-size: 0.72rem; }

  .js .reveal {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 700ms ease, transform 700ms ease;
  }

  .js .reveal--delay { transition-delay: 120ms; }
  .js .reveal.is-visible { opacity: 1; transform: translateY(0); }

  .legal-shell { min-height: 100vh; background: var(--paper); }

  .legal-header {
    display: flex;
    width: min(100%, var(--max));
    margin-inline: auto;
    padding: 1.2rem var(--gutter);
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .legal-header .brand { width: clamp(10rem, 18vw, 15rem); }
  .legal-header > a:last-child { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.05em; text-underline-offset: 0.25rem; text-transform: uppercase; }

  .legal-hero {
    width: min(100%, var(--max));
    margin-inline: auto;
    padding: clamp(5rem, 10vw, 9rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  }

  .legal-hero h1 {
    max-width: 11ch;
    margin-top: 1.2rem;
    font-family: var(--display);
    font-size: clamp(3.8rem, 10vw, 9rem);
    font-weight: 850;
    letter-spacing: -0.07em;
    line-height: 0.86;
    text-transform: uppercase;
  }

  .legal-content {
    width: min(100% - (2 * var(--gutter)), 58rem);
    margin: 0 auto clamp(5rem, 10vw, 9rem);
    padding: clamp(2rem, 5vw, 4.5rem);
    background: var(--cream);
    box-shadow: 1rem 1rem 0 var(--orange);
  }

  .legal-content h2 { margin: 2.6rem 0 0.8rem; font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1; text-transform: uppercase; }
  .legal-content h2:first-child { margin-top: 0; }
  .legal-content p, .legal-content ul, .legal-content ol { margin-top: 0.8rem; }
  .legal-content ul, .legal-content ol { padding-left: 1.2rem; }
  .legal-content li + li { margin-top: 0.4rem; }
  .legal-content a { color: var(--orange-deep); font-weight: 700; text-underline-offset: 0.2rem; }
  .legal-content code { padding: 0.15em 0.35em; background: rgba(23, 23, 22, 0.08); font-size: 0.9em; overflow-wrap: anywhere; }
  .legal-notice { margin-bottom: 2.6rem; padding: 1.25rem 1.4rem; border-left: 0.35rem solid var(--orange); background: rgba(243, 111, 33, 0.09); }
  .legal-notice h2 { margin: 0 0 0.65rem; font-size: clamp(1.45rem, 3vw, 2rem); }
  .legal-notice p { margin-top: 0.55rem; }
  .legal-updated { color: var(--muted); font-size: 0.78rem; }
}

@layer utilities {
  @media (max-width: 980px) {
    .site-header { width: calc(100% - 1.25rem); margin-top: 0.6rem; }
    .menu-toggle { display: inline-flex; align-items: center; }
    .main-nav {
      position: absolute;
      top: calc(100% + 0.5rem);
      right: 0;
      left: 0;
      display: none;
      padding: 1rem;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      border: 1px solid rgba(255, 255, 255, 0.58);
      border-radius: 0.5rem;
      background: var(--cream);
      box-shadow: 0 1rem 2.5rem rgba(23, 23, 22, 0.14);
    }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 0.9rem 0.5rem; }
    .nav-cta { margin-top: 0.5rem; text-align: center; }
    .hero { min-height: auto; grid-template-columns: 1fr; grid-template-rows: auto; }
    .hero h1 { max-width: 8.2ch; }
    .hero__visual { min-height: 38rem; }
    .hero__foot { grid-column: auto; }
    .section-heading { grid-template-columns: 1fr; align-items: start; gap: 1.5rem; }
    .work-filters { justify-content: flex-start; }
    .work-grid { grid-template-columns: repeat(2, 1fr); }
    .work-card--feature { grid-column: span 2; }
    .about, .contact { grid-template-columns: 1fr; }
    .contact h2 { max-width: 12ch; }
  }

  @media (max-width: 650px) {
    .section { padding-block: 4.75rem; }
    .brand { width: 9.5rem; }
    .hero { padding-top: 8.5rem; gap: 1rem; }
    .hero h1 { font-size: clamp(3.6rem, 17.5vw, 6.5rem); }
    .hero__lead { font-size: 1.05rem; }
    .hero__visual { min-height: 29rem; }
    .hero__image--main { right: 0; width: 86%; height: 72%; }
    .hero__image--small { left: 0; width: 47%; }
    .hero__stamp { width: 6.8rem; }
    .hero__foot { align-items: flex-start; flex-direction: column; gap: 0.45rem; }
    .statement { grid-template-columns: 1fr; }
    .statement__index { font-size: 3rem; }
    .service-item { grid-template-columns: 2.5rem minmax(0, 1fr) auto; }
    .service-item div p { font-size: 0.92rem; }
    .work-grid { grid-template-columns: 1fr; }
    .work-card--feature { min-height: 30rem; grid-column: auto; grid-row: auto; }
    .work-card__image { min-height: 20rem; }
    .archive__grid { grid-template-columns: repeat(2, 1fr); }
    .contact-form { grid-template-columns: 1fr; }
    .field--full { grid-column: auto; }
    .site-footer { grid-template-columns: 1fr; align-items: start; }
    .site-footer__links { justify-content: flex-start; }
    .site-footer > p { grid-column: auto; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
    .js .reveal { opacity: 1; transform: none; }
  }
}
