/* =========================================================
   Native AI — styles
   Small AI tools, shipped fast.
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }
.honey { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ---------- Tokens ---------- */
:root {
  --ink:        #0F0E0C;
  --ink-2:      #1B1916;
  --ink-3:      #2A2620;

  --paper:      #F5EFE6;
  --paper-2:    #EDE5D6;
  --paper-3:    #DED4C0;

  --terracotta: #CC785C;
  --terracotta-d: #A85B45;
  --ochre:      #D4A574;
  --gold:       #FFD166;
  --sage:       #8B9D83;
  --sky:        #7AA2F7;
  --rose:       #E8A1A1;

  --serif:      'Fraunces', 'Times New Roman', Georgia, serif;
  --sans:       'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono:       'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;

  --container:  1200px;
  --pad:        clamp(1.5rem, 4vw, 4rem);

  --shadow-sm:  0 1px 2px rgba(15,14,12,.04), 0 4px 12px rgba(15,14,12,.04);
  --shadow-md:  0 8px 32px rgba(15,14,12,.08);
  --shadow-lg:  0 24px 72px rgba(15,14,12,.18);
}

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
em {
  font-style: italic;
  font-feature-settings: "ss01";
  color: var(--terracotta);
}
strong { font-weight: 600; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform .25s ease; }
.btn--ghost {
  border-color: rgba(245,239,230,.22);
  color: var(--paper);
  background: rgba(245,239,230,.04);
}
.btn--ghost:hover { background: rgba(245,239,230,.10); border-color: var(--gold); }
.btn--ghost:hover .arrow { transform: translateX(3px); }
.btn--quiet {
  color: var(--paper);
  opacity: .7;
}
.btn--quiet:hover { opacity: 1; color: var(--gold); }
.btn--solid {
  background: var(--paper);
  color: var(--ink);
  border: none;
  padding: 0.95rem 1.6rem;
  font-weight: 600;
}
.btn--solid:hover {
  background: var(--gold);
  transform: translateY(-2px);
}
.btn--solid:hover .arrow { transform: translateX(4px); }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  z-index: 100;
  transition: width .05s linear;
  box-shadow: 0 0 12px rgba(255,209,102,.5);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 1rem; left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 0.55rem 0.55rem 0.55rem 1.1rem;
  background: rgba(245,239,230,.72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border: 1px solid rgba(15,14,12,.08);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  max-width: calc(100% - 2rem);
  transition: background .35s, border-color .35s, color .35s, transform .35s;
}
.nav.dark {
  background: rgba(15,14,12,.72);
  border-color: rgba(245,239,230,.12);
  color: var(--paper);
}
.nav__brand {
  display: flex; align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}
