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

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-text-size-adjust: 100%; }
  body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
  img, picture, svg, video { display: block; max-width: 100%; }
  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
  a { color: inherit; text-decoration: none; }
  ul { list-style: none; padding: 0; }
}

@layer tokens {
  :root {
    --brand:        #f78e1e;
    --brand-dark:   #c96c0a;
    --brand-light:  #ffb866;
    --brand-soft:   rgba(247, 142, 30, 0.10);

    --ink-900: #0d0d0d;
    --ink-800: #1a1a1a;
    --ink-700: #262626;
    --ink-600: #333333;
    --ink-500: #4d4d4d;
    --ink-400: #737373;
    --ink-300: #a3a3a3;
    --ink-200: #d4d4d4;
    --ink-100: #eaeaea;
    --ink-50:  #f5f5f5;
    --paper:   #ffffff;
    --canvas:  #fbfaf8;

    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;

    --sh-xs: 0 1px 2px rgba(13,13,13,.04);
    --sh-sm: 0 4px 12px -4px rgba(13,13,13,.08);
    --sh-md: 0 12px 28px -12px rgba(13,13,13,.16);
    --sh-lg: 0 24px 60px -20px rgba(13,13,13,.24);
    --sh-brand: 0 16px 40px -14px rgba(247,142,30,.45);

    --ease: cubic-bezier(.2,.7,.3,1);
    --ease-out: cubic-bezier(.16,1,.3,1);
    --dur: 320ms;

    --container: 1240px;
    --gutter: clamp(1rem, 3vw, 2rem);

    --fs-xs:   clamp(.75rem, .72rem + .15vw, .8125rem);
    --fs-sm:   clamp(.875rem, .85rem + .15vw, .9375rem);
    --fs-base: clamp(1rem, .96rem + .2vw, 1.0625rem);
    --fs-lg:   clamp(1.125rem, 1.05rem + .4vw, 1.25rem);
    --fs-xl:   clamp(1.375rem, 1.2rem + .8vw, 1.75rem);
    --fs-2xl:  clamp(1.75rem, 1.4rem + 1.8vw, 2.5rem);
    --fs-3xl:  clamp(2.25rem, 1.7rem + 2.6vw, 3.5rem);
    --fs-4xl:  clamp(2.75rem, 1.8rem + 4.5vw, 5.25rem);

    --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
    --font-body:    "Inter", ui-sans-serif, system-ui, sans-serif;
  }
}

@layer base {
  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--ink-700);
    background: var(--canvas);
    overflow-x: hidden;
  }

  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--ink-900);
  }

  p { color: var(--ink-500); }

  .accent { color: var(--brand); }

  ::selection { background: var(--brand); color: #fff; }

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

@layer layout {
  .wrap {
    width: min(100% - var(--gutter) * 2, var(--container));
    margin-inline: auto;
  }

  .section {
    padding-block: clamp(4rem, 8vw, 7rem);
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 1rem;
  }
  .eyebrow::before {
    content: "";
    width: 28px; height: 2px;
    background: var(--brand);
    border-radius: 2px;
  }

  .section__head {
    max-width: 62ch;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
  }
  .section__head--split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    max-width: none;
    flex-wrap: wrap;
  }

  .section__title {
    font-size: var(--fs-3xl);
    margin-bottom: 1rem;
  }

  .section__lede {
    font-size: var(--fs-lg);
    color: var(--ink-500);
    max-width: 62ch;
  }
}

