:root {
  --ink: #0f1c2e;
  --ink-soft: #3c4a5c;
  --ink-mute: #6b7685;
  --paper: #f7f5f0;
  --paper-deep: #efebe2;
  --card: #ffffff;
  --rule: #ddd7cb;
  --brass: #a87b3a;
  --brass-soft: #e7d3b1;
  --navy-2: #172a42;
  --error: #b3261e;
  --ok: #2e6b47;

  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-sm: 0.875rem;
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --text-h2: clamp(2rem, 1.5rem + 2.2vw, 3.1rem);
  --text-h1: clamp(2.6rem, 1.6rem + 4.4vw, 5rem);

  --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --radius-sm: 6px;
  --radius: 12px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 220ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; border-radius: var(--radius-sm);
}
.skip:focus { top: 1rem; }

.eyebrow {
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 1.1rem;
}

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--ink); color: var(--paper);
  font: 600 0.975rem/1 var(--font-body); letter-spacing: 0.01em;
  padding: 1rem 1.5rem; border: 0; border-radius: var(--radius-sm);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(15, 28, 46, 0.2), 0 8px 20px -12px rgba(15, 28, 46, 0.6);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { background: var(--navy-2); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(15, 28, 46, 0.2), 0 14px 26px -14px rgba(15, 28, 46, 0.7); }
