/* Eastern Label — production stylesheet.
   Consolidated from the design-canvas build: design-system tokens (styles.css),
   brand overrides (navy/orange ramps), and section styles that were inline. */

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --color-bg: #f2f2f3;
  --color-surface: #e9e9ea;
  --color-text: #1d1f20;
  --color-divider: color-mix(in srgb, #1d1f20 16%, transparent);

  --color-accent: #16305f;
  --color-accent-100: #eef2f9; --color-accent-200: #d7e0ee; --color-accent-300: #b3c2dc;
  --color-accent-400: #8098c1; --color-accent-500: #4d6a9f; --color-accent-600: #2c4a80;
  --color-accent-700: #1f3a68; --color-accent-800: #16305f; --color-accent-900: #0e2047;

  --color-accent-2: #f4711f;
  --color-accent-2-100: #fff3e9; --color-accent-2-200: #ffe1ca; --color-accent-2-300: #ffc59a;
  --color-accent-2-400: #ffa363; --color-accent-2-500: #f4711f; --color-accent-2-600: #d85f13;
  --color-accent-2-700: #b34d0f; --color-accent-2-800: #8c3c0c; --color-accent-2-900: #5f2807;

  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  --on-dark-faint: color-mix(in srgb, #f2f2f3 32%, transparent);
  --text-soft: color-mix(in srgb, var(--color-text) 74%, transparent);
}

/* ── Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: 600;
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 8px;
}
p { margin: 0 0 10px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: var(--color-accent-700); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-900); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent-2-500); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

.container { max-width: 1200px; margin: 0 auto; padding-inline: 32px; }
.kicker {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-accent-700); margin-bottom: 14px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--color-accent-900); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 0; color: #fff; }

/* ── Blueprint frame (registration-mark corners) ────────────────────── */
.blueprint { position: relative; border: 1px solid var(--color-divider); border-radius: 0; }
.blueprint > .corner {
  position: absolute; width: 11px; height: 11px;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.blueprint > .corner::before, .blueprint > .corner::after {
  content: ""; position: absolute; background: var(--color-accent-2-500);
}
.blueprint > .corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.blueprint > .corner::after  { top: 5px; left: 0; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -6px; left: -6px; }
.blueprint > .corner.tr { top: -6px; right: -6px; }
.blueprint > .corner.bl { bottom: -6px; left: -6px; }
.blueprint > .corner.br { bottom: -6px; right: -6px; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: 600; font-size: 15px;
  line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-text); background: transparent;
  border: 1px solid var(--color-divider); border-radius: 0;
  padding: 14px 24px;
}
.btn-primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn-ghost { color: var(--color-accent-2-700); border-color: transparent; padding-inline: 4px; }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); color: var(--color-accent-2-700); }
.btn-on-dark { color: var(--color-bg); border-color: color-mix(in srgb, #f2f2f3 46%, transparent); }
.btn-on-dark:hover { background: color-mix(in srgb, #f2f2f3 14%, transparent); color: var(--color-bg); }

/* ── Header ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 20; background: var(--color-bg);
  border-top: 4px solid var(--color-accent-2-500);
  border-bottom: 1px solid var(--color-divider);
}
.header-inner { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand img { height: 70px; width: auto; margin: -7px 0; flex: 0 0 auto; }
.brand-tagline {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-accent-700); border-left: 1px solid var(--color-divider);
  padding-left: 14px; white-space: nowrap;
}
.site-nav { display: flex; gap: 26px; align-items: center; }
.site-nav a {
  border-bottom: 2px solid transparent; padding: 4px 0; text-decoration: none;
  font-family: var(--font-heading); font-weight: 600; font-size: 15px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text);
}
.site-nav a:hover { color: var(--color-accent-700); }
.site-nav a[aria-current="page"] { color: var(--color-accent-700); border-bottom-color: var(--color-accent); }
.header-cta { font-size: 14px; padding: 10px 18px; white-space: nowrap; flex: 0 0 auto; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative; width: 100%; height: min(76vh, 680px); min-height: 520px;
  overflow: hidden; background: var(--color-accent-900);
}
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: color-mix(in srgb, var(--color-accent-900) 58%, transparent);
}
.hero-content {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 48px 32px;
}
.hero-card { position: relative; max-width: 960px; text-align: center; color: var(--color-bg); }
.hero-eyebrow {
  display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 22px;
}
.hero-eyebrow .rule { display: block; width: 56px; height: 5px; background: var(--color-accent-2-500); }
.hero-eyebrow span:last-child { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.85; }
.hero h1 {
  font-size: 74px; line-height: 0.98; margin: 0 0 18px; color: var(--color-bg);
  letter-spacing: 0.01em; text-transform: uppercase; text-wrap: balance;
}
.hero-sub { font-size: 19px; line-height: 1.5; margin: 0 auto; max-width: 52ch; opacity: 0.86; }
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-top: 32px; }

/* ── Home: spec band ────────────────────────────────────────────────── */
.section { padding-block: 0 72px; }
.spec-band { padding: 40px 0 64px; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.spec-cell { padding: 28px 24px; border-right: 1px solid var(--color-divider); }
.spec-cell:last-child { border-right: 0; }
.spec-value {
  font-family: var(--font-heading); font-weight: 700; font-size: 34px;
  line-height: 1; color: var(--color-accent-800);
}
.spec-label {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-accent-2-700); margin-top: 8px;
}
.spec-cell p { font-size: 14px; margin: 10px 0 0; color: color-mix(in srgb, var(--color-text) 70%, transparent); }

/* ── Section headers ────────────────────────────────────────────────── */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; margin-bottom: 24px;
}
.section-head h2 { font-size: 34px; margin: 0; }

/* ── Home: materials cards ──────────────────────────────────────────── */
.materials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.material-card { display: flex; flex-direction: column; background: transparent; padding: 0; }
.material-card figure { width: 100%; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--color-divider); overflow: hidden; }
.material-card figure img { width: 100%; height: 100%; object-fit: cover; }
.material-card .card-text { padding: 20px; }
.card-kicker {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-accent-2-700);
}
.material-card h3 { font-size: 22px; margin: 6px 0 8px; }
.material-card p { font-size: 14px; margin: 0; color: color-mix(in srgb, var(--color-text) 72%, transparent); }

/* ── Home: industries band (dark) ───────────────────────────────────── */
.industries {
  background: var(--color-accent-900); color: var(--color-bg);
  padding: 72px 0; margin-top: 16px;
}
.industries .section-head { margin-bottom: 8px; }
.industries h2 { color: var(--color-bg); }
.industries-intro { font-size: 16px; max-width: 64ch; margin: 0 0 28px; opacity: 0.82; }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.industry-card { border: 1px solid var(--on-dark-faint); padding: 10px; }
.industry-card figure { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; }
.industry-card figure img { width: 100%; height: 100%; object-fit: cover; }
.industry-card .card-text { padding: 16px 6px 8px; }
.industry-card h3 { font-size: 23px; margin: 0 0 8px; color: var(--color-bg); }
.industry-card p { font-size: 14px; line-height: 1.6; margin: 0; opacity: 0.8; }

/* ── CTA band ───────────────────────────────────────────────────────── */
.cta-band { margin-bottom: 88px; margin-top: 72px; }
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding: 40px;
}
.cta-band h2 { font-size: 32px; margin: 0 0 8px; }
.cta-band p { margin: 0; font-size: 16px; color: color-mix(in srgb, var(--color-text) 72%, transparent); }
.cta-band .btn { white-space: nowrap; padding: 15px 26px; }

