/* D2 Design Company — draft site styles
   Direction: the press proof in D2's black and yellow. Pages sit on a neutral stock; key
   moments are white "sheets" with crop marks and a black/yellow color bar. Archivo (wide, heavy)
   carries headlines like large-format signage; Newsreader carries reading text
   with a magazine voice. */

@font-face {
  font-family: "Archivo D2";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader D2";
  src: url("../fonts/newsreader-var.woff2") format("woff2-variations"), url("../fonts/newsreader-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader D2";
  src: url("../fonts/newsreader-var-italic.woff2") format("woff2-variations"), url("../fonts/newsreader-var-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Brand palette sampled from the official D2 logo files (owner-supplied, 2026-10-22):
     yellow #FBC140 (RGB 251,193,64) and dark #231F20. Yellow is never used for text on light
     backgrounds; yellow surfaces always carry dark text. */
  --stock: #F0F0EE;      /* page background: neutral uncoated stock */
  --sheet: #FFFFFF;      /* printed sheet */
  --ink: #231F20;        /* D2 logo dark: text, rules, marks */
  --graphite: #4A4A4A;   /* secondary text */
  --rule: #CFCFCB;       /* hairlines */
  --spot: #FBC140;       /* D2 logo yellow: primary actions, accents */
  --spot-deep: #231F20;  /* text-safe partner of the yellow */
  --spot-wash: #FEF3D9;  /* pale tint of #FBC140 for notices */
  --cyan: #8A8A86;
  --yellow: #FBC140;
  --kraft: #FDDC97;
  --pale: #E4E4E0;
  --focus: #1756C7;

  --display: "Archivo D2", "Arial Narrow", Arial, sans-serif;
  --text: "Newsreader D2", Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 4vw, 44px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--stock);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.1875rem;
  line-height: 1.62;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--display); margin: 0; color: var(--ink); text-wrap: balance; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; font-family: var(--display); }
.skip:focus { top: 12px; color: #fff; }

/* ---- staging marker -------------------------------------------------- */
.stagebar { background: var(--ink); color: #EDEDED; font-family: var(--display); font-size: .86rem; line-height: 1.4; padding-block: 8px; }
.stagebar strong { color: var(--yellow); font-weight: 650; }

/* ---- buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .7em 1.25em;
  font-family: var(--display); font-size: 1rem; font-weight: 640; font-stretch: 104%;
  line-height: 1.2; text-decoration: none; border: 2px solid var(--ink); border-radius: 2px;
  cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s;
}
.btn--spot { background: var(--spot); border-color: var(--ink); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn--spot:hover { background: var(--ink); border-color: var(--ink); color: var(--spot); }
.btn--spot:active { box-shadow: 1px 1px 0 var(--ink); transform: translate(3px, 3px); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn[disabled], fieldset[disabled] .btn { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* ---- masthead & navigation ------------------------------------------ */
.masthead { position: sticky; top: 0; z-index: 30; background: var(--stock); border-bottom: 1px solid var(--rule); }
.masthead__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand__mark {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: var(--ink); color: var(--spot); font-family: var(--display); font-weight: 860; font-stretch: 125%;
  font-size: 1.05rem; letter-spacing: -.02em; border-radius: 2px;
}
.brand__logo { display: block; height: 46px; width: auto; }
.brand--foot .brand__logo { height: auto; width: 150px; }
.brand__name { font-family: var(--display); font-weight: 680; font-stretch: 112%; font-size: 1.02rem; letter-spacing: -.005em; }
.brand:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__top {
  display: flex; align-items: center; gap: 6px; padding: 10px 9px; min-height: 44px; white-space: nowrap;
  font-family: var(--display); font-size: .95rem; font-weight: 560; text-decoration: none; color: var(--ink);
  cursor: pointer; list-style: none; border-radius: 2px;
}
.nav__top::-webkit-details-marker { display: none; }
summary.nav__top::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
details[open] > summary.nav__top::after { transform: translateY(2px) rotate(-135deg); }
.nav__top:hover { text-decoration: underline; text-decoration-color: var(--spot); text-decoration-thickness: 3px; text-underline-offset: .4em; }
.nav__top[aria-current="page"], .nav__group.is-active > details > summary { text-decoration: underline; text-decoration-color: var(--spot); text-underline-offset: .4em; text-decoration-thickness: 3px; font-weight: 680; }
.nav__menu { list-style: none; margin: 0; padding: 8px; }
.nav__sub { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; min-height: 44px; text-decoration: none; font-family: var(--display); font-size: .97rem; font-weight: 520; }
.nav__sub:hover { background: var(--spot-wash); }
.nav__sub[aria-current="page"] { font-weight: 720; box-shadow: inset 4px 0 0 var(--spot); }
.tag { font-family: var(--display); font-size: .7rem; font-weight: 600; padding: 1px 6px; border: 1px solid currentColor; border-radius: 2px; color: var(--graphite); }
.navtoggle {
  display: none; margin-left: auto; min-height: 44px; padding: 8px 14px;
  font-family: var(--display); font-weight: 640; font-size: .97rem; color: var(--ink);
  background: transparent; border: 2px solid var(--ink); border-radius: 2px; cursor: pointer;
}

@media (min-width: 1321px) {
  .nav__menu {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
    background: var(--sheet); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  }
}
@media (max-width: 1320px) {
  .js .navtoggle { display: inline-flex; align-items: center; }
  .masthead__inner { flex-wrap: wrap; }
  .nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 4px 0 20px; }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-top: 1px solid var(--rule); }
  .nav__top { justify-content: space-between; padding: 14px 4px; font-size: 1.08rem; }
  .nav__menu { padding: 0 0 10px 12px; }
  .nav__cta { align-self: flex-start; }
}

