:root {
  --bg: #f5f3ec;
  --ink: #0d1f12;
  --ink-soft: #2f4234;
  --muted: #6b7a72;
  --line: #e1ddd0;
  --card: #ffffff;
  --green: #1f5a22;
  --green-700: #143d18;
  --green-900: #0a1f0c;
  --green-50: #e6efde;
  --lime: #6fbf3f;
  --lime-light: #a4dc5f;
  --gold: #c9a24a;
  --dark: #0a1f0c;
  --shadow: 0 1px 2px rgba(13,31,18,.04), 0 18px 40px -16px rgba(13,31,18,.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; font-weight: 800; }
h1 em { font-style: italic; color: var(--lime); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.12; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }

::selection { background: var(--lime); color: var(--green-900); }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 1rem;
  display: inline-flex; align-items: center; gap: .7rem;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: currentColor;
}
.eyebrow-light { color: var(--lime); }

/* ============ Page load mask ============ */
.page-mask {
  position: fixed; inset: 0; z-index: 100;
  background: var(--green-900);
  transform-origin: top;
  animation: pageMask 1.1s cubic-bezier(.76,0,.24,1) forwards;
  pointer-events: none;
}
@keyframes pageMask {
  0% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  background: rgba(245,243,236,0);
  backdrop-filter: blur(0px);
  transition: background .4s ease, padding .4s ease, backdrop-filter .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(245,243,236,.85);
  backdrop-filter: blur(14px);
  padding: .7rem clamp(1rem, 4vw, 3rem);
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; }
.brand-logo {
  height: 104px; width: auto; display: block;
  transition: height .4s ease, transform .3s ease;
}
.nav.is-scrolled .brand-logo { height: 76px; }
.nav nav { margin-left: auto; display: flex; gap: 2rem; }
.nav nav a {
  position: relative; font-size: .92rem; color: var(--ink-soft);
  padding: .3rem 0;
}
.nav nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.nav nav a:hover { color: var(--green); }
.nav nav a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 640px) { .nav nav { display: none; } }

/* ============ Buttons ============ */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: color .35s ease, border-color .35s ease;
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: var(--lime); border-radius: 999px;
  transform: translateY(101%); transition: transform .5s cubic-bezier(.76,0,.24,1);
  z-index: 0;
}
.btn-primary:hover { color: var(--green-900); }
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary > * { position: relative; z-index: 1; }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-ghost::before {
  content: ""; position: absolute; inset: 0;
  background: var(--ink); border-radius: 999px;
  transform: translateY(101%); transition: transform .5s cubic-bezier(.76,0,.24,1);
  z-index: 0;
}
.btn-ghost:hover { color: #fff; border-color: var(--ink); }
.btn-ghost:hover::before { transform: translateY(0); }
.btn-ghost > * { position: relative; z-index: 1; }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: clamp(7rem, 14vw, 11rem) clamp(1rem, 4vw, 3rem) clamp(5rem, 12vw, 9rem);
  overflow: hidden;
  min-height: 90vh; display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 60% at 80% 10%, rgba(31,90,34,.16), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(111,191,63,.18), transparent 60%),
    linear-gradient(180deg, #f5f3ec 0%, #eef0e2 100%);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55;
  will-change: transform;
}
.hero-orb-1 { width: 480px; height: 480px; background: var(--lime-light); top: -120px; right: -100px; }
.hero-orb-2 { width: 380px; height: 380px; background: var(--green); bottom: -160px; left: -120px; opacity: .25; }
.hero-grain {
  position: absolute; inset: 0; opacity: .35; mix-blend-mode: overlay;
  background-image:
    linear-gradient(rgba(13,31,18,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,31,18,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; max-width: 1000px; }
.hero-title { overflow: hidden; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span { display: inline-block; transform: translateY(110%); transition: transform 1s cubic-bezier(.76,0,.24,1); }
.hero-title .line span.in { transform: translateY(0); }
.hero-title .line:nth-child(2) span { transition-delay: .15s; }
.lede { font-size: 1.18rem; max-width: 36em; margin-top: 1.4rem; }
.hero-cta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 2rem; }
.trust {
  list-style: none; padding: 0; margin: 3.5rem 0 0;
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  color: var(--muted); font-size: .9rem;
}
.trust strong { color: var(--ink); font-family: 'Fraunces', serif; font-size: 1.5rem; display: block; font-weight: 700; }

.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); z-index: 2;
}
.scroll-line {
  width: 1px; height: 50px; background: var(--ink-soft); position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ""; position: absolute; top: -50px; left: 0; width: 100%; height: 50px;
  background: var(--lime); animation: scrollDown 1.6s ease-in-out infinite;
}
@keyframes scrollDown { 0%{transform:translateY(0);} 100%{transform:translateY(100px);} }