.nav__mark {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold), var(--terracotta) 60%, var(--terracotta-d));
  box-shadow: 0 0 0 1px rgba(15,14,12,.05), 0 0 12px rgba(255,209,102,.5);
  animation: glow 3.2s ease-in-out infinite;
}
.nav.dark .nav__mark { box-shadow: 0 0 0 1px rgba(245,239,230,.08), 0 0 14px rgba(255,209,102,.6); }
@keyframes glow {
  0%,100% { box-shadow: 0 0 0 1px rgba(15,14,12,.05), 0 0 8px rgba(255,209,102,.4); }
  50%     { box-shadow: 0 0 0 1px rgba(15,14,12,.05), 0 0 18px rgba(255,209,102,.65); }
}
.nav__name { font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.nav__links { list-style: none; display: flex; gap: 1.2rem; white-space: nowrap; }
.nav__links a { text-decoration: none; opacity: .65; transition: opacity .2s, color .2s; white-space: nowrap; }
.nav__links a:hover { opacity: 1; color: var(--terracotta); }
.nav.dark .nav__links a:hover { color: var(--gold); }
.nav__cta {
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .25s, background .25s;
}
.nav.dark .nav__cta { background: var(--paper); color: var(--ink); }
.nav__cta:hover { transform: translateY(-1px); }
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav { gap: 0.8rem; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 7rem var(--pad) 5rem;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero__mesh {
  position: absolute; inset: -25%;
  z-index: 0;
  background:
    radial-gradient(closest-side at 18% 32%, rgba(204,120,92,.55), transparent 60%),
    radial-gradient(closest-side at 82% 22%, rgba(255,209,102,.32), transparent 55%),
    radial-gradient(closest-side at 62% 82%, rgba(122,162,247,.28), transparent 60%),
    radial-gradient(closest-side at 28% 88%, rgba(232,161,161,.22), transparent 55%),
    radial-gradient(closest-side at 92% 65%, rgba(212,165,116,.25), transparent 55%);
  filter: blur(60px) saturate(115%);
  animation: meshFloat 30s ease-in-out infinite alternate;
}
@keyframes meshFloat {
  0%   { transform: translate(0, 0)    rotate(0deg)  scale(1); }
  100% { transform: translate(2%, -3%) rotate(6deg)  scale(1.05); }
}
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  opacity: 0.55;
  pointer-events: auto;
}
.hero__grain {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.85'/></svg>");
}

.hero__inner {
  position: relative;
  z-index: 3;
  max-width: 980px;
}
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.62;
  margin-bottom: 2rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.hero__eyebrow .dot { color: var(--gold); }
.hero__headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 2rem;
}
.hero__line { display: block; }
.hero__line:nth-child(1) {
  opacity: 0;
  animation: heroLine 1s .4s cubic-bezier(.2,.7,.3,1) forwards;
}
.hero__line:nth-child(2) {
  opacity: 0;
  animation: heroLine 1s .75s cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes heroLine {
  from { opacity: 0; transform: translateY(28px); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero__line em {
  font-style: italic;
  background: linear-gradient(115deg, var(--gold) 0%, var(--terracotta) 60%, var(--rose) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero__sub {
  max-width: 620px;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  opacity: 0.85;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0;
  animation: heroLine .9s 1.05s cubic-bezier(.2,.7,.3,1) forwards;
}
.hero__sub a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,209,102,.4); }
.hero__sub a:hover { text-decoration-color: var(--gold); }
.hero__cues {
  display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center;
  opacity: 0;
  animation: heroLine .9s 1.3s cubic-bezier(.2,.7,.3,1) forwards;
}

/* ---------- Section base ---------- */
section { padding: clamp(4.5rem, 10vw, 9rem) 0; position: relative; }
.section__label {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 2.6rem;
  display: inline-block;
}
.section__label::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: currentColor;
  opacity: .5;
  vertical-align: middle;
  margin-right: 0.8rem;
}
.section__title {
  font-size: clamp(2rem, 5.4vw, 4.2rem);
  line-height: 1.02;
  margin-bottom: 1.2rem;
  max-width: 22ch;
  font-weight: 300;
}
.section__intro {
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  max-width: 60ch;
  opacity: 0.7;
  margin-bottom: 4rem;
  line-height: 1.55;
}
.section__intro a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(204,120,92,.4);
}
.section__intro a:hover { text-decoration-color: var(--terracotta); }

/* ---------- Approach ---------- */
.approach { background: var(--paper); }
.approach__lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  max-width: 24ch;
  letter-spacing: -0.025em;
}
.approach__intro {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  max-width: 56ch;
  opacity: 0.78;
  margin-bottom: 4rem;
  line-height: 1.6;
}

.principles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.6rem;
  counter-reset: principles;
}
.principle {
  background: var(--paper-2);
  padding: 2rem 1.8rem;
  border-radius: 20px;
  border: 1px solid rgba(15,14,12,.06);
  display: flex; flex-direction: column;
  gap: 0.8rem;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.principle:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(204,120,92,.35);
}
.principle__num {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--terracotta);
  text-transform: uppercase;
  font-weight: 500;
}
.principle h3 {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.018em;
}
.principle p {
  font-size: 0.95rem;
  opacity: 0.78;
  line-height: 1.6;
}

