/* Dos Agaves — site styles */
:root {
  --green: #0D4733;
  --green-ink: #0B2A1F;
  --ink: #1C2B24;
  --muted: #4C5A53;
  --paper: #F1F3EE;
  --card: #FAFBF8;
  --mint: #E3EAE4;
  --mint-2: #DCE5DF;
  --on-green: #EEF3EF;
  --on-green-2: #C9D9D0;
  --on-green-3: #A8C2B6;
  --line: rgba(13, 71, 51, 0.12);
  --accent: #FF8562;

  --agave: #CDB78A;
  --coffee: #5A3F2E;
  --sugar: #E9E1CC;

  --display: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  --body: 'Inter', 'Noto Sans Armenian', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="hy"] body { --display: 'Noto Sans Armenian', 'Bricolage Grotesque', sans-serif; }
a { color: inherit; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--accent); color: var(--green-ink);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 75%;
  text-transform: uppercase;
  line-height: 0.9;
}
html[lang="hy"] .display { font-stretch: 100%; line-height: 1.02; letter-spacing: -0.01em; }
.display span { display: block; }
.h1 { font-size: clamp(54px, 8.4vw, 128px); line-height: 0.88; }
.h2 { font-size: clamp(46px, 6.2vw, 84px); color: var(--green); }
.h3 { font-size: 36px; line-height: 0.95; color: var(--green); }
html[lang="hy"] .h1 { font-size: clamp(40px, 6vw, 92px); }
html[lang="hy"] .h2 { font-size: clamp(34px, 4.6vw, 62px); }
html[lang="hy"] .h3 { font-size: 28px; }

.eyebrow {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
.lede { margin: 18px 0 0; font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 40em; }
.mono { font-family: var(--mono); }
.accent { color: var(--accent); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn-accent { background: var(--accent); color: var(--green-ink); }
.btn-green { background: var(--green); color: var(--on-green); }
.btn-ghost-light { border-color: rgba(238,243,239,0.45); color: var(--on-green); background: transparent; }
.btn-ghost { border-color: var(--green); color: var(--green); background: transparent; }

.link { text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- header ---------- */
.top { background: var(--green); color: var(--on-green); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--green);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,0.6); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px 16px; padding-top: 14px; padding-bottom: 14px; color: var(--on-green);
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--on-green); }
.brand-mark { height: 36px; width: auto; }
.brand-wordmark { height: 17px; width: auto; }
/* The logo is brand green; show it in white on the green header and footer. */
.brand-mark, .brand-wordmark, .footer-logo { filter: brightness(0) invert(1); opacity: .94; }
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--on-green); }
.nav a[aria-current="true"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 14px; }

.lang { display: flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: 13px; color: var(--on-green-3); }
.lang button {
  min-height: 36px; min-width: 40px; padding: 0 6px; border: 0; border-radius: 8px;
  background: transparent; color: var(--on-green-3); cursor: pointer; font-family: var(--mono); font-size: 13px;
}
.lang button[aria-pressed="true"] { color: var(--on-green); font-weight: 600; }
.lang button:hover { color: var(--on-green); }
.lang button[lang="hy"] { font-family: 'Noto Sans Armenian', sans-serif; font-weight: 600; }

.burger {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border-radius: 12px;
  border: 1.5px solid rgba(238,243,239,0.35); background: transparent; color: var(--on-green); cursor: pointer;
}
.mobile-nav {
  flex-basis: 100%; display: flex; flex-direction: column;
  border-top: 1px solid rgba(238,243,239,0.15); padding: 8px 0 12px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a:not(.btn) {
  display: flex; align-items: center; min-height: 52px; color: var(--on-green); text-decoration: none;
  font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: 28px; text-transform: uppercase;
}
.mobile-nav .btn { margin-top: 10px; }

html[lang="hy"] .nav { gap: 22px; font-size: 14px; }
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 1100px) {
  html[lang="hy"] .nav { display: none; }
  html[lang="hy"] .burger { display: inline-flex; }
}
@media (max-width: 520px) {
  .hide-sm { display: none !important; }
}
/* Keep the sticky header on one line on phones. */
@media (max-width: 420px) {
  .brand { gap: 8px; }
  .brand-mark { height: 30px; }
  .brand-wordmark { height: 14px; }
  .header-actions { gap: 8px; }
  .lang button { min-width: 34px; padding: 0 4px; }
}