/* ── Page heroes (Services / About / Contact) ───────────────────────── */
.page-hero { padding: 56px 0 24px; }
.page-hero h1 { font-size: 52px; margin: 0 0 16px; max-width: 24ch; }
.page-hero .lede { font-size: 18px; max-width: 64ch; color: color-mix(in srgb, var(--color-text) 76%, transparent); }

/* ── Services ───────────────────────────────────────────────────────── */
.method { padding-bottom: 64px; }
.method-top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: start; margin-bottom: 32px;
}
.method-body { font-size: 16px; line-height: 1.65; margin: 0 0 20px; color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.method-points { display: grid; gap: 10px; }
.method-points li {
  display: flex; align-items: baseline; gap: 12px;
  border-top: 1px solid var(--color-divider); padding-top: 10px; font-size: 15px;
}
.method-points li::before {
  content: ""; width: 14px; height: 3px; background: var(--color-accent-2-500);
  flex: 0 0 auto; transform: translateY(-4px);
}
.method-points { list-style: none; margin: 0; padding: 0; }
.method figure.blueprint { padding: 10px; }
.method figure .frame { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.method figure .frame img { width: 100%; height: 100%; object-fit: cover; }
.apps-label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-accent-700); margin-bottom: 16px;
}
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app-item { border-top: 2px solid var(--color-accent-800); padding-top: 12px; }
.app-item h3 { font-size: 19px; margin: 0 0 6px; }
.app-item p { font-size: 14px; line-height: 1.55; margin: 0; color: color-mix(in srgb, var(--color-text) 72%, transparent); }

