:root {
      --ivory: #F5F2EC;
      --olive: #343B30;
      --sand: #E8E0D3;
      --ink: #292D28;
      --mute: #5C6058;
      --line: #D8D4CC;
      --mist: #F8F6F0;
      --header-h: 4.5rem;
      --ease: cubic-bezier(0.22, 1, 0.36, 1);
    }

    html {
      scroll-padding-top: var(--header-h);
      scroll-behavior: smooth;
      overscroll-behavior-x: none;
    }
    body {
      margin: 0;
      background: var(--ivory);
      color: var(--ink);
      font-family: "DM Sans", system-ui, sans-serif;
      overscroll-behavior-x: none;
    }
    body.scroll-lock { overflow: hidden; }
    img { max-width: 100%; display: block; }
    button, a { -webkit-tap-highlight-color: transparent; }
    a, button { cursor: pointer; }
    :focus { outline: none; }
    :focus-visible {
      outline: 2px solid var(--olive);
      outline-offset: 3px;
    }
    .on-dark :focus-visible { outline-color: var(--mist); }

    .skip-link {
      position: absolute;
      left: 1rem;
      top: 0.75rem;
      z-index: 100;
      transform: translateY(-140%);
      background: var(--olive);
      color: var(--mist);
      padding: 0.6rem 0.9rem;
      font-size: 0.875rem;
    }
    .skip-link:focus { transform: none; }

    .display {
      font-family: "Cormorant Garamond", Georgia, serif;
      font-weight: 500;
      letter-spacing: -0.02em;
      line-height: 0.96;
    }
    .kicker {
      font-family: Manrope, "DM Sans", sans-serif;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }
    .measure { max-width: 38rem; }
    .rule { height: 1px; background: var(--line); border: 0; }

    .header {
      position: fixed;
      inset: 0 0 auto 0;
      z-index: 50;
      color: var(--mist);
      transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), padding 0.35s var(--ease);
    }
    .header::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(28, 32, 26, 0.55), rgba(28, 32, 26, 0));
      pointer-events: none;
      transition: opacity 0.35s var(--ease);
    }
    .header-bar { position: relative; z-index: 1; }
    .header.is-solid,
    .header.menu-open {
      color: var(--ink);
      background: rgba(245, 242, 236, 0.94);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--line);
    }
    .header.is-solid::before,
    .header.menu-open::before { opacity: 0; }
    .header.is-solid .header-bar,
    .header.menu-open .header-bar { padding-top: 0.65rem; padding-bottom: 0.65rem; }

    .wordmark {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      margin: 0;
      color: inherit;
      text-decoration: none;
    }
    .wordmark-type {
      font-family: Manrope, "DM Sans", sans-serif;
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.16em;
      line-height: 1.25;
      text-transform: uppercase;
    }
    .plan-mark { flex: none; }
    svg.plan-mark { width: 1.55rem; height: 1.55rem; }
    img.plan-mark {
      display: block;
      width: auto;
      height: 1.725rem;
      max-width: none;
      aspect-ratio: auto;
      flex: 0 0 auto;
    }

    .nav-link {
      position: relative;
      color: inherit;
      text-decoration: none;
      font-size: 0.92rem;
    }
    .nav-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -0.2rem;
      width: 100%;
      height: 1px;
      background: currentColor;
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.28s var(--ease);
    }
    .nav-link:hover::after,
    .nav-link:focus-visible::after { transform: scaleX(1); }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.55rem;
      min-height: 3rem;
      padding: 0.75rem 1.25rem;
      border: 1px solid transparent;
      text-decoration: none;
      font-size: 0.92rem;
      line-height: 1.2;
      transition: background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
    }
    .btn-primary { background: var(--olive); color: #FFFEFA; border-color: var(--olive); }
    .btn-primary:hover { background: #3E4636; border-color: #3E4636; }
    .btn-ghost {
      background: transparent;
      color: #FFFEFA;
      border-color: rgba(248, 246, 240, 0.7);
    }
    .btn-ghost:hover { background: rgba(248, 246, 240, 0.1); }
    .btn-line {
      background: transparent;
      color: var(--olive);
      border-color: var(--olive);
    }
    .btn-line:hover { background: var(--olive); color: #FFFEFA; }
    .btn-light { background: #FFFEFA; color: var(--olive); border-color: #FFFEFA; }
    .btn-light:hover { background: var(--sand); border-color: var(--sand); }
    .text-link {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      color: var(--olive);
      text-decoration: none;
      font-size: 0.95rem;
    }
    .text-link svg { transition: transform 0.25s var(--ease); }
    .text-link:hover svg { transform: translateX(4px); }

    .hero { min-height: 100svh; position: relative; color: var(--mist); background: #2a3128; }
    .hero-media { position: absolute; inset: 0; overflow: hidden; }
    .hero-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 58%;
      transform: scale(1);
    }
    .hero-shade {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(32, 36, 30, 0.35) 0%, rgba(32, 36, 30, 0.08) 32%, rgba(28, 32, 26, 0.28) 58%, rgba(22, 25, 20, 0.86) 100%);
    }
    .hero-copy { position: relative; z-index: 1; }
    .hero h1 > .overflow-hidden { overflow: clip; }
    .hero-line { display: block; }
    .hero-scroll {
      position: absolute;
      left: 50%;
      bottom: 1.4rem;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.45rem;
      color: var(--mist);
      text-decoration: none;
      transform: translateX(-50%);
    }
    .scroll-line {
      width: 1px;
      height: 2.6rem;
      background: rgba(248, 246, 240, 0.45);
      position: relative;
      overflow: hidden;
    }
    .scroll-line span {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 40%;
      background: var(--mist);
      animation: scroll-drop 1.8s var(--ease) infinite;
    }
    @keyframes scroll-drop {
      0% { transform: translateY(-120%); }
      100% { transform: translateY(280%); }
    }

    .mobile-panel[hidden] { display: none; }
    .mobile-panel {
      position: relative;
      z-index: 2;
      background: var(--ivory);
      color: var(--ink);
      border-top: 1px solid var(--line);
      max-height: calc(100svh - 4.25rem);
      overflow: auto;
    }
    .m-link {
      display: block;
      padding: 0.85rem 0;
      color: var(--ink);
      text-decoration: none;
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: clamp(1.8rem, 7vw, 2.4rem);
      line-height: 1.1;
    }

    .service-feature,
    .service-split { display: grid; gap: 1.25rem; }
    .shot {
      position: relative;
      overflow: hidden;
      background: var(--sand);
    }
    .shot img {
      width: 100%;
      height: auto;
      object-fit: cover;
      transition: transform 0.7s var(--ease);
    }
    .service-card:hover .shot img,
    .service-card:focus-within .shot img { transform: scale(1.035); }
    .service-card .shot,
    .service-feature .shot { aspect-ratio: auto; }

    .editorial { position: relative; min-height: 78vh; overflow: hidden; background: #2c3329; color: var(--mist); }
    .editorial-media { position: absolute; inset: -12% 0; }
    .parallax-img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
    .editorial-shade {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(28, 32, 26, 0.15), rgba(22, 25, 20, 0.55));
    }

    .gallery {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.7rem;
    }
    .gallery-item {
      position: relative;
      display: block;
      width: 100%;
      padding: 0;
      border: 0;
      background: var(--sand);
      overflow: hidden;
      text-align: left;
      color: var(--mist);
    }
    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s var(--ease);
    }
    .gallery-item:hover img,
    .gallery-item:focus-visible img { transform: scale(1.04); }
    .g1, .g4 { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
    .g4 { aspect-ratio: 16 / 10; }
    .g2, .g3, .g5, .g6 { aspect-ratio: 1 / 1; }
    .cap {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 2rem 0.85rem 0.8rem;
      background: linear-gradient(180deg, transparent, rgba(22, 25, 20, 0.72));
      font-family: Manrope, sans-serif;
      font-size: 0.68rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .steps { display: grid; gap: 0; }
    .step { padding: 1.35rem 0 1.5rem; border-top: 1px solid var(--line); }
    .step-no {
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: clamp(2.6rem, 6vw, 4.2rem);
      line-height: 0.9;
      color: #9B7656;
    }

    .field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; max-width: 100%; }
    .field span { font-size: 0.82rem; color: var(--ink); }
    .field input,
    .field select,
    .field textarea {
      width: 100%;
      min-width: 0;
      max-width: 100%;
      min-height: 3rem;
      overscroll-behavior: none;
      border: 1px solid var(--line);
      background: #FFFEFA;
      color: var(--ink);
      padding: 0.75rem 0.85rem;
      font: inherit;
      font-size: 1rem;
      border-radius: 0;
    }
    .field textarea { min-height: 8.5rem; resize: vertical; }
    .field input:focus-visible,
    .field select:focus-visible,
    .field textarea:focus-visible { outline-offset: 2px; }
    .field.has-error input,
    .field.has-error select,
    .field.has-error textarea { border-color: #8A3E34; }
    .field-error { color: #8A3E34; font-size: 0.82rem; min-height: 1.1rem; }
    .form-summary {
      border: 1px solid #8A3E34;
      background: #F8F1EE;
      color: #6D312A;
      padding: 0.85rem 1rem;
      font-size: 0.92rem;
    }
    .form-summary a { color: inherit; }

    .overlay {
      position: fixed;
      inset: 0;
      z-index: 80;
      display: grid;
      place-items: center;
      padding: 1rem;
      background: rgba(28, 32, 26, 0.62);
    }
    .overlay[hidden] { display: none; }
    .sheet {
      width: min(640px, 100%);
      max-height: 90vh;
      overflow: auto;
      background: var(--ivory);
      color: var(--ink);
      border: 1px solid var(--line);
      position: relative;
      animation: rise 0.4s var(--ease);
    }
    .lightbox-sheet {
      width: min(1080px, 100%);
      background: #1c201a;
      color: var(--mist);
      border-color: rgba(248, 246, 240, 0.18);
    }
    .lightbox-sheet img { width: 100%; max-height: 68vh; object-fit: contain; background: #141814; }
    .icon-btn {
      width: 2.75rem;
      height: 2.75rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid currentColor;
      background: transparent;
      color: inherit;
    }
    .sticky-close { position: sticky; top: 0.6rem; z-index: 2; float: right; }

    .float-wa {
      position: fixed;
      right: max(1.15rem, env(safe-area-inset-right));
      bottom: max(1.15rem, env(safe-area-inset-bottom));
      z-index: 40;
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      min-height: 3.25rem;
      padding: 0.35rem 0.95rem 0.35rem 0.4rem;
      border-radius: 999px;
      background: #343B30;
      color: #FFFEFA;
      text-decoration: none;
      box-shadow: 0 8px 24px rgba(28, 32, 26, 0.18);
      transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
    }
    .float-wa:hover { background: #3E4636; }
    .float-ico {
      width: 2.55rem;
      height: 2.55rem;
      border-radius: 999px;
      display: grid;
      place-items: center;
      background: #25D366;
      color: #ffffff;
    }
    .overlay ~ .float-wa,
    body:has(#lightbox:not([hidden])) .float-wa { z-index: 30; }

    @keyframes rise {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: none; }
    }

    @media (min-width: 768px) {
      .service-feature { grid-template-columns: 1.35fr 0.8fr; gap: 2.5rem; align-items: end; }
      .service-split { grid-template-columns: 1.15fr 0.85fr; gap: 1.25rem; align-items: stretch; }
      .service-split.alt { grid-template-columns: 0.85fr 1.15fr; }
      .service-feature .shot { aspect-ratio: auto; min-height: 0; }
      .g1 { aspect-ratio: 3 / 4; }
      .gallery { gap: 0.9rem; }
    }
    @media (min-width: 1024px) {
      .gallery {
        grid-template-columns: 1.15fr 1fr 1fr;
        grid-template-rows: 18rem 16rem 16rem;
        gap: 0.9rem;
      }
      .g1 { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; min-height: 0; }
      .g2 { grid-column: 2; grid-row: 1; aspect-ratio: auto; }
      .g3 { grid-column: 3; grid-row: 1; aspect-ratio: auto; }
      .g4 { grid-column: 2 / span 2; grid-row: 2; aspect-ratio: auto; }
      .g5 { grid-column: 1; grid-row: 3; aspect-ratio: auto; }
      .g6 { grid-column: 2 / span 2; grid-row: 3; aspect-ratio: auto; }
      .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
      .step { border-top: 1px solid var(--line); padding-right: 1.25rem; }
    }
    @media (max-width: 767px) {
      .hero-scroll { display: none; }
      .float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
      .float-wa { padding: 0.2rem; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation: none !important;
        transition: none !important;
      }
      .sheet { animation: none; }
    }

    body.page-inner main { padding-top: var(--header-h); }
    main,
    form,
    .grid > * { min-width: 0; }
    .nav-link.is-active::after { transform: scaleX(1); }
    .display a { color: inherit; text-decoration: none; }
    .hp-field {
      position: absolute;
      left: 0;
      top: 0;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: 0;
      overflow: clip;
      clip-path: inset(100%);
      white-space: nowrap;
      border: 0;
    }
    #inquiry-form { position: relative; }
    .form-success {
      border: 1px solid var(--olive);
      background: #FFFEFA;
      color: var(--ink);
      padding: 0.85rem 1rem;
      font-size: 0.92rem;
    }
    .gallery-item.g-extra { aspect-ratio: 1 / 1; }

    .ig-section {
      background: #141814;
      color: #FFFEFA;
    }
    .ig-section-inner {
      width: min(28rem, calc(100% - 2.5rem));
      margin: 0 auto;
      padding: 4.5rem 0 4rem;
    }
    .ig-title {
      margin: 0 0 1.6rem;
      text-align: center;
      font-family: "DM Sans", system-ui, sans-serif;
      font-weight: 600;
      font-size: clamp(1.75rem, 4.5vw, 2.15rem);
      letter-spacing: -0.03em;
      line-height: 1.15;
    }
    .ig-title span { color: #C4A574; }
    .ig-embed {
      overflow: hidden;
      border-radius: 14px;
      background: #1c1c1c;
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    }
    .ig-embed iframe {
      display: block;
      width: 100%;
      height: 25rem;
      border: 0;
      background: #fff;
    }
    @media (min-width: 480px) {
      .ig-embed iframe { height: 32.5rem; }
    }
    .ig-profile-link {
      display: block;
      padding: 0.85rem 1rem 1rem;
      border-top: 1px solid #efefef;
      background: #fff;
      color: #262626;
      font-size: 0.92rem;
      text-align: center;
      text-decoration: none;
    }
    .ig-profile-link:hover { text-decoration: underline; }