@layer components {

  .btn {
    --btn-bg: var(--ink-900);
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .95rem 1.4rem;
    border-radius: var(--r-sm);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--fs-sm);
    letter-spacing: .01em;
    line-height: 1;
    background: var(--btn-bg);
    color: var(--btn-fg);
    transition: transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                background-color var(--dur) var(--ease);
    will-change: transform;
    white-space: nowrap;
    cursor: pointer;
  }
  .btn i { font-size: .8em; transition: transform var(--dur) var(--ease); }
  .btn:hover { transform: translateY(-2px); }
  .btn:hover i { transform: translateX(4px); }
  .btn:active { transform: translateY(0); }

  .btn--primary {
    --btn-bg: var(--brand);
    box-shadow: var(--sh-brand);
  }
  .btn--primary:hover { --btn-bg: var(--brand-dark); }

  .btn--ghost {
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .btn--ghost:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px #fff; }

  .btn--sm { padding: .7rem 1.1rem; font-size: var(--fs-xs); }
  .btn--lg { padding: 1.15rem 1.9rem; font-size: var(--fs-base); }

  .link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--ink-900);
    padding-bottom: 3px;
    border-bottom: 2px solid var(--brand);
    transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
  }
  .link-arrow:hover { gap: .9rem; color: var(--brand); }

  .topbar {
    background: var(--ink-900);
    color: var(--ink-300);
    font-size: var(--fs-xs);
  }
  .topbar__inner {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding-block: .6rem;
    flex-wrap: wrap;
  }
  .topbar__item { display: inline-flex; align-items: center; gap: .5rem; }
  .topbar__item i { color: var(--brand); }
  .topbar__social {
    display: flex;
    gap: .25rem;
    margin-left: auto;
  }
  .topbar__social a {
    width: 30px; height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--ink-300);
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
  }
  .topbar__social a:hover { background: var(--brand); color: #fff; }

  .site-head {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.82);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--ink-100);
    transition: background-color var(--dur) var(--ease);
  }
  .site-head__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-block: 1rem;
  }
  .brand img { max-height: 56px; width: auto; }

  .nav { margin-left: auto; }
  .nav ul {
    display: flex;
    align-items: center;
    gap: .25rem;
  }
  .nav a {
    display: inline-block;
    padding: .7rem 1rem;
    border-radius: var(--r-sm);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: var(--fs-sm);
    color: var(--ink-600);
    transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
    position: relative;
  }
  .nav a::after {
    content: "";
    position: absolute;
    left: 1rem; right: 1rem;
    bottom: .35rem;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
  }
  .nav a:hover,
  .nav a.is-current { color: var(--ink-900); }
  .nav a:hover::after,
  .nav a.is-current::after { transform: scaleX(1); }

  .site-head__cta { margin-left: .5rem; }

  .burger {
    display: none;
    margin-left: auto;
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
  }
  .burger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--ink-900);
    border-radius: 2px;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero {
    position: relative;
    min-height: clamp(640px, 92vh, 900px);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
    background: var(--ink-900);
  }

  .hero__slides { position: absolute; inset: 0; z-index: -2; }
  .hero__slide {
    position: absolute;
    inset: 0;
    background-image: var(--img);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.2s var(--ease-out), transform 8s linear;
  }
  .hero__slide.is-active {
    opacity: 1;
    transform: scale(1);
  }
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(180deg, rgba(13,13,13,.55) 0%, rgba(13,13,13,.35) 40%, rgba(13,13,13,.85) 100%),
      linear-gradient(90deg, rgba(13,13,13,.65) 0%, rgba(13,13,13,.15) 55%, rgba(13,13,13,.35) 100%);
  }

  .hero__inner {
    position: relative;
    padding-block: clamp(5rem, 10vw, 8rem);
    max-width: 950px;
  }

  .hero .eyebrow {
    color: var(--brand-light);
    background: rgba(247,142,30,.12);
    padding: .5rem .9rem;
    border-radius: 100px;
    border: 1px solid rgba(247,142,30,.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .hero .eyebrow::before { display: none; }

  .hero__title {
    font-size: var(--fs-4xl);
    font-weight: 800;
    color: #fff;
    line-height: .98;
    letter-spacing: -0.045em;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .15em .35em;
  }
  .hero__word { display: inline-block; }
  .hero__word--accent {
    color: var(--brand);
    position: relative;
  }
  .hero__word--accent::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: -0.05em;
    height: .12em;
    background: linear-gradient(90deg, var(--brand), var(--brand-light));
    border-radius: 4px;
  }

  .hero__lede {
    font-size: var(--fs-lg);
    color: rgba(255,255,255,.82);
    max-width: 58ch;
    margin-bottom: 2rem;
  }

  .hero__actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
  }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.15);
    max-width: 720px;
  }
  .hero__stats li { display: flex; flex-direction: column; gap: .15rem; }
  .hero__stats strong {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
    font-weight: 800;
    color: var(--brand);
    letter-spacing: -0.03em;
    line-height: 1;
  }
  .hero__stats span {
    font-size: var(--fs-xs);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
  }

  .hero__dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .5rem;
    z-index: 2;
  }
  .hero__dots button {
    width: 32px; height: 3px;
    background: rgba(255,255,255,.35);
    border-radius: 4px;
    transition: background-color var(--dur) var(--ease), width var(--dur) var(--ease);
  }
  .hero__dots button.is-active { background: var(--brand); width: 48px; }

  .hero__scroll {
    position: absolute;
    right: clamp(1rem, 3vw, 2rem);
    bottom: 2rem;
    width: 44px; height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.35);
    z-index: 2;
    transition: border-color var(--dur) var(--ease);
  }
  .hero__scroll span {
    width: 8px; height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) translate(-1px, -1px);
    animation: bob 1.8s var(--ease) infinite;
  }
  .hero__scroll:hover { border-color: var(--brand); }
  @keyframes bob {
    0%, 100% { transform: rotate(45deg) translate(-1px, -1px); }
    50%      { transform: rotate(45deg) translate(1px, 1px); }
  }

  .section--intro { background: var(--paper); }

  .pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    counter-reset: pillar;
  }

  .pillar {
    position: relative;
    padding: 2rem 1.75rem;
    background: var(--canvas);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-lg);
    transition: transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                border-color var(--dur) var(--ease);
    overflow: hidden;
  }
  .pillar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--brand-soft), transparent 60%);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
    pointer-events: none;
  }
  .pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
    border-color: var(--brand-light);
  }
  .pillar:hover::before { opacity: 1; }

  .pillar__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    background: var(--brand);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--fs-sm);
    border-radius: var(--r-sm);
    margin-bottom: 1.25rem;
    box-shadow: var(--sh-brand);
  }
  .pillar h3 {
    font-size: var(--fs-xl);
    margin-bottom: .75rem;
  }
  .pillar p { font-size: var(--fs-sm); color: var(--ink-500); }

  .values {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .5rem;
  }
  .values li {
    padding: .35rem .75rem;
    background: var(--paper);
    border: 1px solid var(--ink-200);
    border-radius: 100px;
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--ink-600);
  }

  .section--services {
    background: var(--ink-900);
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  .section--services::before {
    content: "";
    position: absolute;
    top: -20%; right: -10%;
    width: 55vw; height: 55vw;
    background: radial-gradient(circle, rgba(247,142,30,.14) 0%, transparent 60%);
    pointer-events: none;
  }
  .section--services .section__title,
  .section--services h3 { color: #fff; }
  .section--services .section__lede { color: var(--ink-300); }
  .section--services .eyebrow { color: var(--brand-light); }
  .section--services .eyebrow::before { background: var(--brand-light); }

  .services {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
    position: relative;
  }
  .services__intro { position: sticky; top: 6rem; }
  .services__intro .btn { margin-top: 1.75rem; }

  .services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
  }

  .svc {
    display: block;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: transform var(--dur) var(--ease),
                border-color var(--dur) var(--ease),
                background-color var(--dur) var(--ease);
    height: 100%;
  }
  .svc:hover {
    transform: translateY(-6px);
    border-color: var(--brand);
    background: rgba(247,142,30,.06);
  }
  .svc__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }
  .svc__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 800ms var(--ease-out);
  }
  .svc:hover .svc__media img { transform: scale(1.08); }
  .svc__num {
    position: absolute;
    top: .75rem; left: .75rem;
    padding: .3rem .6rem;
    background: rgba(13,13,13,.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--fs-xs);
    border-radius: var(--r-xs);
    letter-spacing: .05em;
  }
  .svc__body {
    padding: 1.1rem 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
  }
  .svc__body h3 {
    font-size: var(--fs-base);
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.25;
  }
  .svc__arrow {
    flex-shrink: 0;
    width: 30px; height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: .75rem;
    transition: transform var(--dur) var(--ease);
  }
  .svc:hover .svc__arrow { transform: rotate(-45deg); }

  .section--projects { background: var(--canvas); }

  .projects {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 220px;
    gap: 1rem;
  }
  .project {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: var(--ink-800);
    isolation: isolate;
  }
  .project img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 900ms var(--ease-out), filter var(--dur) var(--ease);
  }
  .project:hover img { transform: scale(1.06); filter: brightness(.6); }

  .project:nth-child(1) { grid-column: span 7; grid-row: span 2; }
  .project:nth-child(2) { grid-column: span 5; grid-row: span 2; }
  .project:nth-child(3) { grid-column: span 5; grid-row: span 2; }
  .project:nth-child(4) { grid-column: span 7; grid-row: span 2; }

  @media (max-width: 800px) {
    .projects { grid-template-columns: 1fr; grid-auto-rows: 260px; }
    .project { grid-column: 1 / -1 !important; grid-row: auto !important; }
  }

  .project__overlay {
    position: absolute;
    inset: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    background: linear-gradient(180deg, rgba(13,13,13,0) 40%, rgba(13,13,13,.85) 100%);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  }
  .project:hover .project__overlay { opacity: 1; transform: translateY(0); }

  .project__num {
    align-self: flex-start;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--fs-xs);
    padding: .3rem .65rem;
    background: var(--brand);
    border-radius: var(--r-xs);
    letter-spacing: .08em;
  }
  .project__meta { display: flex; flex-direction: column; gap: .35rem; }
  .project__cat {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--brand-light);
    font-weight: 600;
  }
  .project__name {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
  }
  .project__go {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    width: 40px; height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    transition: transform var(--dur) var(--ease);
  }
  .project:hover .project__go { transform: rotate(45deg); }

  .section--about { background: var(--paper); }

  .about {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
  }

  .about__media {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-lg);
    isolation: isolate;
  }
  .about__media img {
    width: 100%; height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }
  .about__media::before {
    content: "";
    position: absolute;
    inset: auto -20px -20px auto;
    width: 60%;
    height: 40%;
    background: var(--brand);
    border-radius: var(--r-xl);
    z-index: -1;
  }
  .about__media figcaption {
    position: absolute;
    bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(13,13,13,.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--r-md);
    color: #fff;
    border: 1px solid rgba(255,255,255,.1);
  }
  .about__media figcaption strong {
    display: block;
    font-family: var(--font-display);
    font-size: var(--fs-base);
    color: var(--brand-light);
    letter-spacing: .02em;
  }
  .about__media figcaption span {
    display: block;
    font-size: var(--fs-sm);
    color: rgba(255,255,255,.7);
    margin-top: .15rem;
  }

  .about__copy h2 { margin-bottom: 1.25rem; }
  .about__copy p {
    font-size: var(--fs-sm);
    color: var(--ink-500);
    margin-bottom: 1rem;
  }
  .about__copy p strong { color: var(--ink-800); }

  .about__copy blockquote {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--ink-800);
    padding-left: 1.25rem;
    border-left: 4px solid var(--brand);
    margin-bottom: 1.5rem;
    line-height: 1.35;
  }

  .about__slogan {
    display: inline-block;
    padding: .7rem 1.25rem;
    background: var(--brand);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: .12em;
    border-radius: var(--r-sm);
    box-shadow: var(--sh-brand);
    margin-top: .75rem !important;
  }

  .section--why {
    background: var(--canvas);
    position: relative;
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
  }

  .stat {
    position: relative;
    padding: 2.25rem 1.5rem 1.75rem;
    background: var(--paper);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-lg);
    text-align: center;
    transition: transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                border-color var(--dur) var(--ease);
    overflow: hidden;
  }
  .stat::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 4px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 500ms var(--ease-out);
  }
  .stat:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-md);
    border-color: var(--brand-light);
  }
  .stat:hover::after { transform: scaleX(1); }

  .stat__badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 1.5rem + 3.5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--brand);
    margin-bottom: .75rem;
  }
  .stat__badge sup { font-size: .5em; vertical-align: super; }

  .stat h3 {
    font-size: var(--fs-base);
    font-weight: 600;
    margin-bottom: .25rem;
    color: var(--ink-800);
  }
  .stat p {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--ink-400);
  }

  .cta {
    background: var(--ink-900);
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  .cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 50%, rgba(247,142,30,.22) 0%, transparent 45%),
      radial-gradient(circle at 80% 50%, rgba(247,142,30,.12) 0%, transparent 45%);
    pointer-events: none;
  }
  .cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-block: clamp(3rem, 6vw, 5rem);
    flex-wrap: wrap;
    position: relative;
  }
  .cta h2 {
    color: #fff;
    font-size: var(--fs-2xl);
    margin-bottom: .35rem;
  }
  .cta p { color: var(--ink-300); font-size: var(--fs-base); }

  .site-foot {
    background: var(--ink-900);
    color: var(--ink-300);
    font-size: var(--fs-sm);
  }
  .site-foot__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    padding-block: clamp(3rem, 6vw, 5rem);
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .site-foot h4 {
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: .75rem;
  }
  .site-foot h4::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 32px; height: 2px;
    background: var(--brand);
  }
  .site-foot ul { display: flex; flex-direction: column; gap: .55rem; }
  .site-foot a {
    color: var(--ink-300);
    transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
    display: inline-block;
  }
  .site-foot a:hover { color: var(--brand); padding-left: 4px; }

  .contact-list li {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    line-height: 1.5;
  }
  .contact-list i {
    color: var(--brand);
    margin-top: .25rem;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
  }

  .accreditations {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
  }
  .accreditations img {
    max-height: 48px;
    width: auto;
    opacity: .7;
    filter: grayscale(1) brightness(1.6);
    transition: opacity var(--dur) var(--ease), filter var(--dur) var(--ease);
  }
  .accreditations img:hover {
    opacity: 1;
    filter: none;
  }

  .site-foot__bar {
    background: rgba(0,0,0,.35);
    font-size: var(--fs-xs);
  }
  .site-foot__bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.1rem;
    flex-wrap: wrap;
  }
  .site-foot__bar a { color: var(--brand); }
  .site-foot__bar a:hover { text-decoration: underline; }

  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  }
  .reveal.is-in {
    opacity: 1;
    transform: translateY(0);
  }
}