/* ============ Marquee ============ */
.marquee {
  overflow: hidden; padding: 1.6rem 0; background: var(--green-900); color: var(--lime);
  border-block: 1px solid rgba(255,255,255,.06);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-group {
  display: flex; gap: 2.5rem; align-items: center; white-space: nowrap;
  padding-right: 2.5rem;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.6rem;
  font-style: italic; flex-shrink: 0;
}
.marquee-group .dot { color: rgba(111,191,63,.4); font-size: .6rem; }
@keyframes marquee {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-50%,0,0); }
}

/* ============ Sections ============ */
.section { padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem); position: relative; }
.section-alt { background: #fff; }
.section-dark { background: var(--dark); color: #f3eedf; }
.section-dark p { color: #c8c6bd; }
.section-head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::before { display: none; }

/* ============ Reveal ============ */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--rd, 0ms);
}
[data-reveal].in { opacity: 1; transform: translateY(0); }

/* ============ Cards ============ */
.grid { display: grid; gap: 1.25rem; max-width: 1180px; margin: 0 auto; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.85rem 1.6rem 2rem;
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s ease, border-color .4s ease;
  transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(220px circle at var(--mx,50%) var(--my,50%), rgba(111,191,63,.14), transparent 60%);
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.card:hover { box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--green-50); color: var(--green);
  display: grid; place-items: center; margin-bottom: 1.1rem;
  transition: transform .5s cubic-bezier(.22,1,.36,1), background .35s ease, color .35s ease;
}
.card:hover .card-icon { background: var(--green); color: #fff; transform: rotate(-6deg) scale(1.05); }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4rem; }
.card p { font-size: .95rem; margin: 0; }
.card-arrow {
  position: absolute; top: 1.6rem; right: 1.6rem; font-size: 1.4rem; color: var(--muted);
  opacity: 0; transform: translate(-6px, 6px); transition: all .35s cubic-bezier(.22,1,.36,1);
}
.card:hover .card-arrow { opacity: 1; transform: translate(0,0); color: var(--green); }

/* ============ Skip link ============ */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .8rem 1rem;
  z-index: 999; font-size: .85rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ============ About ============ */
.about {
  max-width: 1180px; margin: 0 auto 3.5rem;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: center;
}
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 2.5rem; } }

.founder { margin: 0; position: relative; }
.founder-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 24px; overflow: hidden;
  background: var(--green-50);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.founder-photo:hover { transform: rotate(0deg); }