@media (min-width: 1321px) { .nav__cta { white-space: nowrap; } .nav { gap: 14px; } .nav__top .tag { display: none; } }
.masthead__inner { max-width: 1320px; }
@media (max-width: 440px) {
  .brand__logo { height: 32px; }
  .brand__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---- click-to-call ------------------------------------------------------ */
.callchip { display: none; }
.nav__call { font-family: var(--display); font-weight: 650; font-size: .97rem; white-space: nowrap; padding: 10px 4px; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 1320px) {
  .callchip {
    display: inline-flex; align-items: center; margin-left: auto; min-height: 44px; padding: 8px 14px;
    font-family: var(--display); font-weight: 680; font-size: .97rem; text-decoration: none;
    background: var(--ink); color: #fff; border: 2px solid var(--ink); border-radius: 2px;
  }
  .callchip { color: var(--spot); }
  .callchip:hover { color: #fff; }
  .js .navtoggle { margin-left: 0; }
  .nav__call { padding-left: 4px; font-size: 1.08rem; }
}
@media (max-width: 1320px) { html:not(.js) .callchip { margin-left: auto; } }

/* ---- hero: the proof sheet ------------------------------------------ */
.hero, .ctaband { overflow-x: clip; }
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 5vw, 64px); }
.hero__sheet {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(20px, 4vw, 56px); align-items: center;
  background: var(--sheet); padding-block: clamp(32px, 5vw, 72px) clamp(44px, 6vw, 84px);
  padding-inline: clamp(22px, 5vw, 72px); max-width: calc(var(--max) - 2 * var(--gutter));
  width: calc(100% - 2 * var(--gutter));
}
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 4.1rem); font-weight: 790; font-stretch: 116%; line-height: 1.0; letter-spacing: -.022em; }
.hero--home h1 { font-size: clamp(2.6rem, 5.6vw, 5.1rem); font-stretch: 122%; line-height: .94; letter-spacing: -.03em; }
.hero--long h1 { font-size: clamp(2.1rem, 3.7vw, 3.3rem); font-stretch: 110%; line-height: 1.04; }
.hero__intro { margin-top: 1.1em; font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.58; color: var(--graphite); max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8em; }
.hero__art img { width: 100%; max-width: 560px; margin-inline: auto; }

.crop { position: absolute; width: 26px; height: 26px; pointer-events: none; }
.crop::before, .crop::after { content: ""; position: absolute; background: var(--ink); }
.crop::before { width: 26px; height: 1.5px; }
.crop::after { width: 1.5px; height: 26px; }
.crop--tl { top: -14px; left: -14px; } .crop--tl::before { top: 13px; left: -14px; } .crop--tl::after { left: 13px; top: -14px; }
.crop--tr { top: -14px; right: -14px; } .crop--tr::before { top: 13px; right: -14px; } .crop--tr::after { right: 13px; top: -14px; }
.crop--bl { bottom: -14px; left: -14px; } .crop--bl::before { bottom: 13px; left: -14px; } .crop--bl::after { left: 13px; bottom: -14px; }
.crop--br { bottom: -14px; right: -14px; } .crop--br::before { bottom: 13px; right: -14px; } .crop--br::after { right: 13px; bottom: -14px; }

