/* NIHON GO DELIVERY — shared styles for every language version.
   Brand colours follow the business card: deep indigo navy, matte gold, off-white. */

:root {
  --navy: #2e3064;
  --navy-deep: #22244d;
  --navy-soft: #3d4080;
  --gold: #c8a257;
  --gold-light: #ddbf7f;
  --gold-text: #8a6a2b; /* gold tone dark enough for text on off-white */
  --paper: #f7f5ef;
  --paper-2: #efebe1;
  --white: #ffffff;
  --ink: #23243f;
  --muted: #5d5f78;
  --line: #ddd7c8;

  --radius: 14px;
  --shadow: 0 18px 50px -24px rgba(34, 36, 77, 0.35);
  --header-h: 72px;
  --wrap: 1160px;

  --font-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Helvetica Neue", Helvetica, Arial, "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", Georgia, serif;
}

html[lang="en"] {
  --font-sans: "Helvetica Neue", Helvetica, "Segoe UI", Arial, "Hiragino Sans",
    "Noto Sans JP", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body { line-height: 1.7; }

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.3; font-weight: 700; text-wrap: balance; }
html[lang="ja"] h2, html[lang="ja"] h3 { word-break: auto-phrase; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--navy); color: var(--white); padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(34,36,77,.4); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }

.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; color: var(--navy); }
.brand-mark { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 800; font-size: 1.32rem; letter-spacing: .02em; }
.brand-mark .go { color: var(--gold-text); }
.brand-sub { margin-top: .32rem; font-size: .62rem; letter-spacing: .32em; color: var(--muted); font-weight: 600; }

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.site-nav a {
  text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--ink);
  padding: .3rem 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s;
}
.site-nav a:hover { color: var(--navy); border-color: var(--gold); }

.lang-switch {
  display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px;
  padding: 3px; font-size: .8rem; font-weight: 600; background: var(--white);
}
.lang-switch a { text-decoration: none; padding: .32rem .8rem; border-radius: 999px; color: var(--muted); line-height: 1.2; }
.lang-switch a[aria-current="true"] { background: var(--navy); color: var(--white); }
.lang-switch a:not([aria-current="true"]):hover { color: var(--navy); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--white); cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 18px; height: 2px; background: var(--navy);
  transform: translateX(-50%); transition: transform .25s, opacity .2s; content: "";
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; left: 0; transform: none; }
.nav-toggle span::after { top: 6px; left: 0; transform: none; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: .98rem; letter-spacing: .03em; text-decoration: none;
  cursor: pointer; transition: transform .2s, background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 10px 30px -14px rgba(200,162,87,.9); }
.btn-gold:hover { background: var(--gold-light); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(93, 98, 178, .45) 0%, transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 9vw, 7rem);
}
.eyebrow {
  display: inline-block; font-size: .74rem; letter-spacing: .3em; font-weight: 600;
  color: var(--gold); text-transform: uppercase; margin-bottom: 1.4rem;
}
.hero-title {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.4rem); letter-spacing: .01em; line-height: 1.02;
}
.hero-title .go { color: var(--gold); }
.hero-title .delivery {
  display: block; margin-top: .55rem; font-weight: 400; font-size: .36em; letter-spacing: .42em; color: rgba(255,255,255,.88);
}
.hero-rule { width: min(360px, 80%); height: 2px; margin: 1.8rem 0 1.4rem; background: linear-gradient(90deg, var(--gold), rgba(200,162,87,.15)); border: 0; }
.slogan { font-style: italic; font-size: clamp(1.1rem, 2vw, 1.3rem); color: rgba(255,255,255,.92); margin-bottom: .4rem; letter-spacing: .02em; }
.signature { font-family: var(--font-serif); font-size: clamp(1.15rem, 2.2vw, 1.45rem); color: var(--gold-light); letter-spacing: .08em; margin-bottom: 1.6rem; }
html[lang="en"] .signature { font-family: var(--font-sans); letter-spacing: .02em; }
.hero-lead { font-size: clamp(1.02rem, 1.6vw, 1.14rem); font-weight: 600; margin-bottom: .6rem; }
.hero-text { color: rgba(255,255,255,.78); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.hero-visual { position: relative; }
.hero-frame {
  position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden;
  background:
    radial-gradient(70% 60% at 30% 20%, rgba(255,255,255,.14), transparent 70%),
    linear-gradient(145deg, #3a3d7a 0%, #262857 100%);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
  outline: 1px solid rgba(200,162,87,.35); outline-offset: 10px;
}
.hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-frame img[hidden] { display: none; }
/* Placeholder shown until site/assets/hero.webp is available */
.hero-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem;
  color: rgba(255,255,255,.75);
}
.hero-placeholder svg { width: min(72%, 300px); height: auto; margin: 0 auto 1rem; }
.hero-placeholder p { font-size: .78rem; letter-spacing: .3em; margin: 0; color: var(--gold-light); }
.hero-badge {
  position: absolute; left: -1rem; bottom: -1.4rem; background: var(--paper); color: var(--navy);
  border-radius: 14px; padding: .9rem 1.2rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .8rem;
  font-size: .85rem; font-weight: 700; line-height: 1.4;
}
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(200,162,87,.25); flex: none; }
.hero-badge small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 7.5rem); }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-head.center { text-align: center; margin-inline: auto; }
.kicker {
  display: inline-flex; align-items: center; gap: .8rem; font-size: .74rem; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.section-head.center .kicker::after { content: ""; width: 32px; height: 1px; background: var(--gold); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--navy); letter-spacing: .03em; }