.founder-photo img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center 25%;
}
.founder-photo-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .4rem;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-700) 100%);
  color: var(--lime-light); pointer-events: none;
}
.founder-photo-fallback span {
  font-family: 'Fraunces', serif; font-style: italic; font-size: 1.4rem;
}
.founder-photo-fallback small {
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7;
}
.founder-photo.no-photo img { display: none; }
.founder-photo:not(.no-photo) .founder-photo-fallback { display: none; }
.founder figcaption {
  position: absolute; bottom: -1.2rem; left: 1.5rem;
  background: var(--card); padding: .8rem 1.2rem; border-radius: 12px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .1rem;
}
.founder-name { font-family: 'Fraunces', serif; font-weight: 600; color: var(--green-900); font-size: 1rem; }
.founder-role { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 860px) {
  .founder-photo { max-width: 380px; margin: 0 auto; }
}
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checks li {
  position: relative; padding-left: 1.8rem; margin-bottom: .7rem;
  color: var(--ink-soft);
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--green-50);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%231f5a22' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12l5 5 9-11'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 70%;
}
.about-stats {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.about-stats > div {
  background: var(--bg); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.6rem 1.8rem;
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .3s ease;
}
.about-stats > div:hover { transform: translateY(-3px); border-color: var(--lime); }
.about-stats strong {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: var(--green); display: block; line-height: 1; font-weight: 700;
  word-break: break-word;
}
.about-stats span { font-size: .9rem; color: var(--muted); margin-top: .4rem; display: block; }
.about-stats > div { padding: 1.3rem 1.2rem; min-width: 0; }
@media (max-width: 860px) { .about-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .about-stats { grid-template-columns: 1fr; } }

/* ============ Service Area ============ */
.area-grid {
  list-style: none; padding: 0; margin: 0;
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.area-grid li {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.4rem 1.4rem;
  display: flex; flex-direction: column; gap: .35rem;
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .3s ease, background .3s ease;
  position: relative; overflow: hidden;
}
.area-grid li::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--lime); transform: scaleY(0);
  transition: transform .4s cubic-bezier(.22,1,.36,1); transform-origin: bottom;
}
.area-grid li:hover { transform: translateY(-3px); border-color: var(--green-50); }
.area-grid li:hover::before { transform: scaleY(1); transform-origin: top; }
.area-grid strong {
  font-family: 'Fraunces', serif; font-size: 1.15rem;
  font-weight: 600; color: var(--green-900);
}
.area-grid span {
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 900px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .area-grid { grid-template-columns: 1fr; } }

/* ============ Before / After ============ */
.ba-list {
  display: grid; gap: 3.5rem;
  max-width: 1180px; margin: 0 auto;
}
.ba-pair {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: center;
}
.ba-pair:nth-child(even) { grid-template-columns: 1fr 1.5fr; }
.ba-pair:nth-child(even) .ba-photos { order: 2; }
@media (max-width: 860px) {
  .ba-pair, .ba-pair:nth-child(even) { grid-template-columns: 1fr; gap: 1.5rem; }
  .ba-pair:nth-child(even) .ba-photos { order: 0; }
}

.ba-photos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ink);
}
.ba-photo {
  position: relative; margin: 0;
  aspect-ratio: 3 / 4; overflow: hidden;
}
.ba-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s cubic-bezier(.22,1,.36,1), filter .6s ease;
  filter: saturate(.95);
}
.ba-photo:hover img { transform: scale(1.03); filter: saturate(1.05); }
.ba-photo figcaption {
  position: absolute; top: .9rem; left: .9rem;
  background: rgba(10, 31, 12, .82); color: #fff;
  padding: .4rem .85rem; border-radius: 999px;
  font-family: 'Inter', sans-serif; font-size: .68rem;
  font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ba-photo:last-child figcaption {
  background: var(--lime); color: var(--green-900);
}

.ba-meta { padding: .5rem 0; }
.ba-tag {
  font-family: 'Inter', sans-serif; font-size: .72rem;
  font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green); margin: 0 0 .8rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.ba-tag::before {
  content: ""; width: 20px; height: 1px; background: currentColor;
}
.ba-meta h3 {
  font-family: 'Fraunces', serif; font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 600; margin: 0 0 .9rem; line-height: 1.15;
  color: var(--ink);
}
.ba-meta p { max-width: 50ch; margin: 0; color: var(--ink-soft); }

/* ============ FAQ ============ */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 600;
  color: var(--ink); padding: .3rem 0;
  transition: color .25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green); }