.colorbar { position: absolute; left: clamp(22px, 5vw, 72px); bottom: 18px; display: flex; }
.colorbar i { display: block; width: 18px; height: 10px; }
.colorbar i:nth-child(1) { background: var(--spot); } .colorbar i:nth-child(2) { background: var(--ink); }
.colorbar i:nth-child(3) { background: var(--kraft); } .colorbar i:nth-child(4) { background: #5C5C59; }
.colorbar i:nth-child(5) { background: var(--cyan); } .colorbar i:nth-child(6) { background: var(--pale); }

@media (prefers-reduced-motion: no-preference) {
  .hero__art img { animation: lay-down .7s cubic-bezier(.2,.7,.2,1) both .1s; }
  @keyframes lay-down { from { opacity: 0; transform: translateY(14px) rotate(1.5deg); } to { opacity: 1; transform: none; } }
}

@media (max-width: 860px) {
  .hero__sheet { grid-template-columns: 1fr; }
  .hero__art img { max-width: 340px; margin-inline: 0; }
  .crop--tr, .crop--tl { top: -12px; }
}

/* ---- review note (staging only) -------------------------------------- */
.review { margin-bottom: 28px; }
.review, .phs { font-family: var(--display); font-size: .92rem; line-height: 1.5; }
.review ul, .review__title { background: var(--spot-wash); border-left: 4px solid var(--ink); }
.review__title { margin: 0; padding: 12px 16px 2px; font-weight: 700; }
.review ul { margin: 0; padding: 4px 16px 14px 34px; }

/* ---- content rows ---------------------------------------------------- */
.rows { padding-block: 8px 24px; }
.row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(14px, 4vw, 64px);
  padding-block: clamp(26px, 3.6vw, 44px); border-top: 1px solid var(--rule);
}
.row:first-child { border-top: 2px solid var(--ink); }
.row h2 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); font-weight: 720; font-stretch: 108%; line-height: 1.14; letter-spacing: -.012em; max-width: 18em; }
.row__body { max-width: 37em; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; } }

/* ---- home directory --------------------------------------------------- */
.dir { padding-block: clamp(28px, 5vw, 60px); }
.dir h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 780; font-stretch: 118%; letter-spacing: -.02em; margin-bottom: 18px; }
.dir__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.dir__block + .dir__block { margin-top: 30px; }
.dir__group { font-size: 1.05rem; font-weight: 700; font-stretch: 108%; margin: 0 0 10px; display: inline-block; padding: 3px 10px; background: var(--spot); }
.dir__list li { border-bottom: 1px solid var(--rule); }
.dir__list a {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px; align-items: baseline;
  padding: 20px 8px; text-decoration: none; transition: background-color .15s;
}
.dir__label { font-family: var(--display); font-size: 1.1rem; font-weight: 700; font-stretch: 110%; }
.dir__line { font-style: italic; font-size: 1.32rem; line-height: 1.35; color: var(--graphite); }
.dir__list a:hover { background: var(--sheet); box-shadow: inset 6px 0 0 var(--spot); }
.dir__list a:hover .dir__label { text-decoration: underline; text-decoration-color: var(--spot); text-decoration-thickness: 3px; }
@media (max-width: 640px) { .dir__list a { grid-template-columns: 1fr; gap: 4px; } }

/* ---- homepage specialty teaser ---------------------------------------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(18px, 4vw, 56px); align-items: center;
  margin-block: clamp(20px, 3vw, 36px); padding: clamp(26px, 4vw, 52px); background: var(--ink); color: #EDEDED;
  box-shadow: 8px 8px 0 var(--spot);
}
.feature h2 { color: var(--spot); font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 790; font-stretch: 116%; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 14px; }
.feature p { max-width: 36em; }
.feature .btn { margin-top: 20px; }
.feature__art img { background: var(--sheet); max-width: 340px; margin-inline: auto; }
.btn--light { background: var(--spot); color: var(--ink); border-color: var(--spot); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.feature :focus-visible, .foot :focus-visible { outline-color: var(--spot); }
.feature + .row { border-top: 2px solid var(--ink); }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature__art { display: none; } }

/* ---- FAQ, related ----------------------------------------------------- */
.faq { padding-block: 12px 32px; }
.faq h2, .related h2 { font-size: 1.25rem; font-weight: 720; font-stretch: 108%; margin-bottom: 12px; }
.faq__item { background: var(--sheet); border: 1px solid var(--rule); margin-bottom: 10px; }
.faq__item summary {
  display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none;
  font-family: var(--display); font-size: 1.06rem; font-weight: 640; line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; display: inline-grid; place-items: center; width: 26px; height: 26px; font-size: 1.2rem; line-height: 1; background: var(--spot); color: var(--ink); flex: none; }