@layer utilities {
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .01ms !important;
      scroll-behavior: auto !important;
    }
  }
}

@media (max-width: 1100px) {
  .services { grid-template-columns: 1fr; }
  .services__intro { position: static; }
  .about { grid-template-columns: 1fr; }
  .about__media img { aspect-ratio: 16 / 12; }
}

@media (max-width: 900px) {
  .topbar__inner { justify-content: center; gap: 1rem; }
  .topbar__social { margin-left: 0; }

  .site-head__cta { display: none; }
  .burger { display: inline-flex; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    background: var(--paper);
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    box-shadow: var(--sh-lg);
    z-index: 40;
    margin: 0;
  }
  .nav.is-open { transform: translateX(0); }
  .nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav a {
    padding: 1rem;
    font-size: var(--fs-base);
  }
  .nav a::after { display: none; }

  .hero__title { font-size: clamp(2.5rem, 8vw + 1rem, 4rem); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }

  .cta__inner { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 600px) {
  .topbar__item:not(:nth-child(2)):not(:nth-child(3)) { display: none; }
  .project__name { font-size: var(--fs-lg); }
  .hero__stats { gap: .75rem; }
}

.page-hero {
  position: relative;
  padding-block: clamp(5rem, 12vw, 9rem);
  background-color: #0d0d0d;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13,13,13,.65) 0%, rgba(13,13,13,.45) 50%, rgba(13,13,13,.85) 100%),
    linear-gradient(90deg, rgba(13,13,13,.55) 0%, rgba(13,13,13,.15) 100%);
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .9rem;
  background: rgba(247,142,30,.15);
  color: #ffb866;
  border: 1px solid rgba(247,142,30,.4);
  border-radius: 100px;
  font-family: "Sora", ui-sans-serif, system-ui, sans-serif;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.page-hero__title {
  font-size: clamp(2.75rem, 1.8rem + 4.5vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fff;
  max-width: 22ch;
}
.page-hero__lede {
  font-size: clamp(1.125rem, 1.05rem + .4vw, 1.25rem);
  color: rgba(255,255,255,.85);
  max-width: 60ch;
  margin-top: 1rem;
}

.crumbs {
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  font-size: .8125rem;
  color: #737373;
}
.crumbs__inner {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding-block: .9rem;
  flex-wrap: wrap;
}
.crumbs a { color: #4d4d4d; }
.crumbs a:hover { color: #f78e1e; }
.crumbs__sep { color: #a3a3a3; user-select: none; }
.crumbs__current { color: #1a1a1a; font-weight: 600; }

.prose {
  max-width: 68ch;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #333;
}
.prose > * + * { margin-top: 1.1rem; }
.prose h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.5rem);
  color: #0d0d0d;
  margin-top: 2.5rem;
  margin-bottom: .35rem;
}
.prose h3 {
  font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem);
  color: #0d0d0d;
  margin-top: 2rem;
  margin-bottom: .25rem;
}
.prose strong { color: #1a1a1a; }
.prose blockquote {
  border-left: 4px solid #f78e1e;
  padding: .5rem 0 .5rem 1.25rem;
  font-family: "Sora", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.35;
  margin-block: 2rem;
}
.prose ul { padding-left: 1.25rem; }
.prose ul li { position: relative; padding-left: 1.25rem; margin-block: .35rem; list-style: none; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .65em;
  width: 8px; height: 8px;
  background: #f78e1e;
  border-radius: 2px;
  transform: rotate(45deg);
}

.svc-detail {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.svc-detail__media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(13,13,13,.24);
}
.svc-detail__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.svc-detail__media figcaption {
  padding: 1rem 1.25rem;
  background: #fff;
  border-top: 3px solid #f78e1e;
  font-size: .9375rem;
  color: #4d4d4d;
}

.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.related a {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.25rem 1.4rem;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.related a:hover {
  transform: translateY(-3px);
  border-color: #f78e1e;
  box-shadow: 0 12px 28px -12px rgba(13,13,13,.16);
}
.related span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.related strong {
  font-family: "Sora", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  color: #0d0d0d;
  font-size: 1.0625rem;
}
.related i { color: #f78e1e; font-size: .85rem; }
.related p { font-size: .8125rem; color: #737373; line-height: 1.5; }

.founder {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 720px) { .founder { grid-template-columns: 1fr; } }
.founder__photo {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(13,13,13,.24);
}
.founder__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 12px 28px -12px rgba(13,13,13,.16);
}
.contact-form h2 { font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.5rem); margin-bottom: .35rem; }
.contact-form .muted { color: #737373; font-size: .9375rem; margin-bottom: 1.75rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label {
  font-family: "Sora", ui-sans-serif, system-ui, sans-serif;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #4d4d4d;
}
.field input,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.0625rem;
  color: #0d0d0d;
  background: #fbfaf8;
  border: 1.5px solid #eaeaea;
  border-radius: 10px;
  outline: none;
}
.field input:focus,
.field textarea:focus {
  border-color: #f78e1e;
  box-shadow: 0 0 0 4px rgba(247,142,30,.1);
}
.field textarea { min-height: 140px; resize: vertical; }

.contact-card {
  padding: 1.5rem 1.6rem;
  background: #0d0d0d;
  color: #fff;
  border-radius: 24px;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}
.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #f78e1e;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.contact-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: .35rem; }
.contact-card p,
.contact-card a { color: #a3a3a3; font-size: .9375rem; line-height: 1.6; }
.contact-card a:hover { color: #f78e1e; }
.contact-card--brand { background: #f78e1e; }
.contact-card--brand h3,
.contact-card--brand p,
.contact-card--brand a { color: #fff; }
.contact-card--brand .contact-card__icon { background: rgba(255,255,255,.15); }

.map-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 28px -12px rgba(13,13,13,.16);
  border: 1px solid #eaeaea;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .75rem;
}
.gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  background: #1a1a1a;
  cursor: zoom-in;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.16,1,.3,1), filter .25s ease;
}
.gallery a:hover img { transform: scale(1.08); filter: brightness(.9); }
.gallery a::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,13,13,.55);
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.gallery a:hover::after { opacity: 1; }

.faq {
  max-width: 68ch;
  margin-inline: auto;
  border-top: 1px solid #eaeaea;
}
.faq details { border-bottom: 1px solid #eaeaea; padding: 1.25rem .25rem; }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: "Sora", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #0d0d0d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: #f78e1e;
  font-size: 1.5em;
  line-height: 1;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { font-size: .9375rem; color: #4d4d4d; margin-top: .75rem; line-height: 1.7; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 24px 60px -20px rgba(13,13,13,.24);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.split--reverse > figure { order: 2; }
@media (max-width: 900px) { .split--reverse > figure { order: 0; } }


  /* Footer social row */
  .site-foot__bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.1rem;
    flex-wrap: wrap;
  }

  .foot-social {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: .35rem;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }

  .foot-social li {
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .foot-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #a3a3a3;
    background: rgba(255,255,255,.06);
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
  }

  .foot-social a:hover {
    background: #f78e1e;
    color: #ffffff;
    transform: translateY(-2px);
  }

  .foot-social i {
    font-size: 14px;
    line-height: 1;
  }

  /* Mobile: stack the copyright above the icons, and center the icons */
  @media (max-width: 640px) {
    .site-foot__bar-inner {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: .75rem;
    }
    .site-foot__bar-inner p {
      font-size: 11.5px;
      line-height: 1.6;
    }
    .foot-social {
      justify-content: center;
    }
  }