.faq-toggle {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-50); color: var(--green);
  display: grid; place-items: center; font-size: 1.3rem; font-weight: 400;
  transition: transform .35s cubic-bezier(.22,1,.36,1), background .25s ease;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--green); color: #fff; }
.faq-item p {
  margin: 1rem 0 .3rem;
  max-width: 70ch; color: var(--ink-soft);
  animation: faqIn .35s ease;
}
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ============ Gallery ============ */
.gallery {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.tile {
  position: relative; margin: 0;
  display: flex; flex-direction: column;
  border-radius: 18px; overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .5s cubic-bezier(.22,1,.36,1), border-color .3s ease;
}
.tile:hover { transform: translateY(-4px); border-color: transparent; }
.tile-img-wrap, .tile > img {
  width: 100%; aspect-ratio: 4 / 5;
  object-fit: cover; display: block;
  transition: transform .9s cubic-bezier(.22,1,.36,1), filter .5s ease;
  background: var(--green-50);
}
.tile:hover > img { transform: scale(1.04); }
.tile figcaption {
  padding: 1rem 1.1rem 1.1rem;
  display: flex; flex-direction: column; gap: .35rem;
  border-top: 1px solid var(--line);
}
.tile-tag {
  font-family: 'Inter', sans-serif; font-size: .68rem;
  font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green);
}
.tile-title {
  font-family: 'Fraunces', serif; font-size: 1.05rem;
  font-weight: 600; color: var(--ink); line-height: 1.25;
}
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
}

/* ============ Contact ============ */
.contact {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start;
  min-width: 0;
}
.contact > * { min-width: 0; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 2.5rem; } }
.contact h2 { color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li {
  display: flex; gap: 1rem; padding: 1.2rem 0;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap; min-width: 0;
}
.contact-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-list span {
  flex-shrink: 0;
  width: 70px; font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--lime); padding-top: .2rem;
}
.contact-list a {
  color: #fff; position: relative;
  word-break: break-word; overflow-wrap: anywhere;
  min-width: 0; flex: 1;
}
.contact-list a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: var(--lime);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.contact-list a:hover::after { transform: scaleX(1); transform-origin: left; }

.contact-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px; padding: 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  min-width: 0; box-sizing: border-box;
}
@media (max-width: 600px) {
  .contact-form { grid-template-columns: 1fr; padding: 1.25rem; }
  .contact-form .full { grid-column: 1 / -1; }
}
.contact-form label { min-width: 0; }
.contact-form input,
.contact-form select,
.contact-form textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
.contact-form textarea { resize: vertical; }
.contact-form label {
  display: flex; flex-direction: column; gap: .4rem;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: #c8c6bd;
}
.contact-form .full { grid-column: 1 / -1; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  padding: .9rem 1rem; border-radius: 12px;
  font: inherit; text-transform: none; letter-spacing: 0;
  transition: border-color .3s ease, background .3s ease;
  cursor: pointer;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--lime); background: rgba(111,191,63,.06);
}
.contact-form select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}
.contact-form select option {
  background: var(--dark);
  color: #fff;
  padding: .5rem;
}
.contact-form button.full { margin-top: .5rem; }
.form-success, .form-error {
  grid-column: 1 / -1; margin: 0;
  padding: .9rem 1rem; border-radius: 12px; font-weight: 600;
  text-transform: none; letter-spacing: 0;
}
.form-success {
  background: var(--green-50); color: var(--green-700);
}
.form-error {
  background: rgba(220, 80, 80, .12);
  color: #ff9a9a;
  border: 1px solid rgba(220, 80, 80, .25);
}

/* ============ Footer ============ */
.footer {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  background: #050d07; color: #6a7570; font-size: .85rem;
  border-top: 1px solid rgba(255,255,255,.05);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-title .line span { transform: none !important; }
}