.bopp-panel { padding: 40px; margin-bottom: 72px; }
.bopp-panel h2 { font-size: 34px; margin: 0 0 6px; }
.bopp-panel > p {
  font-size: 16px; line-height: 1.65; max-width: 70ch;
  margin: 0 0 12px; color: color-mix(in srgb, var(--color-text) 78%, transparent);
}
.bopp-panel > p:last-of-type { margin-bottom: 28px; }
.bopp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ── About ──────────────────────────────────────────────────────────── */
.about { max-width: 760px; margin: 0 auto; padding: 64px 32px; display: grid; gap: 52px; text-align: center; }
.about section { display: grid; gap: 16px; }
.about h1 { font-size: 44px; margin: 0 0 -14px; color: var(--color-accent-900); text-transform: uppercase; letter-spacing: 0.02em; }
.about h2 {
  font-size: 30px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--color-accent-700); margin: 0;
}
.about p { font-size: 16px; line-height: 1.65; margin: 0; color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.about .tagline {
  font-family: var(--font-heading); font-size: 22px; font-weight: 600;
  letter-spacing: 0.02em; line-height: 1.4; margin: 22px 0 0; color: var(--color-accent-900);
}

/* ── Contact ────────────────────────────────────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px;
  align-items: start; padding: 56px 0 88px;
}
.contact-layout h1 { font-size: 48px; margin: 0 0 18px; }
.contact-lede { font-size: 17px; line-height: 1.65; color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.contact-rows { margin-top: 28px; display: grid; gap: 2px; }
.contact-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--color-divider);
}
.contact-row dt { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent-700); }
.contact-row dd { font-size: 16px; margin: 0; }
.quote-panel { padding: 32px; }
.quote-panel h2 { font-size: 28px; margin: 0 0 18px; }

/* ── Quote form ─────────────────────────────────────────────────────── */
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field > label {
  display: block; margin-bottom: 5px;
  font-family: var(--font-heading); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-accent-800);
}
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit; font-size: 14px;
  color: var(--color-text); caret-color: var(--color-accent);
  background: #fff; border: 1px solid var(--color-accent-300); border-radius: 0;
}
.input:hover { border-color: var(--color-accent-500); }
.input:focus, .input:focus-visible {
  outline: 2px solid var(--color-accent-2-500); outline-offset: 1px;
  border-color: var(--color-accent-2-500);
}
textarea.input { min-height: 90px; resize: vertical; font-family: var(--font-body); }
select.input { cursor: pointer; }
.field-wide { grid-column: 1 / -1; }
.file-drop {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  border: 1px dashed var(--color-accent-2-400); padding: 12px 14px;
  background: var(--color-accent-2-100);
}
.file-drop:hover { border-color: var(--color-accent-2-500); background: var(--color-accent-2-200); }
.file-drop .file-cta {
  font-family: var(--font-heading); font-weight: 600; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-accent-2-700);
}
.file-drop .file-name { font-size: 13px; color: color-mix(in srgb, var(--color-text) 66%, transparent); }
.form-footer {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 16px;
  margin-top: 8px; padding-top: 20px; border-top: 2px solid var(--color-accent-900);
}
.form-footer .btn-submit {
  padding: 14px 28px; letter-spacing: 0.08em; white-space: nowrap; flex: 0 0 auto;
  background: var(--color-accent-2-500); border: 1px solid var(--color-accent-2-600); color: #fff;
}
.form-footer .btn-submit:hover { background: var(--color-accent-2-600); }
.form-footer .btn-submit:disabled { opacity: 0.45; cursor: not-allowed; }
.form-hint { flex: 1; min-width: 0; font-size: 13px; color: color-mix(in srgb, var(--color-text) 64%, transparent); }
.form-sent { display: none; flex-direction: column; gap: 14px; padding: 26px 0; }
.form-sent.visible { display: flex; }
.form-sent .received { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent-2-700); }
.form-sent h3 { font-size: 26px; margin: 0; }
.form-sent p { margin: 0; font-size: 16px; color: color-mix(in srgb, var(--color-text) 76%, transparent); }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer { background: var(--color-accent-800); color: var(--color-bg); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid img { height: 56px; width: auto; }
.footer-about { font-size: 15px; margin: 14px 0 0; opacity: 0.78; max-width: 34ch; }
.footer-heading {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.65; margin-bottom: 12px;
}
.footer-links { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.footer-links a { font-size: 15px; color: var(--color-bg); opacity: 0.85; text-decoration: none; }
.footer-links a:hover { opacity: 1; color: var(--color-bg); }
.footer-contact { font-size: 15px; opacity: 0.85; display: grid; gap: 8px; }
.footer-contact a { color: var(--color-bg); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; color: var(--color-bg); }
.footer-legal {
  max-width: 1200px; margin: 32px auto 0; padding: 18px 32px 0;
  border-top: 1px solid color-mix(in srgb, #f2f2f3 22%, transparent);
  font-size: 12px; opacity: 0.6;
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .brand-tagline { display: none; }
}
@media (max-width: 900px) {
  .hero h1 { font-size: 52px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-cell:nth-child(2n) { border-right: 0; }
  .spec-cell:nth-child(-n+2) { border-bottom: 1px solid var(--color-divider); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .apps-grid, .bopp-grid { grid-template-columns: repeat(2, 1fr); }
  .method-top { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 680px) {
  .container { padding-inline: 20px; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .site-nav { order: 3; width: 100%; gap: 18px; }
  .hero { min-height: 440px; }
  .hero h1 { font-size: 40px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .materials-grid, .industry-grid, .apps-grid, .bopp-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-cell { border-right: 0; border-bottom: 1px solid var(--color-divider); }
  .spec-cell:last-child { border-bottom: 0; }
  .quote-form { grid-template-columns: 1fr; }
  .page-hero h1, .contact-layout h1 { font-size: 38px; }
  .form-footer { flex-direction: column; align-items: flex-start; }
}