/* ---------- hero ---------- */
.hero {
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(36px, 5vw, 64px);
  padding-top: clamp(24px, 5vw, 64px); padding-bottom: clamp(64px, 8vw, 112px);
}
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero .eyebrow { color: var(--on-green-3); margin: 0; }
.hero-lede { margin: 0; font-size: 19px; line-height: 1.55; color: var(--on-green-2); max-width: 34em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--on-green-2); }
.pills li { padding: 8px 14px; border: 1px solid rgba(238,243,239,0.22); border-radius: 999px; }
.pills .pill-eco { display: inline-flex; align-items: center; gap: 7px; border-color: transparent; background: var(--on-green); color: var(--green); font-weight: 600; }

.hero-art { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.fan { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1; }
.fan-sun { position: absolute; left: 12%; top: 3%; width: 76%; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--accent); }
.fan-straw {
  position: absolute; left: 50%; bottom: 14%;
  transform-origin: 50% 100%; border-radius: 3px;
  transform: rotate(var(--r)) scaleY(1);
  width: var(--w); height: var(--h); margin-left: calc(var(--w) / -2);
  background: var(--straw);
  animation: fan-in .9s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: var(--d, 0s);
}
@keyframes fan-in { from { transform: rotate(0deg) scaleY(0.4); opacity: 0; } to { transform: rotate(var(--r)) scaleY(1); opacity: 1; } }
.fan-tag {
  position: absolute; left: 50%; bottom: 6%; width: 136px; height: 68px; margin-left: -68px;
  border-radius: 10px; background: var(--on-green); color: var(--green);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,0.6);
}
.fan-tag img { width: 104px; height: auto; }
.fan-tag span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.stamp {
  position: absolute; right: 0; top: 4%; width: 116px; height: 116px; border-radius: 50%;
  border: 1.5px solid var(--on-green); background: var(--green); color: var(--on-green);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  transform: rotate(10deg);
}
.stamp small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.stamp b { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-stretch: 75%; font-size: 25px; text-transform: uppercase; line-height: 1; color: var(--accent); }
html[lang="hy"] .stamp b { font-size: 16px; font-stretch: 100%; }
html[lang="hy"] .stamp small { font-size: 9px; letter-spacing: .08em; }

/* straw textures */
.t-agave  { --straw: linear-gradient(90deg, rgba(0,0,0,.22) 0%, rgba(255,255,255,.4) 35%, rgba(255,255,255,0) 60%, rgba(0,0,0,.25) 100%), repeating-linear-gradient(0deg, rgba(90,62,20,.14) 0 2px, transparent 2px 9px), var(--agave); }
.t-coffee { --straw: linear-gradient(90deg, rgba(0,0,0,.3) 0%, rgba(255,255,255,.25) 35%, rgba(255,255,255,0) 60%, rgba(0,0,0,.3) 100%), repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 2px, transparent 2px 9px), var(--coffee); }
.t-sugar  { --straw: linear-gradient(90deg, rgba(0,0,0,.16) 0%, rgba(255,255,255,.5) 35%, rgba(255,255,255,0) 60%, rgba(0,0,0,.18) 100%), repeating-linear-gradient(0deg, rgba(120,100,60,.14) 0 2px, transparent 2px 9px), var(--sugar); }

/* horizontal straw used in cards (set via --hstraw from JS) */
.hstraw { background: var(--hstraw); box-shadow: inset 0 0 0 1px rgba(13,40,30,0.28); border-radius: 3px; }

/* ---------- catalog ---------- */
.controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 18px 0 12px; border-radius: 999px;
  border: 1.5px solid rgba(13,71,51,0.3); background: transparent; color: var(--green);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green); color: var(--on-green); border-color: var(--green); }
