/* MN Polymers — site styles. Plain CSS, no build step.
   Palette is taken from the logo: greens #00b050/#008040, lime #70c010, blue #00b0f0/#0080c0. */

@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/Manrope-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/Manrope-Bold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/Inter-SemiBold.woff2") format("woff2"); }

:root {
  --ink: #0d2420;
  --ink-2: #14332d;
  --ink-3: #1d453d;
  --paper: #f3f5ef;
  --paper-2: #e8ece3;
  --white: #ffffff;
  --text: #14211d;
  --muted: #4b5b56;
  --line: #d5dcd3;
  --green: #0a8a3f;
  --green-text: #0b703a;
  --lime: #8ed63f;
  --lime-2: #a9e86a;
  --blue: #1b9ee0;
  --blue-text: #0b6ba3;
  --mint: #b9f0cf;
  --danger: #b4231f;
  --font-display: "Manrope", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --radius: 6px;
  --cut: 18px;
  --gutter: clamp(20px, 4vw, 48px);
  --measure: 62ch;
  --shadow: 0 18px 40px -22px rgba(13, 36, 32, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.4rem + 4.6vw, 4.6rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--green-text); text-decoration-thickness: .08em; text-underline-offset: .14em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue-text); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .hero :focus-visible, .cta-band :focus-visible, .page-head :focus-visible, .contact-card :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }
strong { font-weight: 600; }
ul, ol { padding-left: 1.2em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.on-dark { background: var(--ink); color: #e9efe9; }
.on-dark a:not(.btn), .hero a:not(.btn), .cta-band a:not(.btn), .page-head a:not(.btn), .contact-card a:not(.btn) { color: var(--lime-2); }
.on-dark a:not(.btn):hover, .hero a:not(.btn):hover, .cta-band a:not(.btn):hover, .page-head a:not(.btn):hover, .contact-card a:not(.btn):hover { color: var(--white); }
.on-paper-2 { background: var(--paper-2); }
.on-white { background: var(--white); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-text); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--lime); border-radius: 2px; }
.on-dark .eyebrow { color: var(--lime); }
.lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.5; color: var(--muted); max-width: var(--measure); }
.on-dark .lede { color: #c7d3cc; }
.measure { max-width: var(--measure); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lede { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: var(--radius); font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn-primary:hover { background: var(--lime-2); border-color: var(--lime-2); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.on-dark .btn-ghost, .hero .btn-ghost, .cta-band .btn-ghost, .page-head .btn-ghost, .site-header .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .55); }
.on-dark .btn-ghost:hover, .hero .btn-ghost:hover, .cta-band .btn-ghost:hover, .page-head .btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header-bar { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.brand span small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #9fb8ad; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a { display: block; padding: 10px 14px; color: #dbe6df; text-decoration: none; font-weight: 500; font-size: .98rem; border-radius: var(--radius); }
.site-nav a:hover { color: var(--white); background: rgba(255, 255, 255, .07); }
.site-nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -3px 0 var(--lime); border-radius: var(--radius) var(--radius) 0 0; }
.site-nav .nav-cta { margin-left: 10px; }
.site-nav .nav-cta a { background: var(--lime); color: var(--ink); font-family: var(--font-display); font-weight: 700; padding: 11px 18px; box-shadow: none; border-radius: var(--radius); }
.site-nav .nav-cta a:hover { background: var(--lime-2); color: var(--ink); }
.menu-toggle { display: none; appearance: none; background: transparent; border: 2px solid rgba(255, 255, 255, .4); color: var(--white); border-radius: var(--radius); padding: 9px 12px; font: 600 .9rem var(--font-body); cursor: pointer; align-items: center; gap: 8px; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 879px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink-2); border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .6); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 20px; }
  .site-nav a { padding: 14px 10px; font-size: 1.1rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--lime); border-radius: 0 var(--radius) var(--radius) 0; padding-left: 16px; }
  .site-nav .nav-cta { margin: 10px 0 0; }
  .site-nav .nav-cta a { text-align: center; padding: 16px; }
  body.menu-open { overflow: hidden; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.4px); background-size: 22px 22px; mask-image: linear-gradient(to right, rgba(0,0,0,.9), transparent 70%); -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.9), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; padding-block: clamp(48px, 7vw, 104px); }
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lede { color: #c9d6cf; }
.hero-media { position: relative; isolation: isolate; }
.hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.hero-media::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 46%; height: 38%; background: var(--lime); z-index: -1; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); opacity: .9; }
.hero-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); background: rgba(255, 255, 255, .04); font-size: .95rem; color: #d7e2dc; max-width: 520px; }
.hero-note svg { flex: none; width: 22px; height: 22px; color: var(--lime); margin-top: 2px; }
@media (min-width: 880px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); } }