html[lang="en"] .section-title { letter-spacing: 0; }
.section-intro { margin-top: 1.1rem; color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-text p { font-size: 1.04rem; }
.about-text .highlight { color: var(--navy); font-weight: 700; border-left: 2px solid var(--gold); padding-left: 1rem; margin-top: 1.6rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.service-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(1.8rem, 4vw, 2.6rem); box-shadow: var(--shadow); overflow: hidden;
}
.service-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent); }
.service-card.is-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--paper); color: var(--navy); margin-bottom: 1.4rem;
}
.is-navy .service-icon { background: rgba(255,255,255,.08); color: var(--gold); }
.service-icon svg { width: 26px; height: 26px; }
.service-label { font-size: .74rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-text); }
.is-navy .service-label { color: var(--gold); }
.service-card h3 { font-size: 1.45rem; margin: .35rem 0 1.3rem; color: var(--navy); }
.is-navy h3 { color: var(--white); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg) translateY(-50%);
}
.services-note { margin-top: 2rem; text-align: center; color: var(--muted); font-size: .95rem; }

/* Area */
.area-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: stretch; }
.area-lead { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.area-list { list-style: none; margin: 1.6rem 0; padding: 0; position: relative; }
.area-list::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(var(--gold), rgba(200,162,87,.25)); }
.area-list li { position: relative; display: flex; align-items: baseline; gap: .9rem; padding: .55rem 0 .55rem 2.2rem; border-bottom: 1px dashed var(--line); }
.area-list li:last-child { border-bottom: 0; }
.area-list li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  border-radius: 50%; background: var(--paper); border: 3px solid var(--gold);
}
.area-list .ja { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.area-list .romaji { font-size: .85rem; color: var(--muted); letter-spacing: .04em; }
html[lang="en"] .area-list .romaji { font-size: 1.1rem; font-weight: 700; color: var(--navy); letter-spacing: 0; }
html[lang="en"] .area-list .ja { font-size: .88rem; font-weight: 500; color: var(--muted); }
.area-more { color: var(--muted); font-size: .95rem; }
.map-card {
  position: relative; border-radius: 20px; overflow: hidden; min-height: 360px;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--paper-2);
}
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map-card .map-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .9rem; padding: 1rem; text-align: center; }
.map-link { display: inline-flex; gap: .4rem; margin-top: .9rem; font-size: .88rem; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); }

