﻿/**
 * Bylane Collectives - Main Stylesheet
 * Design system with rich interactions and responsive layout
 */

/* ==================== DESIGN TOKENS ==================== */

:root {
  /* Color Palette */
  --stone: #b7a991;
  --lime: #eadfcf;
  --ganga: #556b57;
  --night: #2f3e56;
  --earth: #a0523c;
  --brass: #8c6f3d;
  --charcoal: #2b2b2b;
  --night-deep: #1c273a;
  --lime-2: #f3ebdd;
  --brass-light: #c9a95c;
  --ink: #2b2b2b;
  --muted: #6f665a;

  /* Typography */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Karla", "Helvetica Neue", Arial, sans-serif;

  /* Animation */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==================== GLOBAL STYLES ==================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--lime);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--brass);
  color: var(--lime-2);
}

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.005em;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}

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

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.small-caps {
  font-family: var(--serif);
  font-size: 0.82rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 500;
}

.rule {
  width: 56px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

      :root {
        --stone: #b7a991;
        --lime: #eadfcf;
        --ganga: #556b57;
        --night: #2f3e56;
        --earth: #a0523c;
        --brass: #8c6f3d;
        --charcoal: #2b2b2b;
        --night-deep: #1c273a;
        --lime-2: #f3ebdd;
        --brass-light: #c9a95c;
        --ink: #2b2b2b;
        --muted: #6f665a;
        --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
        --sans: "Karla", "Helvetica Neue", Arial, sans-serif;
        --ease: cubic-bezier(0.22, 1, 0.36, 1);
      }
      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }
      html {
        scroll-behavior: smooth;
      }
      body {
        font-family: var(--sans);
        font-weight: 300;
        color: var(--ink);
        background: var(--lime);
        line-height: 1.6;
        overflow-x: hidden;
      }
      ::selection {
        background: var(--brass);
        color: var(--lime-2);
      }
      h1,
      h2,
      h3,
      .serif {
        font-family: var(--serif);
        font-weight: 500;
        line-height: 1.05;
        letter-spacing: -0.005em;
      }
      a {
        color: inherit;
        text-decoration: none;
      }
      button {
        font: inherit;
        cursor: pointer;
        background: none;
        border: 0;
        color: inherit;
      }
      img {
        display: block;
        max-width: 100%;
      }
      .wrap {
        width: min(1180px, calc(100% - 48px));
        margin: 0 auto;
      }
      .small-caps {
        font-family: var(--serif);
        font-size: 0.82rem;
        letter-spacing: 0.34em;
        text-transform: uppercase;
        font-weight: 500;
      }
      .rule {
        width: 56px;
        height: 1px;
        background: currentColor;
        opacity: 0.6;
      }

      /* ---------- glow that follows the cursor across the whole page ---------- */
      #glow {
        position: fixed;
        left: 0;
        top: 0;
        width: 520px;
        height: 520px;
        border-radius: 50%;
        pointer-events: none;
        z-index: 1;
        background: radial-gradient(
          circle,
          rgba(201, 169, 92, 0.2) 0%,
          rgba(201, 169, 92, 0.06) 35%,
          rgba(201, 169, 92, 0) 70%
        );
        transform: translate(-50%, -50%);
        will-change: transform;
        mix-blend-mode: multiply;
      }
      #glow.night {
        mix-blend-mode: screen;
        background: radial-gradient(
          circle,
          rgba(255, 196, 110, 0.34) 0%,
          rgba(255, 170, 80, 0.1) 35%,
          rgba(255, 170, 80, 0) 70%
        );
      }

      /* ---------- nav ---------- */
      .nav {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 40;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 22px clamp(20px, 4vw, 48px);
        --brand-accent: #C9A95C;
        transition:
          background 0.5s var(--ease),
          color 0.5s,
          padding 0.4s;
      }
      .nav.solid {
        background: rgba(234, 223, 207, 0.92);
        backdrop-filter: blur(10px);
        color: var(--ink);
        padding-block: 14px;
        border-bottom: 1px solid rgba(43, 43, 43, 0.08);
        --brand-accent: #927347;
      }
      .nav.on-dark {
        color: var(--lime);
      }
      .brand {
        display: flex;
        align-items: center;
        gap: 12px;
      }
      .brand-name {
        height: auto;
        max-width: 100px;
        display: block;
      }
      .brand-name small {
        display: block;
        font-family: var(--serif);
        font-size: 0.62rem;
        letter-spacing: 0.34em;
        font-weight: 500;
        margin-top: 3px;
        opacity: 0.85;
      }
      .menu {
        display: flex;
        gap: clamp(14px, 2.4vw, 34px);
        font-family: var(--serif);
        font-size: 1.05rem;
        font-weight: 500;
        letter-spacing: 0.04em;
      }
      .menu a {
        position: relative;
        padding: 4px 0;
      }
      .menu a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 100%;
        bottom: 0;
        height: 1px;
        background: currentColor;
        transition: right 0.45s var(--ease);
      }
      .menu a:hover::after,
      .menu a.active::after {
        right: 0;
      }
      .burger {
        display: none;
        width: 40px;
        height: 40px;
        position: relative;
      }
      .burger span {
        position: absolute;
        left: 8px;
        right: 8px;
        height: 1px;
        background: currentColor;
        top: 15px;
      }
      .burger span + span {
        top: 24px;
      }
      @media (max-width: 900px) {
        .menu {
          position: fixed;
          inset: 0;
          background: var(--night-deep);
          color: var(--lime);
          flex-direction: column;
          align-items: center;
          justify-content: center;
          gap: 28px;
          font-size: 1.8rem;
          transform: translateY(-100%);
          transition: transform 0.6s var(--ease);
          z-index: 99;
          pointer-events: auto;
          overflow-y: auto;
          overflow-x: hidden;
        }
        .menu.open {
          transform: none;
        }
        .burger {
          display: block;
          z-index: 100;
        }
        body.menu-open {
          overflow-y: hidden;
          position: fixed;
          width: 100%;
        }
      }

      /* ========== MOBILE-SPECIFIC BREAKPOINTS ========== */
      /* Large phones (540px to 900px) */
      @media (max-width: 900px) and (min-width: 541px) {
        .hero .layer {
          inset: -4%;
        }
      }

      /* Standard phones (375px to 540px) */
      @media (max-width: 540px) {
        .hero .layer {
          inset: -2%;
        }
        .menu {
          font-size: 1.5rem;
          gap: 20px;
        }
        .menu a {
          padding: 12px 0;
        }
      }

      /* Small phones (< 375px) */
      @media (max-width: 375px) {
        .menu {
          font-size: 1.35rem;
          gap: 16px;
        }
      }

      /* ---------- hero ---------- */
      .hero {
        position: relative;
        height: 100svh;
        min-height: 640px;
        overflow: hidden;
        background: var(--night-deep);
        color: var(--lime);
      }
      .hero .layer {
        position: absolute;
        inset: -6%;
        will-change: transform;
      }
      .hero .day {
        position: absolute;
        inset: 0;
        background:
          radial-gradient(
            1200px 500px at 60% 110%,
            rgba(160, 82, 60, 0.35),
            transparent 60%
          ),
          linear-gradient(180deg, #f1e3c6 0%, #e3cfab 45%, #c9ae86 100%);
        -webkit-mask-image: radial-gradient(
          circle var(--r, 0px) at var(--mx, 50%) var(--my, 50%),
          #000 0%,
          rgba(0, 0, 0, 0.9) 22%,
          rgba(0, 0, 0, 0.45) 55%,
          transparent 100%
        );
        mask-image: radial-gradient(
          circle var(--r, 0px) at var(--mx, 50%) var(--my, 50%),
          #000 0%,
          rgba(0, 0, 0, 0.9) 22%,
          rgba(0, 0, 0, 0.45) 55%,
          transparent 100%
        );
        transition: --r 0.3s;
      }
      .hero .day .layer.l3 svg * {
        fill: #b48c64;
      }
      .hero .day .layer.l2 svg * {
        fill: #8f6a4a;
      }
      .hero .day .layer.l1 svg * {
        fill: #5a4230;
      }
      .hero .night-fill {
        position: absolute;
        inset: 0;
        background: radial-gradient(
          900px 600px at 50% 0%,
          #3a4c6b,
          transparent 60%
        );
      }
      .hero canvas {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
      }
      .hero .copy {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        z-index: 3;
        padding-top: 60px;
      }
      .hero h1 {
        font-size: clamp(3.2rem, 9vw, 8.4rem);
        font-weight: 500;
        line-height: 0.94;
        max-width: 11ch;
        text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
      }
      .hero h1 em {
        font-style: italic;
        font-weight: 400;
      }
      .hero .lead {
        margin-top: 34px;
        font-family: var(--serif);
        font-style: italic;
        font-size: clamp(1.15rem, 2vw, 1.6rem);
        max-width: 34ch;
        line-height: 1.35;
        opacity: 0.9;
      }
      .hero .cta {
        display: flex;
        gap: 18px;
        margin-top: 44px;
        flex-wrap: wrap;
      }
      .btn {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        padding: 14px 26px;
        border: 1px solid currentColor;
        font-family: var(--serif);
        font-size: 1.05rem;
        letter-spacing: 0.06em;
        transition:
          background 0.4s var(--ease),
          color 0.4s,
          transform 0.4s var(--ease);
      }
      .btn.fill {
        background: var(--lime);
        color: var(--night-deep);
        border-color: var(--lime);
      }
      .btn:hover {
        transform: translateY(-2px);
      }
      .btn.fill:hover {
        background: var(--brass-light);
        border-color: var(--brass-light);
      }
      .hero .hint {
        position: absolute;
        left: clamp(20px, 4vw, 48px);
        bottom: 28px;
        z-index: 3;
        display: flex;
        align-items: center;
        gap: 14px;
        font-family: var(--serif);
        font-style: italic;
        opacity: 0.75;
        font-size: 1rem;
      }
      .hero .hint i {
        width: 44px;
        height: 1px;
        background: currentColor;
        display: block;
      }
      .hero .lantern {
        position: absolute;
        z-index: 2;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #ffd79a;
        box-shadow:
          0 0 22px 8px rgba(255, 200, 120, 0.9),
          0 0 80px 40px rgba(255, 170, 70, 0.35);
        transform: translate(-50%, -50%);
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.8s;
      }
      .hero.awake .lantern {
        opacity: 1;
      }
      .ghat-svg {
        width: 100%;
        height: 100%;
      }

      /* ---------- sections ---------- */
      section {
        position: relative;
      }
      .sec {
        padding: clamp(80px, 12vw, 150px) 0;
      }
      .sec-head {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: end;
        margin-bottom: clamp(40px, 6vw, 72px);
      }
      .sec-head h2 {
        font-size: clamp(2.4rem, 5.4vw, 4.6rem);
        font-weight: 500;
      }
      .sec-head p {
        font-family: var(--serif);
        font-size: 1.25rem;
        line-height: 1.45;
        max-width: 38ch;
        color: var(--muted);
      }
      @media (max-width: 800px) {
        .sec-head {
          grid-template-columns: 1fr;
        }
      }

      /* Collectives */
      #collectives {
        background: var(--lime);
      }
      .stories {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 26px;
        perspective: 1400px;
      }
      @media (max-width: 900px) {
        .stories {
          grid-template-columns: 1fr 1fr;
        }
      }
      @media (max-width: 600px) {
        .stories {
          grid-template-columns: 1fr;
        }
      }
      .story {
        position: relative;
        aspect-ratio: 3/4;
        color: var(--lime-2);
        overflow: hidden;
        transform-style: preserve-3d;
        transition:
          transform 0.5s var(--ease),
          box-shadow 0.5s;
        cursor: pointer;
        box-shadow: 0 30px 60px -30px rgba(43, 43, 43, 0.45);
      }
      .story::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(
          400px 400px at var(--sx, 50%) var(--sy, 50%),
          rgba(255, 220, 160, 0.35),
          transparent 60%
        );
        opacity: 0;
        transition: opacity 0.5s;
        pointer-events: none;
      }
      .story:hover::before {
        opacity: 1;
      }
      .story .art {
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        opacity: 0.9;
      }
      .story .art svg {
        width: 58%;
        height: auto;
        transition: transform 0.8s var(--ease);
      }
      .story:hover .art svg {
        transform: translateY(-6px) scale(1.04);
      }
      .story .txt {
        position: absolute;
        left: 26px;
        right: 26px;
        bottom: 24px;
        transform: translateZ(30px);
      }
      .story h3 {
        font-size: 2rem;
        font-weight: 500;
      }
      .story p {
        margin-top: 8px;
        font-family: var(--serif);
        font-style: italic;
        font-size: 1.1rem;
        opacity: 0.9;
        line-height: 1.35;
      }
      .story .count {
        position: absolute;
        top: 22px;
        left: 26px;
        font-family: var(--serif);
        font-size: 0.85rem;
        letter-spacing: 0.3em;
        opacity: 0.85;
      }
      .story.ghat {
        background: var(--stone);
        color: var(--charcoal);
      }
      .story.temple {
        background: var(--earth);
      }
      .story.city {
        background: var(--night);
      }
      .story.people {
        background: var(--ganga);
      }
      .story.river {
        background: linear-gradient(180deg, var(--night) 0%, #3e5e75 100%);
      }
      .story.food {
        background: var(--brass);
      }
      .story .txt .rule {
        margin-bottom: 12px;
      }

      /* Map */
      #map {
        background: var(--lime-2);
        overflow: hidden;
      }
      .map-stage {
        position: relative;
        margin-top: 10px;
        border: 1px solid rgba(43, 43, 43, 0.12);
        background: #f6efe0;
        box-shadow: 0 40px 80px -40px rgba(43, 43, 43, 0.5);
      }
      .map-stage img {
        width: 100%;
        height: auto;
        display: block;
        pointer-events: none;
        user-select: none;
      }
      .hot {
        position: absolute;
        width: 28px;
        height: 28px;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        cursor: pointer;
        background: none;
      }
      .hot i {
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 1.5px solid var(--earth);
        animation: ripple 2.6s var(--ease) infinite;
        opacity: 0.9;
      }
      .hot i + i {
        animation-delay: 1.3s;
      }
      .hot b {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--earth);
        transform: translate(-50%, -50%);
        box-shadow: 0 0 0 3px rgba(234, 223, 207, 0.9);
        transition: transform 0.3s var(--ease);
      }
      .hot:hover b,
      .hot.active b {
        transform: translate(-50%, -50%) scale(1.5);
        background: var(--brass);
      }
      @keyframes ripple {
        0% {
          transform: scale(0.4);
          opacity: 0.9;
        }
        100% {
          transform: scale(2.4);
          opacity: 0;
        }
      }
      .hot .tag {
        position: absolute;
        left: 50%;
        top: -10px;
        transform: translate(-50%, -100%);
        white-space: nowrap;
        background: var(--charcoal);
        color: var(--lime);
        font-family: var(--serif);
        font-size: 0.95rem;
        padding: 5px 12px;
        opacity: 0;
        pointer-events: none;
        transition:
          opacity 0.3s,
          transform 0.4s var(--ease);
      }
      .hot:hover .tag {
        opacity: 1;
        transform: translate(-50%, calc(-100% - 6px));
      }
      .map-story {
        position: absolute;
        right: 22px;
        bottom: 22px;
        width: min(380px, calc(100% - 44px));
        background: rgba(43, 43, 43, 0.94);
        color: var(--lime);
        padding: 26px 28px 24px;
        backdrop-filter: blur(6px);
        transform: translateY(14px);
        opacity: 0;
        pointer-events: none;
        transition:
          transform 0.5s var(--ease),
          opacity 0.4s;
        z-index: 5;
      }
      .map-story.show {
        transform: none;
        opacity: 1;
        pointer-events: auto;
      }
      .map-story .kind {
        font-family: var(--serif);
        font-size: 0.8rem;
        letter-spacing: 0.3em;
        text-transform: uppercase;
        color: var(--brass-light);
      }
      .map-story h3 {
        font-size: 1.9rem;
        margin: 8px 0 10px;
      }
      .map-story p {
        font-family: var(--serif);
        font-size: 1.08rem;
        line-height: 1.45;
        opacity: 0.92;
      }
      .map-story a {
        display: inline-block;
        margin-top: 14px;
        font-family: var(--serif);
        font-style: italic;
        border-bottom: 1px solid var(--brass-light);
        padding-bottom: 2px;
      }
      .map-story .x {
        position: absolute;
        top: 10px;
        right: 14px;
        font-size: 1.3rem;
        opacity: 0.7;
      }
      .map-legend {
        display: flex;
        gap: 26px;
        flex-wrap: wrap;
        margin-top: 22px;
        font-family: var(--serif);
        font-size: 1rem;
        color: var(--muted);
      }
      .map-legend span::before {
        content: "";
        display: inline-block;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--earth);
        margin-right: 10px;
        vertical-align: middle;
      }
      @media (max-width: 700px) {
        .map-story {
          position: relative;
          right: auto;
          bottom: auto;
          width: 100%;
          margin-top: 14px;
          transform: none;
        }
        .map-story:not(.show) {
          display: none;
        }
      }

      /* Stay */
      #stay {
        background: var(--night-deep);
        color: var(--lime);
      }
      #stay .sec-head p {
        color: rgba(234, 223, 207, 0.75);
      }
      .stays {
        display: grid;
        grid-template-columns: 1.4fr 1fr;
        gap: 26px;
      }
      @media (max-width: 860px) {
        .stays {
          grid-template-columns: 1fr;
        }
      }
      .stay-card {
        position: relative;
        min-height: 420px;
        padding: 36px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        overflow: hidden;
        border: 1px solid rgba(234, 223, 207, 0.18);
        transition: border-color 0.4s;
      }
      .stay-card:hover {
        border-color: rgba(201, 169, 92, 0.6);
      }
      .stay-card .bg {
        position: absolute;
        inset: 0;
        opacity: 0.55;
        transition:
          transform 1.2s var(--ease),
          opacity 0.6s;
      }
      .stay-card:hover .bg {
        transform: scale(1.04);
        opacity: 0.7;
      }
      .stay-card .bg svg {
        width: 100%;
        height: 100%;
      }
      .stay-card .txt {
        position: relative;
      }
      .stay-card h3 {
        font-size: clamp(2rem, 4vw, 3.2rem);
        font-weight: 500;
      }
      .stay-card p {
        font-family: var(--serif);
        font-size: 1.15rem;
        font-style: italic;
        opacity: 0.9;
        margin-top: 10px;
        max-width: 40ch;
      }
      .stay-card .meta {
        display: flex;
        gap: 24px;
        margin-top: 20px;
        font-family: var(--serif);
        font-size: 0.95rem;
        letter-spacing: 0.06em;
        opacity: 0.8;
        flex-wrap: wrap;
      }
      .stay-card .btn {
        margin-top: 26px;
        align-self: flex-start;
      }
      .stay-card.soon {
        border-style: dashed;
        justify-content: center;
        align-items: center;
        text-align: center;
      }
      .stay-card.soon h3 {
        font-style: italic;
        font-weight: 400;
        opacity: 0.85;
      }
      .stay-card.soon p {
        font-style: normal;
        opacity: 0.6;
      }
      .stay-card .chakra-dots {
        position: absolute;
        right: 30px;
        top: 30px;
        display: flex;
        flex-direction: column;
        gap: 9px;
      }
      .stay-card .chakra-dots span {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--brass-light);
        opacity: 0.5;
        transition:
          opacity 0.5s,
          transform 0.5s var(--ease);
      }
      .stay-card:hover .chakra-dots span {
        opacity: 1;
        transform: scale(1.25);
      }
      .stay-card:hover .chakra-dots span:nth-child(n) {
        transition-delay: calc(var(--i) * 70ms);
      }

      /* Experience */
      #experience {
        background: var(--lime);
      }
      .exp {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        border-top: 1px solid rgba(43, 43, 43, 0.15);
      }
      @media (max-width: 900px) {
        .exp {
          grid-template-columns: 1fr 1fr;
        }
      }
      @media (max-width: 560px) {
        .exp {
          grid-template-columns: 1fr;
        }
      }
      .exp article {
        padding: 34px 26px 38px;
        border-bottom: 1px solid rgba(43, 43, 43, 0.15);
        border-right: 1px solid rgba(43, 43, 43, 0.15);
        position: relative;
        overflow: hidden;
        transition: color 0.4s;
      }
      .exp article:nth-child(4n) {
        border-right: 0;
      }
      .exp article::before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--c);
        transform: translateY(101%);
        transition: transform 0.55s var(--ease);
      }
      .exp article:hover::before {
        transform: none;
      }
      .exp article:hover {
        color: var(--lime-2);
      }
      .exp article > * {
        position: relative;
      }
      .exp .when {
        font-family: var(--serif);
        font-style: italic;
        font-size: 1rem;
        opacity: 0.75;
      }
      .exp h3 {
        font-size: 1.9rem;
        margin: 8px 0 14px;
      }
      .exp p {
        font-size: 0.98rem;
        line-height: 1.55;
        max-width: 34ch;
      }
      .exp svg {
        width: 44px;
        height: 44px;
        margin-bottom: 18px;
        opacity: 0.85;
      }

      /* About */
      #about {
        background: var(--stone);
        color: var(--charcoal);
      }
      .about {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
      }
      @media (max-width: 800px) {
        .about {
          grid-template-columns: 1fr;
        }
      }
      .about h2 {
        font-size: clamp(2.4rem, 5vw, 4.4rem);
      }
      .about .big {
        font-family: var(--serif);
        font-size: 1.3rem;
        line-height: 1.5;
        margin-top: 24px;
        max-width: 46ch;
      }
      .about .big + p {
        margin-top: 16px;
        max-width: 52ch;
      }
      .four {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1px;
        background: rgba(43, 43, 43, 0.25);
        border: 1px solid rgba(43, 43, 43, 0.25);
      }
      .four div {
        background: var(--stone);
        padding: 38px 30px;
        font-family: var(--serif);
        position: relative;
        overflow: hidden;
        transition: background 0.5s;
      }
      .four div span {
        font-size: 2.2rem;
        display: block;
      }
      .four div small {
        font-size: 1.05rem;
        font-style: italic;
        opacity: 0.8;
        display: block;
        margin-top: 6px;
      }
      .four div:hover {
        background: var(--lime-2);
      }

      /* Contact */
      #contact {
        background: var(--lime-2);
      }
      .contact {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
      }
      @media (max-width: 800px) {
        .contact {
          grid-template-columns: 1fr;
        }
      }
      .contact h2 {
        font-size: clamp(2.4rem, 5vw, 4.4rem);
      }
      .contact .addr {
        font-family: var(--serif);
        font-size: 1.25rem;
        line-height: 1.5;
        margin-top: 26px;
      }
      .contact .addr a {
        border-bottom: 1px solid var(--brass);
      }
      .form {
        position: relative;
      }
      .field {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 18px;
      }
      .field label {
        font-family: var(--serif);
        font-size: 1.05rem;
      }
      .field input,
      .field textarea {
        font: inherit;
        font-weight: 300;
        padding: 12px 0;
        border: 0;
        border-bottom: 1px solid rgba(43, 43, 43, 0.35);
        background: transparent;
        outline: none;
        transition: border-color 0.3s;
      }
      .field input:focus,
      .field textarea:focus {
        border-bottom-color: var(--earth);
      }
      .field textarea {
        min-height: 110px;
        resize: vertical;
      }
      .form .btn {
        background: var(--charcoal);
        color: var(--lime);
        border-color: var(--charcoal);
      }
      .form .btn:hover {
        background: var(--earth);
        border-color: var(--earth);
      }
      .sent {
        display: none;
        font-family: var(--serif);
        font-size: 1.15rem;
        margin-top: 12px;
      }
      .sent.error {
        color: #b23a3a;
      }
      .field.hp {
        position: absolute;
        left: -9999px;
        width: 1px;
        height: 1px;
        overflow: hidden;
      }

      /* Footer */
      footer {
        background: var(--charcoal);
        color: var(--lime);
        padding: 60px 0 36px;
      }
      .foot {
        display: flex;
        justify-content: space-between;
        gap: 40px;
        flex-wrap: wrap;
        align-items: flex-end;
      }
      .foot .quote {
        font-family: var(--serif);
        font-style: italic;
        font-size: 1.2rem;
        line-height: 1.4;
        max-width: 34ch;
        opacity: 0.9;
      }
      .foot .links {
        display: flex;
        gap: 22px;
        font-family: var(--serif);
        font-size: 1rem;
        flex-wrap: wrap;
      }
      .bottom {
        margin-top: 40px;
        padding-top: 18px;
        border-top: 1px solid rgba(234, 223, 207, 0.15);
        display: flex;
        flex-direction: column;
        gap: 8px;
        font-size: 0.85rem;
        opacity: 0.7;
      }

      /* ========== FOOTER MOBILE RESPONSIVE ========== */
      @media (max-width: 768px) {
        .foot {
          gap: 30px;
          flex-direction: column;
          align-items: flex-start;
        }

        .foot .quote {
          font-size: 1.1rem;
          max-width: 100%;
        }

        .foot .links {
          gap: 16px;
          font-size: 0.95rem;
          flex-wrap: wrap;
          width: 100%;
        }
      }

      @media (max-width: 540px) {
        footer {
          padding: 40px 0 24px;
        }

        .foot {
          gap: 20px;
        }

        .foot .quote {
          font-size: 1rem;
          line-height: 1.4;
        }

        .foot .links {
          gap: 12px;
          font-size: 0.9rem;
        }

        .foot .links a {
          padding: 4px 0;
        }

        .bottom {
          margin-top: 24px;
          padding-top: 16px;
          gap: 8px;
          width: 100%;
        }

        .bottom span {
          font-size: 0.8rem;
          display: block;
          word-break: break-word;
        }
      }

      :focus-visible {
        outline: 2px solid var(--brass-light);
        outline-offset: 3px;
      }
      @media (prefers-reduced-motion: reduce) {
        * {
          animation: none !important;
          transition: none !important;
        }
        .hero .day {
          -webkit-mask-image: none;
          mask-image: none;
          opacity: 0.25;
        }
      }
    