/* Material ticker */
.ticker { background: var(--lime); color: var(--ink); overflow: hidden; border-top: 1px solid rgba(0, 0, 0, .08); }
.ticker ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; width: max-content; animation: ticker 38s linear infinite; }
.ticker li { display: inline-flex; align-items: center; gap: 18px; padding: 12px 22px; font-family: var(--font-display); font-weight: 800; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.ticker li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); opacity: .5; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker:hover ul { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ticker ul { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .ticker li[aria-hidden="true"] { display: none; } }

/* Section intro + grids */
.section-head { display: grid; gap: 18px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin: 0; }
.section-head .lede { margin: 0; }
@media (min-width: 880px) { .section-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; } .section-head.single { grid-template-columns: 1fr; } }
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Material cards (resin codes) */
.material { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 10px; min-height: 100%; transition: border-color .15s ease, transform .15s ease; }
.material:hover { border-color: var(--green); transform: translateY(-2px); }
.material .resin { display: inline-grid; place-items: center; width: 54px; height: 54px; color: var(--ink); }
.material .resin svg { width: 54px; height: 54px; overflow: visible; }
.material .resin text { font: 800 19px var(--font-display); fill: currentColor; }
.material h3 { margin: 6px 0 0; }
.material .code { font: 600 .74rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--green-text); }
.material p { color: var(--muted); font-size: .98rem; }
.material a { font-weight: 600; margin-top: auto; }
.material.more { background: var(--ink); color: #e5ede8; border-color: var(--ink); }
.material.more .code, .material.more a { color: var(--lime); }
.material.more p { color: #b8c8c0; }
.material.more .resin { color: var(--lime); }

/* Split (text + photo) */
.split { display: grid; gap: 36px; align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media.square img { aspect-ratio: 1; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); } .split.flip .split-media { order: -1; } }

/* Steps */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { position: relative; padding: 18px 18px 18px 72px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 18px; top: 16px; font: 800 1.35rem var(--font-display); color: var(--green); letter-spacing: -.02em; }
.steps strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; margin-bottom: 2px; }
.steps p { color: var(--muted); font-size: .98rem; }