/* Commitments */
.commit { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--white); }
.commit .section-title { color: var(--white); }
.commit .kicker { color: var(--gold); }
.commit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.commit-item {
  border: 1px solid rgba(200,162,87,.3); border-radius: 20px; padding: 2.2rem 1.6rem; text-align: center;
  background: rgba(255,255,255,.03);
}
.commit-item .kanji { font-family: var(--font-serif); font-size: clamp(2.6rem, 6vw, 3.4rem); color: var(--gold); line-height: 1.1; }
.commit-item .reading { display: block; font-size: .72rem; letter-spacing: .3em; color: rgba(255,255,255,.55); margin: .6rem 0 1rem; text-transform: uppercase; }
.commit-item h3 { font-size: 1.12rem; font-weight: 700; }
.commit-item p { margin: .7rem 0 0; color: rgba(255,255,255,.72); font-size: .93rem; }
.commit-quote { max-width: 44rem; margin: 3rem auto 0; text-align: center; color: rgba(255,255,255,.88); font-size: 1.08rem; }
.commit-quote::before { content: ""; display: block; width: 48px; height: 2px; background: var(--gold); margin: 0 auto 1.4rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info .lead { font-size: 1.06rem; }
.contact-methods { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: 1rem; }
.contact-methods li { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.contact-methods .icon { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
.contact-methods .icon svg { width: 20px; height: 20px; }
.contact-methods small { display: block; font-size: .74rem; color: var(--muted); letter-spacing: .08em; }
.contact-methods a { font-weight: 700; color: var(--navy); text-decoration: none; word-break: break-all; }
.contact-methods a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.contact-methods .pending { font-weight: 600; color: var(--muted); }
.copy-btn {
  margin-left: .5rem; font: inherit; font-size: .72rem; font-weight: 600; padding: .15rem .6rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--navy); cursor: pointer; vertical-align: middle;
}
.copy-btn:hover { border-color: var(--gold); }
.draft-note {
  border-left: 3px solid var(--gold); background: rgba(200,162,87,.1); padding: 1rem 1.2rem;
  border-radius: 0 var(--radius) var(--radius) 0; font-size: .9rem; color: var(--ink);
}
.draft-note strong { color: var(--navy); }
.draft-note p:last-child { margin: 0; }

.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.5rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 700; color: var(--navy); }
.field label .req { color: #a3412c; margin-left: .25rem; }
.field label .opt { color: var(--muted); font-weight: 500; margin-left: .25rem; font-size: .78rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px; padding: .8rem .95rem; min-height: 50px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232e3064' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 3px rgba(46,48,100,.12);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #a3412c; background: #fff8f6; }
.field-error { font-size: .8rem; color: #a3412c; min-height: 0; }
.field-error:empty { display: none; }
.form-actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.form-actions .hint { font-size: .8rem; color: var(--muted); margin: 0; flex: 1 1 220px; }
.form-status { margin-top: 1.4rem; border-radius: 12px; padding: 1rem 1.2rem; font-size: .92rem; }
.form-status[hidden] { display: none; }
.form-status.is-info { background: rgba(46,48,100,.07); border: 1px solid rgba(46,48,100,.18); }
.form-status.is-error { background: #fff4f1; border: 1px solid #e7b9ad; color: #7d2f1f; }
.form-status strong { display: block; color: var(--navy); margin-bottom: .3rem; }
.form-status.is-error strong { color: #7d2f1f; }
.form-status p { margin: 0 0 .5rem; }
.form-status p:last-child { margin: 0; }
.form-status .status-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.form-status .status-actions a, .form-status .status-actions button {
  font: inherit; font-size: .82rem; font-weight: 600; padding: .45rem .9rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--navy); background: var(--white); color: var(--navy); text-decoration: none;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding-block: 3rem 2rem; font-size: .88rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(200,162,87,.25); }
.site-footer .brand { color: var(--white); }
.site-footer .brand-mark .go { color: var(--gold); }
.site-footer .brand-sub { color: rgba(255,255,255,.6); }
.footer-slogan { margin-top: 1rem; font-style: italic; color: rgba(255,255,255,.85); }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: .4rem 2rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; font-size: .8rem; }
.footer-bottom a { color: var(--gold-light); text-decoration: none; }

/* ---------- Reveal on scroll (only when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .site-nav ul { gap: 1.1rem; }
  .site-nav a { font-size: .84rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-block; order: 3; }
  .lang-switch { margin-left: auto; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -24px rgba(34,36,77,.4);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; padding: .5rem 1.25rem 1.2rem; }
  .site-nav a { display: block; padding: .95rem 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .site-nav li:last-child a { border-bottom: 0; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 560px; }
  .hero-badge { left: auto; right: .8rem; bottom: -1.2rem; }
  .about-grid, .area-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .map-card { min-height: 300px; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 2rem, var(--wrap)); }
  .brand-mark { font-size: 1.12rem; }
  .brand-sub { font-size: .54rem; letter-spacing: .26em; }
  .lang-switch a { padding: .3rem .6rem; }
  .hero-actions .btn { width: 100%; }
  .commit-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .footer-nav ul { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .brand-sub { display: none; }
}

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