.chip .sw { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25), 0 0 0 2px rgba(255,255,255,0.6); }
.chip-sq { min-height: 44px; padding: 0 14px; border-radius: 10px; font-family: var(--mono); font-size: 13px; }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; margin-top: 28px; }
.card {
  min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 20px; display: flex; flex-direction: column; gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(13,71,51,0.55); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-no { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(13,71,51,0.3); color: var(--green); }
.tag-solid { background: var(--green); color: var(--on-green); border-color: var(--green); }
.scale {
  height: 98px; padding: 0 18px; border-radius: 14px; background: var(--mint-2);
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.scale .hstraw { transition: width .35s ease; }
.ruler {
  height: 11px; border-left: 1.5px solid #5D6B64; border-right: 1.5px solid #5D6B64;
  display: flex; align-items: center; gap: 8px; color: #33423B; font-family: var(--mono); font-size: 12px; white-space: nowrap;
}
.ruler::before, .ruler::after { content: ""; flex: 1; height: 1px; background: #7D8B84; }
.size { margin: 0; display: flex; align-items: baseline; gap: 6px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-stretch: 75%; font-size: 42px; line-height: 0.95; color: var(--green); }
.size small { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--muted); }
.card .mat { margin: 6px 0 0; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.card .use { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.card .use b { color: var(--ink); font-weight: 600; }
.card-foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.card-foot .meta { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); }
.card-foot .meta b { color: var(--ink); font-weight: 600; }

.custom {
  margin-top: 24px; background: var(--green); color: var(--on-green); border-radius: 24px;
  padding: clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 4vw, 56px);
}
.custom-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.custom .eyebrow { color: var(--on-green-3); margin: 0; }
.custom .display { font-size: clamp(40px, 5vw, 64px); }
html[lang="hy"] .custom .display { font-size: clamp(30px, 3.6vw, 46px); }
.custom p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--on-green-2); max-width: 32em; }
.custom-art { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.custom-art div { display: flex; flex-direction: column; gap: 8px; }
.custom-art span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-green-3); }

/* ---------- materials ---------- */
.mat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; margin-top: 40px; }
.mat-card {
  min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px;
}
.mat-card .bar { height: 22px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(13,40,30,0.28); }
.mat-card .display { font-size: clamp(40px, 4vw, 52px); color: var(--green); line-height: 0.88; }
html[lang="hy"] .mat-card .display { font-size: clamp(30px, 3vw, 38px); line-height: 1.02; }
.mat-card p { margin: 0; font-size: 16px; line-height: 1.55; }
.mat-card .foot { margin-top: auto; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.mat-card button { align-self: flex-start; }

.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 20px; border-radius: 18px; background: var(--mint); font-size: 15px; line-height: 1.45; }
.checks svg { flex: none; margin-top: 1px; }
.checks b { display: block; color: var(--green); }