/* Value props */
.values { list-style: none; margin: 0; padding: 0; }
.values li { padding: 28px 0 0; border-top: 3px solid var(--line); }
.values li:nth-child(1) { border-color: var(--lime); }
.values li:nth-child(2) { border-color: var(--blue); }
.values li:nth-child(3) { border-color: var(--green); }
.values h3 { margin-bottom: .4em; }
.values p { color: var(--muted); }
.on-dark .values li { border-top-color: rgba(255, 255, 255, .15); }
.on-dark .values p { color: #bfcdc5; }

/* Photo gallery / figures */
.gallery { display: grid; gap: 20px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure, figure.photo { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery.wide img, figure.photo img { aspect-ratio: 3 / 2; }
figure.photo img { width: 100%; object-fit: cover; }
figcaption { padding: 14px 16px 16px; font-size: .95rem; color: var(--muted); border-top: 1px solid var(--line); }
figcaption strong { display: block; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; margin-bottom: 2px; }
.gallery figure.feature { grid-column: 1 / -1; }
@media (min-width: 980px) { .gallery figure.feature { grid-column: span 2; } .gallery figure.feature img { aspect-ratio: 2 / 1; height: 100%; } }

/* Material list (plastics page) */
.spec-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.spec-list li { display: grid; grid-template-columns: 70px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec-list .tag { font: 800 1rem var(--font-display); color: var(--green-text); letter-spacing: .02em; padding-top: 2px; }
.spec-list strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; }
.spec-list p { color: var(--muted); font-size: .98rem; }

/* Page header (inner pages) */
.page-head { background: var(--ink); color: var(--white); padding-block: clamp(44px, 6vw, 80px); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.4px); background-size: 22px 22px; mask-image: linear-gradient(to right, rgba(0,0,0,.9), transparent 60%); -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.9), transparent 60%); pointer-events: none; }
.page-head .container { position: relative; }
.page-head h1 { color: var(--white); margin-bottom: .3em; }
.page-head .lede { color: #c9d6cf; }
.breadcrumb { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: #9fb8ad; }
.breadcrumb a { color: #c9d6cf; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* Prose (About) */
.prose { max-width: var(--measure); font-size: 1.1rem; }
.prose p { margin-bottom: 1.2em; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.commitments { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.commitments li { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: var(--radius); padding: 18px 20px; }
.commitments strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; margin-bottom: 4px; }
.commitments li:nth-child(2) { border-left-color: var(--blue); }
.commitments li:nth-child(3) { border-left-color: var(--lime); }
.commitments li:nth-child(4) { border-left-color: var(--ink-3); }
.pull { border-left: 4px solid var(--lime); padding: 6px 0 6px 22px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.7rem); line-height: 1.3; letter-spacing: -.01em; margin: 32px 0; max-width: 30ch; }
.about-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .about-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; } .about-aside { position: sticky; top: 96px; } }
.about-aside figure { margin: 0 0 20px; }
.about-aside .card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.about-aside .card h3 { margin-bottom: .5em; }
.about-aside .card ul { margin: 0 0 18px; padding-left: 1.1em; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(142, 214, 63, .35), transparent 65%); pointer-events: none; }
.cta-band .container { position: relative; display: grid; gap: 28px; align-items: center; }
.cta-band h2 { color: var(--white); margin: 0 0 .35em; }
.cta-band p { color: #c9d6cf; margin: 0; }
.cta-contact { display: grid; gap: 10px; font-size: 1.05rem; }
.cta-band .cta-contact a { color: var(--white); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.cta-band .cta-contact a:hover { color: var(--lime); }
.cta-contact svg { width: 20px; height: 20px; color: var(--lime); flex: none; }
@media (min-width: 880px) { .cta-band .container { grid-template-columns: 1.3fr .7fr; } }

/* Contact page */
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 380px minmax(0, 1fr); gap: 64px; } }
.contact-card { background: var(--ink); color: #e9efe9; border-radius: var(--radius); padding: 28px; }
.contact-card h2 { color: var(--white); font-size: 1.5rem; margin-bottom: .8em; }
.contact-card dl { margin: 0; display: grid; gap: 18px; }
.contact-card dt { font: 700 .74rem var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 4px; }
.contact-card dd { margin: 0; font-size: 1.05rem; }
.contact-card dd a { color: var(--white); text-decoration: none; font-weight: 600; }
.contact-card dd a:hover { color: var(--lime); text-decoration: underline; }
.contact-card .hint { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); color: #b8c8c0; font-size: .95rem; }

/* Form */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.form h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: .3em; }
.form > p { color: var(--muted); margin-bottom: 1.5em; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field label .req { color: var(--danger); font-weight: 600; margin-left: 2px; }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); background: var(--paper); border: 1.5px solid #b9c3bc; border-radius: var(--radius); padding: 12px 14px; transition: border-color .15s ease, background-color .15s ease; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2314211d' stroke-width='2' d='M3 6l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--blue-text); outline-offset: 0; border-color: var(--blue-text); background: var(--white); }
.field [aria-invalid="true"] { border-color: var(--danger); background: #fff7f6; }
.field-error { display: none; color: var(--danger); font-size: .9rem; font-weight: 500; margin: 6px 0 0; }
.field-error.show { display: block; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-foot .btn { min-width: 200px; }
.form-foot small { color: var(--muted); }
.form-status { border-radius: var(--radius); font-weight: 500; }
.form-status.ok, .form-status.err { margin-top: 18px; padding: 14px 16px; }
.form-status.ok { background: var(--mint); color: #0b4a26; border: 1px solid #7fd6a1; }
.form-status.err { background: #fdeceb; color: #7c1612; border: 1px solid #efb4b0; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Result page (contact.php without JS) + 404 */
.result { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 64px; }
.result .container { max-width: 640px; }
.result h1 { font-size: clamp(2rem, 1.5rem + 2.5vw, 3.2rem); }
.result .code { font: 800 clamp(5rem, 14vw, 9rem)/1 var(--font-display); color: var(--line); letter-spacing: -.04em; margin-bottom: 8px; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d6cf; border-top: 4px solid var(--lime); }
.footer-grid { display: grid; gap: 36px; padding-block: clamp(44px, 6vw, 72px); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.site-footer .brand { margin-bottom: 14px; }
.site-footer p { font-size: .98rem; max-width: 40ch; }
.site-footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--lime); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.55; }
.site-footer address a, .site-footer address span { display: block; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; color: #9fb8ad; }

/* Reveal (progressive, JS-only, respects reduced motion) */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; } }