/* ---------- The Field (showcase) ---------- */
.field { background: var(--paper-2); position: relative; overflow: hidden; }
.field__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(255,209,102,.16), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(204,120,92,.12), transparent 55%);
  z-index: 0;
}
.field .container { position: relative; z-index: 1; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.4rem;
}
.card {
  background: var(--paper);
  border-radius: 22px;
  border: 1px solid rgba(15,14,12,.06);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s, border-color .35s;
  isolation: isolate;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(204,120,92,.4);
}
.card__img {
  aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--tone-1), var(--tone-2));
  overflow: hidden;
}
.card__img::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.85'/></svg>");
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.card__img[data-tone="terracotta"] { --tone-1: #CC785C; --tone-2: #A85B45; }
.card__img[data-tone="gold"]       { --tone-1: #FFD166; --tone-2: #CC9A33; }
.card__img[data-tone="ochre"]      { --tone-1: #D4A574; --tone-2: #A47A47; }
.card__img[data-tone="sky"]        { --tone-1: #7AA2F7; --tone-2: #4F77C4; }
.card__img[data-tone="sage"]       { --tone-1: #8B9D83; --tone-2: #5F7158; }

.card__icon {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  filter: drop-shadow(0 4px 12px rgba(15,14,12,.18));
  position: relative;
  z-index: 1;
}
.card__img--empty {
  background: var(--paper-2);
  border: 1px dashed rgba(15,14,12,.16);
}
.card__img--empty .card__icon {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--terracotta);
  opacity: 0.7;
  filter: none;
}
.card--cta { border-style: dashed; }
.card--cta:hover .card__icon { transform: rotate(90deg); transition: transform .35s; }

.card__body {
  padding: 1.6rem 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.card__tags {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-bottom: 0.2rem;
}
.card__tags span {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(15,14,12,.05);
  opacity: 0.7;
}
.card__title {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.018em;
}
.card__desc {
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.78;
  flex: 1;
}
.card__by {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  opacity: 0.55;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(15,14,12,.06);
}
.card__arrow {
  transition: transform .25s, color .25s;
}
.card:hover .card__arrow {
  transform: translate(3px, -3px);
  color: var(--terracotta);
}

/* ---------- Services ---------- */
.services { background: var(--ink); color: var(--paper); }
.services .section__title { color: var(--paper); }
.services .section__label, .services .section__intro { opacity: 0.7; }

.svc__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
@media (min-width: 720px) {
  .svc__grid { grid-template-columns: repeat(2, 1fr); }
}
.svc {
  position: relative;
  background: var(--ink-2);
  border: 1px solid rgba(245,239,230,.08);
  border-radius: 22px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  transition: transform .35s, border-color .35s, background .35s;
  isolation: isolate;
}
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx,50%) var(--my,0%), var(--accent, var(--terracotta)) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  z-index: -1;
  filter: blur(20px);
}
.svc:hover {
  transform: translateY(-4px);
  border-color: var(--accent, var(--terracotta));
  background: var(--ink-3);
}
.svc:hover::before { opacity: 0.32; }

.svc[data-color="terracotta"] { --accent: #CC785C; }
.svc[data-color="gold"]       { --accent: #FFD166; }
.svc[data-color="sage"]       { --accent: #8B9D83; }
.svc[data-color="sky"]        { --accent: #7AA2F7; }

.svc__eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.svc h3 {
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.022em;
}
.svc h3 em {
  font-style: italic;
  color: var(--accent);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.svc__desc {
  font-size: 1rem;
  line-height: 1.55;
  opacity: 0.82;
  font-weight: 300;
}
.svc__bullets {
  list-style: none;
  margin-top: 0.6rem;
}
.svc__bullets li {
  font-size: 0.88rem;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(245,239,230,.08);
  opacity: 0.8;
}
.svc__bullets li:last-child { border-bottom: 1px solid rgba(245,239,230,.08); }
.svc__cta {
  margin-top: auto;
  padding-top: 0.6rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.svc:hover .svc__cta .arrow { transform: translateX(4px); }
.svc__cta .arrow { transition: transform .3s; }

/* ---------- About ---------- */
.about {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.about__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 100% 50%, rgba(255,209,102,.12), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(212,165,116,.12), transparent 55%);
  z-index: 0;
}
.about__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative; z-index: 1;
}
@media (max-width: 880px) {
  .about__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
.about__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 2.5rem;
  max-width: 22ch;
}
.about__body {
  display: flex; flex-direction: column;
  gap: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-3);
  max-width: 56ch;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.stat {
  background: var(--paper-2);
  border-radius: 16px;
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border: 1px solid rgba(15,14,12,.05);
}
.stat__num {
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--terracotta);
}
.stat__lbl {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ---------- Submit (community submission) ---------- */
.submit { background: var(--paper-2); }
.submit__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1.6rem;
  max-width: 760px;
}
.submit__form .btn--solid {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0.6rem;
}
.submit__status {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  min-height: 1.2em;
  opacity: 0;
  transition: opacity .25s;
}
.submit__status:not(:empty) { opacity: 0.85; }
.submit__status[data-state="ok"]  { color: var(--terracotta); }
.submit__status[data-state="err"] { color: var(--terracotta-d); }

/* ---------- Field input (shared by both forms) ---------- */
.field-input { display: flex; flex-direction: column; gap: 0.55rem; }
.field-input--full { grid-column: 1 / -1; }
.field-input__label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
}
.field-input input,
.field-input textarea,
.field-input select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(15,14,12,.18);
  padding: 0.55rem 0;
  font: inherit;
  font-family: var(--sans);
  font-size: 1rem;
  resize: vertical;
  transition: border-color .25s;
  color: var(--ink);
}
.field-input textarea { padding-top: 0.6rem; min-height: 90px; }
.field-input input::placeholder,
.field-input textarea::placeholder { color: rgba(15,14,12,.35); }
.field-input input:focus,
.field-input textarea:focus,
.field-input select:focus {
  outline: none;
  border-bottom-color: var(--terracotta);
}

/* select — strip native chrome, draw arrow with CSS on the wrapper */
.field-input__select-wrap {
  position: relative;
  display: block;
}
.field-input__select-wrap::after {
  content: "";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  margin-top: -2px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
  opacity: 0.7;
}
.field-input__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
  background-color: transparent;
  padding-right: 1.6rem;
  cursor: pointer;
}

@media (max-width: 600px) {
  .submit__form { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.contact__mesh {
  position: absolute; inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 90% 100%, rgba(255,209,102,.18), transparent 55%),
    radial-gradient(ellipse at 10% 0%,  rgba(204,120,92,.18), transparent 55%);
  pointer-events: none;
}
.contact .container { position: relative; z-index: 1; }
.contact .section__label { opacity: .65; }
.contact__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 1.2rem;
  letter-spacing: -0.025em;
  max-width: 22ch;
}
.contact__title em {
  background: linear-gradient(120deg, var(--gold), var(--terracotta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact__intro {
  max-width: 56ch;
  opacity: 0.78;
  margin-bottom: 3rem;
  font-size: 1.05rem;
  line-height: 1.6;
}
.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1.6rem;
  max-width: 760px;
}
.contact__form .field-input input,
.contact__form .field-input textarea,
.contact__form .field-input select {
  border-bottom-color: rgba(245,239,230,.22);
  color: var(--paper);
}
.contact__form .field-input input::placeholder,
.contact__form .field-input textarea::placeholder {
  color: rgba(245,239,230,.35);
}
.contact__form .field-input input:focus,
.contact__form .field-input textarea:focus,
.contact__form .field-input select:focus {
  border-bottom-color: var(--gold);
}
.contact__form .field-input__select option {
  background: var(--ink-2); color: var(--paper);
}

.contact__form .btn--solid {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 1rem;
}
.contact__status {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  min-height: 1.2em;
  opacity: 0;
  transition: opacity .25s;
  margin-top: -.4rem;
}
.contact__status:not(:empty) { opacity: 0.85; }
.contact__status[data-state="ok"]  { color: var(--gold); }
.contact__status[data-state="err"] { color: var(--rose); }
.contact__status a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact__privacy {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  opacity: 0.45;
  margin-top: 0.5rem;
  line-height: 1.5;
}
.contact__privacy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s, opacity .2s;
}
.contact__privacy a:hover { color: var(--gold); opacity: 1; }

@media (max-width: 600px) {
  .contact__form { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.foot {
  background: var(--ink-2);
  color: var(--paper);
  padding: 4.5rem 0 2rem;
}
.foot__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}
.foot__about { display: flex; flex-direction: column; gap: 1rem; }
.foot__brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  text-decoration: none;
  color: inherit;
  letter-spacing: -0.01em;
}
.foot__small { opacity: 0.6; font-size: 0.92rem; max-width: 36ch; line-height: 1.55; }
.foot__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}
.foot__cols ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.9rem; }
.foot__cols ul strong {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 0.6rem;
}
.foot__cols a { text-decoration: none; opacity: 0.78; transition: opacity .25s, color .25s; }
.foot__cols a:hover { opacity: 1; color: var(--gold); }
.foot__signoff {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  opacity: 0.55;
  padding-top: 2rem;
  border-top: 1px solid rgba(245,239,230,.08);
  text-transform: uppercase;
}
.foot__pulse { display: flex; align-items: center; gap: 0.55rem; }
.pulse {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 0.5; transform: scale(.95); }
  50%      { opacity: 1;   transform: scale(1.15); }
}
@media (max-width: 760px) {
  .foot__inner { grid-template-columns: 1fr; }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.3,1), transform .9s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero__mesh { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .hero__line, .hero__sub, .hero__cues { opacity: 1; animation: none; }
}
