/* ===========================================================
   West Keystone
   Palette: near-black ink, warm cream paper, one quiet accent
   Type:    Fraunces (editorial serif) + Inter (clean sans)
   =========================================================== */

:root {
  --ink: #121110;
  --ink-soft: #3a3733;
  --paper: #f6f3ec;
  --paper-2: #efeae0;
  --white: #ffffff;
  --line: #d9d3c7;
  --accent: #b8552f;        /* warm terracotta, used sparingly */
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Scroll reveal: fade + slide up as sections enter view (see js/main.js) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--ink); color: var(--paper); }

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}
.eyebrow.light { color: rgba(246, 243, 236, 0.7); }

.section-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-top: 0.6rem;
}

/* ---------- Buttons (the slide-fill hover) ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.8rem;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid var(--ink);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
  font-family: inherit;
}
/* The fill that slides up from the bottom on hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); }

/* Solid black button -> slides to cream on hover */
.btn-fill { background: var(--ink); color: var(--paper); }
.btn-fill::before { background: var(--paper); transform: translateY(101%); }
.btn-fill:hover { color: var(--ink); border-color: var(--ink); }

/* Outline button -> fills black on hover */
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { color: var(--paper); }

/* Ghost (header) */
.btn-ghost {
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
  border-color: var(--ink);
}
.btn-ghost:hover { color: var(--paper); }

.btn-block { width: 100%; }