.faq__item[open] summary::after { content: "\2212"; }
.faq__a { padding: 0 20px 20px; max-width: 42em; }
.related { padding-block: 8px 40px; }
.related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 30px; border-top: 1px solid var(--rule); padding-top: 14px; }
.related a { font-family: var(--display); font-weight: 600; font-size: 1rem; }

/* ---- CTA band --------------------------------------------------------- */
.ctaband { padding-block: 24px clamp(48px, 7vw, 88px); }
.ctaband__sheet {
  position: relative; background: var(--sheet); width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter));
  padding: clamp(28px, 4vw, 52px) clamp(22px, 5vw, 64px); display: grid; gap: 14px; justify-items: start;
}
.ctaband h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 790; font-stretch: 118%; letter-spacing: -.02em; line-height: 1.04; }
.ctaband p { font-size: 1.2rem; color: var(--graphite); }
.ctaband a:not(.btn) { color: var(--ink); font-weight: 600; }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

/* ---- quote page --------------------------------------------------------- */
.quote { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); padding-block: 8px 40px; align-items: start; }
.qform { background: var(--sheet); border: 2px solid var(--ink); padding: clamp(18px, 3vw, 36px); }
.qform fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.qform__notice { font-family: var(--display); font-weight: 650; font-size: .98rem; background: var(--spot-wash); border-left: 4px solid var(--ink); padding: 12px 14px; margin-bottom: 22px; }
.qform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 22px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-family: var(--display); font-size: .92rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%; min-height: 46px; padding: 10px 12px;
  background: #F7F7F5; border: 1.5px solid #8A8A86; border-radius: 2px;
}
.field textarea { resize: vertical; }
fieldset[disabled] .field input, fieldset[disabled] .field select, fieldset[disabled] .field textarea { cursor: not-allowed; }
.qform__details { margin-bottom: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
.qform__subhead { font-family: var(--display); font-weight: 700; margin-bottom: 12px; }
.qform__review { margin: 18px 0 0; font-family: var(--display); font-size: .88rem; color: var(--graphite); }
.linkbtn { font: inherit; font-weight: 650; color: var(--ink); background: none; border: 0; padding: 4px 0; text-decoration: underline; cursor: pointer; }
.quote__guide section { padding-block: 18px; border-top: 1px solid var(--rule); }
.quote__guide section:first-of-type { border-top: 2px solid var(--ink); }
.quote__guide h3 { font-size: 1.08rem; font-weight: 700; font-stretch: 106%; margin-bottom: 6px; }
.quote__guide p { font-size: 1.05rem; }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .qform__grid { grid-template-columns: 1fr; } }

/* ---- work placeholders (staging only) ------------------------------- */
.phs { padding-block: 8px 32px; }
.phs .review__title { padding-bottom: 12px; margin-bottom: 16px; }
.phs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ph__frame { aspect-ratio: 4 / 3; background: repeating-linear-gradient(-45deg, var(--sheet) 0 12px, var(--stock) 12px 24px); border: 2px dashed #8A8A86; }
.ph__label { font-weight: 700; margin: 10px 0 2px; }
.ph__note { color: var(--graphite); }
@media (max-width: 760px) { .phs__list { grid-template-columns: 1fr; } }

/* ---- footer ------------------------------------------------------------ */
.foot { background: var(--ink); color: #DADADA; font-family: var(--display); font-size: .96rem; padding-top: clamp(40px, 5vw, 64px); }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--spot); text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 28px; }
.foot__brand p { margin-top: 14px; max-width: 24em; }
.brand--foot .brand__name { color: #fff; }
.foot__contact a { font-weight: 600; }
.foot__title { font-weight: 700; color: #fff; margin-bottom: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot .tag { color: #BDBDBD; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-block: 18px 26px; border-top: 1px solid #3A3A3A; font-size: .85rem; color: #BDBDBD; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ---- 404 --------------------------------------------------------------- */
.notfound { padding-block: 60px; }
.notfound h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 790; font-stretch: 116%; margin: 40px 0 16px; }
.notfound__links { font-family: var(--display); font-weight: 600; line-height: 2; }

@media print {
  .masthead, .stagebar, .foot, .ctaband, .navtoggle { display: none; }
  body { background: #fff; }
}
