/* Dawes Clothing LLC: high-contrast black and white with dusty indigo (and its tints) as the only colour;
   split hero; monospace labels and prices over a humanist sans; boxed floating header with a heavy border;
   price tables; thick 3px outlines and no shadows; faint half-square-triangle quilt motif */
@font-face {
  font-family: "Red Hat Mono";
  src: url("fonts/red-hat-mono-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Mono";
  src: url("fonts/red-hat-mono-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #111111;
  --white: #ffffff;
  --indigo: #3d5a80;
  --indigo-dk: #2c4463;
  --indigo-lt: #e8eef5;
  --grey: #555555;
  --mono: "Red Hat Mono", "Consolas", "Courier New", monospace;
  --sans: "Open Sans", "Segoe UI", Arial, sans-serif;
  --line: 3px solid var(--black);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--black); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo-dk); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--black); }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }
h1, h2, h3 { font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; 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: -999px; top: 8px; background: var(--black); color: var(--white); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* boxed floating header */
.site-header { background: var(--black); padding: 16px 0 0; }
.head-box { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 12px 18px; background: var(--white); border: var(--line); transform: translateY(26px); position: relative; z-index: 2; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); }
.brand img { width: 60px; height: auto; }
.brand-name { font-weight: 600; font-size: 1.35rem; letter-spacing: -.01em; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.main-nav a { display: inline-block; padding: 6px 12px; font-family: var(--mono); font-size: .9rem; text-decoration: none; color: var(--black); border: 3px solid transparent; }
.main-nav a:hover { border-color: var(--black); }
.main-nav a[aria-current="page"] { background: var(--indigo); color: var(--white); border-color: var(--black); }

/* hero */
.hero { padding: 72px 0 52px; border-bottom: var(--line); background: var(--white) url("assets/motif-quilt.svg") repeat; background-size: 40px 40px; }
.hero.small { padding: 66px 0 40px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.top { align-items: start; }
.kicker { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--indigo-dk); font-weight: 700; margin-bottom: 1em; }
.lede { font-size: 1.2rem; max-width: 34em; color: #333; }
.art { margin: 0; border: var(--line); background: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-block; padding: 10px 20px; font-weight: 600; text-decoration: none; border: var(--line); }
.btn.solid { background: var(--black); color: var(--white); }
.btn.solid:hover { background: var(--indigo); color: var(--white); }
.btn.outline { background: var(--white); color: var(--black); }
.btn.outline:hover { background: var(--indigo-lt); color: var(--black); }

/* sections */
.sec { padding: 52px 0; }
.sec + .sec { border-top: var(--line); }
.sec.quilt { background: var(--indigo-lt) url("assets/motif-quilt.svg") repeat; background-size: 40px 40px; }
.cat-boxes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-boxes a { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; gap: 2px 16px; align-items: center; padding: 18px; border: var(--line); text-decoration: none; color: var(--black); background: var(--white); }
.cat-boxes a:hover { background: var(--indigo-lt); }
.cat-boxes img { width: 64px; grid-row: span 2; }
.cn { font-weight: 600; font-size: 1.2rem; line-height: 1.2; }
.cc { font-size: .78rem; letter-spacing: .08em; color: var(--grey); }
.ticks { list-style: none; margin: 0; padding: 0; border-top: var(--line); background: var(--white); }
.ticks li { padding: 13px 16px 13px 42px; border-bottom: var(--line); border-left: var(--line); border-right: var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 14px; top: 1.15em; width: 14px; height: 14px; background: linear-gradient(135deg, var(--indigo) 50%, var(--white) 50%); border: 2px solid var(--black); }
.spot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 26px 28px; border: var(--line); }
.spot p:last-child { margin: 0; font-size: 1.12rem; }
.amt { color: var(--indigo-dk); white-space: nowrap; font-size: 1.15rem; }

/* price tables */
.jump { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-block; padding: 5px 12px; border: var(--line); text-decoration: none; color: var(--black); font-size: .86rem; background: var(--white); }
.jump a:hover { background: var(--indigo); color: var(--white); }
.cat { scroll-margin-top: 12px; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cat-head img { width: 56px; }
.cat-head h2 { margin: 0; }
.ptable { width: 100%; border-collapse: collapse; border: var(--line); background: var(--white); }
.ptable thead th { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; text-align: left; background: var(--black); color: var(--white); padding: 10px 14px; }
.ptable tbody th, .ptable td { text-align: left; vertical-align: top; padding: 13px 14px; border-top: var(--line); }
.ptable tbody th { font-weight: 600; width: 38%; }
.ptable .ds { color: var(--grey); }
.ptable .pr { font-family: var(--mono); font-weight: 700; text-align: right; white-space: nowrap; width: 1%; }
.ptable tbody .pr { color: var(--indigo-dk); font-size: 1.08rem; }
.ptable .q { display: inline-block; white-space: normal; width: 9.5em; font-size: .82rem; line-height: 1.35; color: var(--black); }

/* about / contact */
.story .first { font-size: 1.3rem; line-height: 1.5; font-weight: 600; }
.box { border: var(--line); padding: 24px 26px; background: var(--white); }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 10em 1fr; gap: 12px; padding: 10px 0; border-top: 2px solid var(--black); }
.facts dt { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--indigo-dk); font-weight: 700; padding-top: 2px; }
.facts dd { margin: 0; }
address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-weight: 600; font-size: clamp(1.55rem, 3vw, 2.1rem); margin-bottom: 12px; letter-spacing: -.02em; }
.hours th, .hours td { text-align: left; padding: 11px 4px; border-top: 2px solid var(--black); }
.hours thead th { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); border-top: 0; }
.hours td { font-family: var(--mono); }
.map-frame { width: 100%; height: 380px; border: var(--line); display: block; background: var(--indigo-lt); }
.map-link { margin: 14px 0 0; font-weight: 600; }

/* footer */
.site-footer { background: var(--black); color: #d5d5d5; padding: 44px 0 24px; }
.site-footer a { color: var(--white); }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-name { font-weight: 600; font-size: 1.4rem; color: var(--white); margin-bottom: .2em; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom { margin: 22px 0 0; padding-top: 14px; border-top: 2px solid #333; font-size: .8rem; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .cat-boxes { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .head-box { justify-content: center; padding: 12px; }
  .brand-name { font-size: 1.15rem; }
  .main-nav ul { justify-content: center; }
  .main-nav a { padding: 5px 8px; font-size: .82rem; }
  .ptable thead { display: none; }
  .ptable tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border-top: var(--line); }
  .ptable tbody tr:first-child { border-top: 0; }
  .ptable tbody th, .ptable td { border: 0; padding: 0; width: auto !important; }
  .ptable .pr { grid-column: 2; grid-row: 1; }
  .ptable .ds { grid-column: 1 / -1; }
  .ptable .q { width: 8em; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .box { padding: 18px; }
  .ticks li { padding-left: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