/* ===========================================================
   Header
   =========================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem clamp(1.2rem, 4vw, 3rem);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(246, 243, 236, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  padding: 0.9rem clamp(1.2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.logo-mark { height: 1.5em; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 120;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.4rem;
  padding: 2rem clamp(1.4rem, 8vw, 3rem);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: "Fraunces", serif;
  font-size: 2.2rem;
  font-weight: 400;
  text-decoration: none;
  color: var(--ink);
}
.mobile-menu a.btn-fill { font-family: "Inter", sans-serif; font-size: 1rem; margin-top: 1.4rem; color: var(--paper); padding: 0.95rem 1.8rem; }
@media (min-width: 761px) { .mobile-menu { display: none; } }

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem clamp(1.2rem, 4vw, 3rem) 4rem;
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-inner { max-width: 920px; }
.hero-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 1.4rem 0 1.8rem;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 620px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.6rem;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.4rem;
  left: clamp(1.2rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.scroll-line {
  width: 50px; height: 1px;
  background: var(--ink-soft);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-100%);
  animation: scrollSlide 2.2s var(--ease) infinite;
}
@keyframes scrollSlide {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ===========================================================
   Marquee
   =========================================================== */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--paper-2);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
}
.marquee-track .dot { color: var(--accent); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===========================================================
   Work / Gallery wall (horizontal on scroll)
   =========================================================== */
.work { padding-top: 6rem; }
.work-intro {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
}

/* ===========================================================
   Work hint + foot note
   =========================================================== */
.work-hint {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.hint-touch { display: none; }
@media (max-width: 760px) {
  .hint-desktop { display: none; }
  .hint-touch { display: inline; }
}
@media (hover: none) and (pointer: coarse) {
  .hint-desktop { display: none; }
  .hint-touch { display: inline; }
}
.work-foot {
  max-width: 720px;
  margin: 2.4rem auto 0;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.work-foot em { font-style: italic; color: var(--ink); }

/* ===========================================================
   The gallery wall (curved 3D grid of sites)
   =========================================================== */
.wall {
  position: relative;
  height: 770px;
  margin-top: 2.6rem;
  perspective: 1150px;
  perspective-origin: 50% 50%;
  overflow: hidden;
  cursor: grab;
  background: var(--ink);
  border-radius: 20px;
  touch-action: pan-y;
}
.wall:active { cursor: grabbing; }
.wall.has-focus { cursor: default; }

.wall-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

/* A tile = one screenshot in the wall. Outer = 3D placement (JS).
   Inner = hover/visual (CSS), so the two never fight. */
.tile {
  position: absolute;
  top: 50%; left: 50%;
  width: 198px; height: 134px;
  margin: -67px 0 0 -99px;
  transform-style: preserve-3d;
  will-change: transform;
}
.tile-inner {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 26px 46px -24px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  filter: brightness(1);
  backface-visibility: hidden;
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.wall:not(.is-flat) .tile:hover .tile-inner {
  transform: scale(1.05);
  filter: brightness(1.08);
  box-shadow: 0 40px 70px -22px rgba(0, 0, 0, 0.9);
}
.tile-tag {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.7rem 0.9rem 0.75rem;
  background: linear-gradient(to top, rgba(10, 9, 8, 0.94), rgba(10, 9, 8, 0));
  color: #fff;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.wall:not(.is-flat) .tile:hover .tile-tag,
.tile.is-focused .tile-tag { opacity: 1; }
.tile-tag h3 { font-family: "Fraunces", serif; font-weight: 500; font-size: 1rem; line-height: 1.1; }
.tile-tag .cat { font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.78; display: block; margin-top: 0.1rem; }
.tile-visit {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 0.35rem 0.85rem;
  border: 1.4px solid rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), background 0.3s, color 0.3s;
}
.tile-visit:hover { background: #fff; color: var(--ink); }
.tile.is-focused .tile-visit { opacity: 1; pointer-events: auto; }
.tile.is-focused { z-index: 6; }
.tile.is-dim .tile-inner { filter: brightness(0.35) saturate(0.55); }

.wall-reset {
  position: absolute;
  left: 50%; bottom: 1.2rem;
  transform: translateX(-50%) translateY(10px);
  background: var(--paper);
  color: var(--ink);
  border: none;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.6rem 1.3rem;
  border-radius: 100px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  z-index: 10;
}
.wall.has-focus .wall-reset { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }

/* Flat fallback (phones / reduced motion): simple responsive grid */
.wall.is-flat {
  perspective: none;
  height: auto;
  overflow: visible;
  cursor: default;
  background: transparent;
  padding: 0;
}
.wall.is-flat .wall-stage {
  position: static;
  transform: none !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.wall.is-flat .tile {
  position: relative;
  top: auto; left: auto;
  margin: 0;
  width: auto; height: 150px;
  transform: none !important;
}
.wall.is-flat .tile:not(.tile-hero) { display: none; }  /* one card per demo on mobile */
.wall.is-flat .tile-inner { filter: none; }
.wall.is-flat .tile-tag { opacity: 1; }
.wall.is-flat .tile-visit { opacity: 1; pointer-events: auto; }
.wall.is-flat .wall-reset { display: none; }

/* ===========================================================
   Services
   =========================================================== */
.services {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 7rem clamp(1.2rem, 4vw, 3rem);
}
.services-head { max-width: 700px; margin-bottom: 3.4rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.8rem 2.6rem;
  padding-top: 2.6rem;
  border-top: 1px solid var(--line);
}
.service {
  padding: 0 1rem 0 0;
  position: relative;
}
.service-num {
  font-family: "Fraunces", serif;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}
.service h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0.8rem 0 0.6rem;
}
.service p { color: var(--ink-soft); font-size: 0.95rem; padding-right: 1rem; }

/* ===========================================================
   Process
   =========================================================== */
.process {
  background: var(--ink);
  color: var(--paper);
}
.process-head, .process-steps {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: clamp(1.2rem, 4vw, 3rem);
  padding-right: clamp(1.2rem, 4vw, 3rem);
}
.process-head { padding-top: 7rem; max-width: 700px; }
.process-head .eyebrow { color: rgba(246,243,236,0.6); }
.process-head .section-title { color: var(--paper); }
.process-steps {
  list-style: none;
  padding-top: 3rem;
  padding-bottom: 7rem;
}
.process-steps li {
  display: flex;
  gap: 2rem;
  padding: 2.2rem 0;
  border-top: 1px solid rgba(246,243,236,0.16);
  align-items: baseline;
}
.process-steps li:last-child { border-bottom: 1px solid rgba(246,243,236,0.16); }
.step-num {
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  color: var(--accent);
  flex: 0 0 auto;
  width: 3rem;
}
.process-steps h3 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}
.process-steps p { color: rgba(246,243,236,0.72); max-width: 560px; }

/* ===========================================================
   Pricing
   =========================================================== */
.pricing {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 7rem clamp(1.2rem, 4vw, 3rem);
}
.pricing-head { max-width: 640px; margin-bottom: 3.4rem; }
.pricing-sub { color: var(--ink-soft); font-size: 1.05rem; margin-top: 1.1rem; }

.pricing-group { margin-bottom: 3.2rem; }
.pricing-group:last-of-type { margin-bottom: 2.4rem; }
.pricing-group-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}
.price-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.2rem 1.8rem;
  background: var(--white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 55px -30px rgba(18, 17, 16, 0.22);
}
.price-card-feat { border-color: var(--ink); border-width: 1.5px; }
.price-tag {
  position: absolute;
  top: -0.7rem;
  left: 1.8rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
}
.price-card h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.price-from {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 0.9rem;
}
.price-amt {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 2.1rem;
  color: var(--accent);
  margin: 0.3rem 0 0.9rem;
}
.price-amt span { font-size: 1rem; color: var(--ink-soft); font-family: "Inter", sans-serif; }
.price-desc { color: var(--ink-soft); font-size: 0.94rem; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.price-list li {
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding-left: 1.2rem;
  position: relative;
}
.price-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }

.pricing-note {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}

/* ===========================================================
   About
   =========================================================== */
.about {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 7rem clamp(1.2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: start;
}
.about-head { position: sticky; top: 6rem; }
.about-sign {
  margin-top: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.about-body p {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1.3rem;
}
.about-body strong { color: var(--accent); font-weight: 600; }
.about-points {
  list-style: none;
  margin: 2rem 0 1.5rem;
  border-top: 1px solid var(--line);
}
.about-points li {
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 1rem;
  color: var(--ink);
}
.about-points li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.about-byline {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.3rem !important;
  color: var(--ink) !important;
}
@media (max-width: 760px) {
  .about-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .about-head { position: static; }
}

/* ===========================================================
   Book a call
   =========================================================== */
.book {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 7rem clamp(1.2rem, 4vw, 3rem) 4rem;
}
.book-head { max-width: 640px; margin-bottom: 2.6rem; }
.book-sub { color: var(--ink-soft); font-size: 1.05rem; margin-top: 1.1rem; }
.book-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.6rem clamp(1.6rem, 4vw, 3rem);
  background: var(--white);
  box-shadow: 0 30px 60px -34px rgba(18, 17, 16, 0.18);
}
.book-card-icon {
  flex: 0 0 auto;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.book-card-icon span {
  width: 6px; height: 26px;
  border-radius: 3px;
  background: var(--accent);
}
.book-card-icon span:nth-child(2) { height: 34px; background: var(--paper); }
.book-card-icon span:nth-child(3) { height: 18px; }
.book-card-copy { flex: 1; }
.book-card-copy h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.book-card-copy p { color: var(--ink-soft); font-size: 0.95rem; }
.book-card .btn { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 700px) {
  .book-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .book-card .btn { width: 100%; justify-content: center; }
}

/* ===========================================================
   Contact
   =========================================================== */
.contact {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 7rem clamp(1.2rem, 4vw, 3rem);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-copy .eyebrow { color: var(--ink-soft); }
.contact-title {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0.8rem 0 1.4rem;
}
.contact-sub { color: var(--ink-soft); max-width: 440px; font-size: 1.05rem; }
.contact-email { margin-top: 1.6rem; font-size: 0.95rem; }
.contact-email a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.hidden-field { display: none; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}
.field input, .field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.3s var(--ease);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder { color: #b3aa99; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); text-align: center; }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 3rem clamp(1.2rem, 4vw, 3rem);
}
.footer-top, .footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.footer-nav { display: flex; gap: 1.6rem; }
.footer-nav a, .footer-bottom a { color: var(--ink); text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover, .footer-bottom a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 860px) {
  .nav { gap: 1.1rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.4rem; }
}

/* Mobile: swap the inline nav for the hamburger menu */
@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 520px) {
  .hero { padding-top: 7rem; }
  .hero-actions .btn { flex: 1; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