.btn:active { transform: translateY(0); box-shadow: 0 1px 0 rgba(15, 28, 46, 0.2); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn-small { padding: 0.7rem 1.05rem; font-size: 0.9rem; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow span { transition: transform var(--dur) var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow-light { color: var(--brass-soft); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 245, 240, 0.88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-row { display: flex; align-items: center; gap: 2rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 26px; height: 26px; color: var(--ink); flex: none; }
.brand-name { font: 600 1.05rem/1 var(--font-body); letter-spacing: 0.02em; }
.brand-suffix { font-weight: 400; color: var(--ink-mute); margin-left: 0.35em; }
.nav-links { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 0.95rem; color: var(--ink-soft); padding: 0.4rem 0; border-bottom: 1px solid transparent; transition: color var(--dur), border-color var(--dur); }
.nav-links a:hover { color: var(--ink); border-color: var(--brass); }

/* Hero */
.hero { padding-block: clamp(3.5rem, 2rem + 6vw, 7.5rem) clamp(4rem, 2rem + 6vw, 7rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero h1 {
  font-family: var(--font-display); font-size: var(--text-h1); line-height: 1.02; letter-spacing: -0.02em;
  max-width: 14ch;
}
.hero h1 em { font-style: italic; color: var(--brass); }
.lede { margin-top: 1.6rem; font-size: var(--text-lg); color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; margin-top: 2.4rem; }

.hero-visual { position: relative; height: 420px; }
.tag {
  position: absolute; width: 260px; height: 340px;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  clip-path: polygon(0 0, 78% 0, 100% 17%, 100% 100%, 0 100%);
  padding: 2.2rem 1.8rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  box-shadow: 0 30px 60px -30px rgba(15, 28, 46, 0.35);
}
.tag-hole { position: absolute; right: 20%; top: 9%; width: 14px; height: 14px; border-radius: 50%; background: var(--paper-deep); box-shadow: inset 0 1px 2px rgba(15, 28, 46, 0.25); }
.tag-line { display: block; height: 10px; width: 70%; border-radius: 5px; background: var(--paper-deep); margin-top: auto; }
.tag-line.short { width: 42%; margin-top: 0; }
.tag-back { right: 2%; top: 0; transform: rotate(7deg); background: var(--paper-deep); }
.tag-mid { right: 16%; top: 22px; transform: rotate(-3deg); }
.tag-front {
  right: 30%; top: 60px; transform: rotate(-9deg);
  background: var(--ink); border-color: var(--ink); color: var(--paper);
}
.tag-front .tag-hole { background: var(--paper); box-shadow: none; }
.tag-kicker { margin-top: auto; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-soft); }
.tag-title { font: 400 2.6rem/1 var(--font-display); letter-spacing: -0.01em; }
.tag-sub { font-size: 0.9rem; color: rgba(247, 245, 240, 0.7); }

/* Sections */
.section { padding-block: var(--space-section); border-top: 1px solid var(--rule); }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section h2 { font-family: var(--font-display); font-size: var(--text-h2); line-height: 1.08; letter-spacing: -0.015em; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.step { padding: 2rem 2rem 0 0; }
.step + .step { padding-left: 2rem; border-left: 1px solid var(--rule); }
.step-num { display: block; font: 400 0.95rem/1 var(--font-body); color: var(--brass); letter-spacing: 0.08em; margin-bottom: 2.4rem; }
.step h3 { font: 500 1.4rem/1.2 var(--font-display); margin-bottom: 0.7rem; }
.step p { color: var(--ink-soft); max-width: 32ch; }

/* Brands */
.section-dark { background: var(--ink); color: var(--paper); border-top: 0; }
.section-dark .eyebrow { color: var(--brass-soft); }
.brand-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.25rem; }
.brand-feature, .brand-next { border-radius: var(--radius); padding: clamp(1.75rem, 1rem + 3vw, 3rem); }
.brand-feature {
  background: var(--navy-2);
  border: 1px solid rgba(247, 245, 240, 0.08);
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto 1fr auto; column-gap: 2rem;
}
.brand-kicker { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 1rem; grid-column: 1 / -1; }
.brand-title { font: 400 clamp(2.6rem, 2rem + 2.5vw, 3.8rem)/1 var(--font-display); letter-spacing: -0.02em; grid-column: 1 / -1; }
.brand-desc { margin-top: 1.1rem; color: rgba(247, 245, 240, 0.75); max-width: 44ch; grid-column: 1 / -1; }
.brand-products { list-style: none; margin: 2rem 0; padding: 0; grid-column: 1 / -1; border-top: 1px solid rgba(247, 245, 240, 0.14); }
.brand-products li { padding: 0.85rem 0; border-bottom: 1px solid rgba(247, 245, 240, 0.14); display: flex; justify-content: space-between; }
.brand-products li::after { content: "●"; color: var(--brass); font-size: 0.55rem; align-self: center; }
.brand-feature .btn { justify-self: start; grid-column: 1 / -1; }
.brand-next {
  border: 1px dashed rgba(247, 245, 240, 0.28);
  display: flex; flex-direction: column; align-items: flex-start;
}
.brand-next-title { font: 400 1.75rem/1.15 var(--font-display); margin-top: auto; }
.brand-next-desc { margin: 0.9rem 0 1.6rem; color: rgba(247, 245, 240, 0.7); }

/* Inquiry */
.inquire-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.inquire-copy p:not(.eyebrow) { margin-top: 1.2rem; color: var(--ink-soft); max-width: 40ch; }
.inquire-form {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: 0 30px 60px -40px rgba(15, 28, 46, 0.35);
}
.field { margin-bottom: 1.25rem; }
.field label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.45rem; }
.req, .opt { font-weight: 400; font-size: 0.78rem; color: var(--ink-mute); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem;
  transition: border-color var(--dur), box-shadow var(--dur), background-color var(--dur);
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:hover, .field textarea:hover { border-color: #c7bfae; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(168, 123, 58, 0.25); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: var(--text-sm); margin-top: 0.4rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-size: 0.95rem; min-height: 1.5em; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: var(--error); }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding-block: 2rem; font-size: var(--text-sm); color: var(--ink-mute); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.site-footer .brand-name { color: var(--ink); font-size: 0.95rem; }

/* Entrance motion (hero only) */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { opacity: 0; transform: translateY(14px); animation: rise 0.9s var(--ease) forwards; }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
  .tag { opacity: 0; animation: settle 1.1s var(--ease) forwards; }
  .tag-back { --r: 7deg; animation-delay: 0.15s; }
  .tag-mid { --r: -3deg; animation-delay: 0.3s; }
  .tag-front { --r: -9deg; animation-delay: 0.45s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes settle {
  from { opacity: 0; transform: translateY(30px) rotate(0deg); }
  to { opacity: 1; transform: rotate(var(--r)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .inquire-grid, .brand-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 340px; max-width: 420px; width: 100%; justify-self: center; }
  .tag { width: 210px; height: 280px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 1.75rem 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--rule); }
  .step-num { margin-bottom: 1rem; }
  .brand-next { min-height: 240px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .brand-suffix { display: none; }
  .header-row { gap: 1rem; }
  .hero-visual { height: 300px; }
  .tag { width: 180px; height: 240px; padding: 1.6rem 1.3rem; }
  .tag-title { font-size: 2.1rem; }
  .tag-front { right: 34%; top: 46px; }
  .tag-mid { right: 14%; }
  .tag-back { right: 0; }
}