/* ---------- wrapping ---------- */
.band-mint { background: var(--mint); }
.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.split-head > div:first-child { flex: 1 1 520px; min-width: 0; max-width: 720px; }
.badge {
  display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-radius: 16px;
  background: var(--green); color: var(--on-green);
}
.badge b { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-stretch: 75%; font-size: 44px; line-height: 0.95; }
.badge span { font-size: 14px; color: var(--on-green-2); }
.wrap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; margin-top: 40px; }
.wrap-card { min-width: 0; background: var(--card); border-radius: 22px; padding: clamp(22px, 3vw, 30px); display: flex; flex-direction: column; gap: 18px; }
.wrap-card .stage { height: 120px; padding: 0 20px; border-radius: 14px; background: var(--mint-2); display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.wrap-card .no { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.wrap-card .h3 { margin: 6px 0 8px; }
.wrap-card p { margin: 0; font-size: 16px; line-height: 1.5; }
.wrap-card .btn { align-self: flex-start; }
.sleeve { position: relative; height: 14px; }
.sleeve .hstraw { position: absolute; inset: 0; }
.sleeve .paper {
  position: absolute; left: 12%; right: -4px; top: -7px; bottom: -7px; border-radius: 4px;
  background: #FDFDFA; border: 1px solid rgba(13,40,30,0.2); box-shadow: 0 6px 12px -8px rgba(13,40,30,0.5);
}
.sleeve .tear { position: absolute; left: 22%; top: -7px; bottom: -7px; width: 0; border-left: 1.5px dashed rgba(13,40,30,0.3); }
.sleeve .printed {
  position: absolute; left: 12%; right: -4px; top: -7px; bottom: -7px; border-radius: 4px;
  background: var(--accent); box-shadow: 0 6px 12px -8px rgba(13,40,30,0.5);
  display: flex; align-items: center; justify-content: space-around; overflow: hidden;
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-stretch: 75%; font-size: 13px; letter-spacing: 0.1em; color: var(--green-ink); white-space: nowrap;
}

/* ---------- process ---------- */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; counter-reset: step; }
.steps li { position: relative; padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-stretch: 75%; font-size: 48px; line-height: 0.9; color: var(--accent);
}
.steps b { font-size: 18px; color: var(--green); }
.steps span { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ---------- about ---------- */
.about { background: var(--accent); color: var(--green-ink); }
.about .eyebrow { color: var(--green-ink); }
.about-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(24px, 5vw, 64px); }
.about-head > div { flex: 1 1 520px; min-width: 0; }
.about-head .display { font-size: clamp(52px, 8vw, 116px); line-height: 0.86; }
html[lang="hy"] .about-head .display { font-size: clamp(38px, 5.6vw, 80px); line-height: 1; }
.about-head p { flex: 1 1 360px; min-width: 0; margin: 0; font-size: 19px; line-height: 1.55; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 0 24px; margin-top: clamp(44px, 6vw, 80px); border-top: 2px solid var(--green-ink); }
.stats div { padding-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.stats b { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-stretch: 75%; font-size: clamp(56px, 7vw, 100px); line-height: 0.9; }
.stats span { font-size: 16px; font-weight: 500; }

/* ---------- contact ---------- */
.contact { background: var(--green); color: var(--on-green); }
.contact .wrap { padding-top: var(--section-y); padding-bottom: 32px; }
.contact-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(36px, 5vw, 64px); }
.contact-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-copy .eyebrow { color: var(--on-green-3); margin: 0; }
.contact-copy .display { font-size: clamp(50px, 6.4vw, 92px); line-height: 0.86; }
html[lang="hy"] .contact-copy .display { font-size: clamp(36px, 4.6vw, 64px); line-height: 1; }
.contact-copy > p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--on-green-2); }
.contact-list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.contact-list a, .contact-list li > span { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--on-green); font-size: 17px; font-weight: 600; }
.contact-list svg { stroke: var(--accent); }
.note { margin-top: 6px; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(238,243,239,0.22); display: flex; flex-direction: column; gap: 6px; }
.note b { font-size: 16px; }
.note span { font-size: 15px; line-height: 1.5; color: var(--on-green-2); }
.note a { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--accent); font-size: 15px; font-weight: 600; }

.form-card { flex: 1.4 1 520px; min-width: 0; background: var(--card); color: var(--ink); border-radius: 24px; padding: clamp(20px, 3.4vw, 40px); }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form .h3 { font-size: 40px; }
html[lang="hy"] .form .h3 { font-size: 30px; }
.form-hint { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea {
  min-height: 48px; width: 100%; padding: 0 14px; border-radius: 10px;
  border: 1.5px solid #BFCCC4; background: #fff; color: var(--ink); font-size: 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select { padding: 0 12px; }
.field textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(13,71,51,0.2); }
.field input:user-invalid { border-color: #B3261E; }
.field .err { font-size: 13px; color: #B3261E; min-height: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 4px; }
.form-foot > span { font-size: 13px; color: var(--muted); max-width: 26em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sent { min-height: 420px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; }
.sent[hidden] { display: none; }
.sent .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--green-ink); display: flex; align-items: center; justify-content: center; }
.sent .h3 { font-size: 44px; }
.sent p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 30em; }
.sent .btn-row { margin-top: 4px; }

.site-footer {
  margin-top: var(--section-y); padding-top: 22px; border-top: 1px solid rgba(238,243,239,0.18);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  font-family: var(--mono); font-size: 13px; color: var(--on-green-3);
}
.site-footer .lang { color: var(--on-green-3); }
.footer-brand { flex-basis: 100%; margin-bottom: 8px; }
.footer-logo { display: block; height: 96px; width: auto; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
