/* Dovetail Design: second draft, 2026-11-23 (the first draft is in ../site-backup-2026-11-23/).
   Built like the Fieldnote, Pinpoint and ClearWay homepages: a giant brand name across the hero, a cel-shaded 3D object in
   front of it that moves as you scroll, a quick-start card in the hero, and one committed palette.
   Palette "oxblood workshop": oxblood ground, brick panels, bone type, a bright marigold-yellow accent; the joint is walnut and oak.
   Bebas Neue (capitals) for the name and headings, Instrument Serif italic for the odd accent word, Inter for everything else. */

@font-face { font-family: "Bebas Neue"; src: url(fonts/bebas-neue-regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter-latin-wght.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --blood: #4A1716;        /* page ground */
  --brick: #5E211F;        /* panels and the Phone Check band */
  --deep: #33100F;         /* pricing, the project form */
  --deepest: #250B0A;      /* footer */
  --bone: #F2E9DC;         /* type on oxblood, and the light bands */
  --bone-2: #CDBFAE;       /* secondary type on oxblood */
  --yellow: #FFC53D;       /* marigold accent (was chalk-line blue until 2026-11-23) */
  --ink: #2A0D0C;          /* type on bone */
  --ink-2: #5C3A33;        /* secondary type on bone */
  --brick-text: #8E2A22;   /* links and small accents on bone */
  --oak: #D6A462;
  --walnut: #6B3F24;
  --line: rgba(242, 233, 220, .16);
  --line-bone: rgba(42, 13, 12, .16);
  --display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --max: 1200px;
  --pad: clamp(18px, 4vw, 48px);
  --band: clamp(80px, 11vw, 140px);
  --head: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--head) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blood); color: var(--bone); font: 400 1.0625rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; caret-color: var(--yellow); accent-color: var(--yellow); }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
a { color: var(--yellow); text-underline-offset: .2em; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: .92; text-wrap: balance; }
h2 { font-size: clamp(3rem, 6.4vw, 5.8rem); }
h1 em, h2 em { font: italic 400 1.02em/1 var(--serif); letter-spacing: -.01em; color: var(--yellow); }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
.in { max-width: var(--max); margin: 0 auto; }
.narrow { max-width: 820px; }
.lead, .sub { font-size: clamp(1.04rem, 1.5vw, 1.2rem); line-height: 1.5; color: var(--bone-2); max-width: 44ch; }
.sub { margin-top: 18px; }
.fine { font-size: .84rem; color: var(--bone-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font: 600 1rem/1.2 var(--sans); padding: 15px 26px; border-radius: 999px; border: 1.5px solid var(--bone); background: var(--bone); color: var(--ink); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease); }
.btn:hover { background: var(--yellow); border-color: var(--yellow); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-sm { font-size: .9rem; padding: 10px 18px; }
.btn-line { background: transparent; color: var(--bone); border-color: rgba(242, 233, 220, .55); }
.btn-line:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* Header: transparent over the hero, oxblood glass once you scroll */
.top { position: sticky; top: 0; z-index: 20; transition: background .3s, box-shadow .3s; }
.home .top { position: fixed; left: 0; right: 0; }
.top.solid, .sub-page .top { background: rgba(51, 16, 15, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.top-row { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); height: 72px; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: baseline; gap: 6px; color: var(--bone); text-decoration: none; white-space: nowrap; }
.logo svg { width: 30px; height: 30px; align-self: center; margin-right: 4px; }
.logo b { font: 400 2rem/1 var(--display); letter-spacing: .03em; }
.logo span { font: italic 400 1.2rem/1 var(--serif); color: var(--yellow); }
.top-nav { display: flex; gap: 28px; margin-left: auto; }
.top-nav a { font-size: .93rem; color: var(--bone-2); text-decoration: none; }
.top-nav a:hover { color: var(--bone); }
.top-row > .btn { margin-left: auto; }
.top-nav + .btn { margin-left: 0; }

/* Hero: a scroll track (html.pin) with a sticky stage. Layers back to front: glow and chalk lines, the giant name,
   the 3D joint (canvas), then the words and the quick-start card. */
.hero { position: relative; background: var(--blood); }
.stage { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; }
html.pin .hero { height: 300svh; }
html.pin .stage { position: sticky; top: 0; height: 100svh; min-height: 0; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -4; pointer-events: none;
  background: radial-gradient(ellipse 46% 42% at 56% 64%, rgba(255, 176, 112, .2), rgba(255, 176, 112, 0) 70%),
              radial-gradient(ellipse 80% 60% at 50% 110%, rgba(23, 6, 6, .55), rgba(23, 6, 6, 0) 70%); }
.chalk { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; pointer-events: none; }
.chalk path { fill: none; stroke: var(--yellow); stroke-width: 1.4; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .38; }
.chalk .tick { stroke-dasharray: none; stroke-width: 1.6; opacity: .3; }
.giant { position: absolute; left: 0; right: 0; top: 52%; z-index: -2; text-align: center; pointer-events: none; white-space: nowrap;
  font: 400 clamp(7rem, 27vw, 27rem)/.8 var(--display); letter-spacing: .015em; color: var(--bone); opacity: .96; }
.giant em { position: absolute; right: 4%; top: -.3em; font: italic 400 .3em/1 var(--serif); letter-spacing: 0; color: var(--yellow); }
#joint { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: 0; transition: opacity .6s var(--ease); }
.has-3d #joint { opacity: 1; }
.hero-layer { position: relative; height: 100%; min-height: inherit; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto;
  padding: calc(var(--head) + clamp(20px, 4vh, 44px)) var(--pad) clamp(20px, 4vh, 40px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
html:not(.pin) .hero-layer { min-height: 100svh; }
.hero-copy { max-width: 560px; display: grid; gap: 18px; justify-items: start; }
.kicker { font: 700 .78rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.hero h1 { font-size: clamp(2.7rem, 4.6vw, 4.6rem); text-shadow: 0 2px 24px rgba(37, 11, 10, .55); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.hero-foot { display: flex; justify-content: flex-start; align-items: flex-end; gap: 24px; }
.quick { width: min(100%, 560px); display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 12px; padding: 18px 20px 20px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(37, 11, 10, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.quick-h { grid-column: 1 / -1; font: 400 1.6rem/1 var(--display); letter-spacing: .04em; }
.quick label { display: grid; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--bone-2); }
.quick select { width: 100%; min-height: 48px; padding: 0 12px; border-radius: 8px; border: 1.5px solid rgba(242, 233, 220, .22); background: var(--deep); color: var(--bone); font: 500 .98rem var(--sans); }
.quick .btn { min-height: 48px; padding-block: 0; }
.hero-note { max-width: 320px; margin-top: 2px; display: grid; gap: 14px; text-align: right; justify-items: end; }
.hero-note .lead { font-size: 1.02rem; }
.spec { font: 600 .72rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > *, .js .hero-foot > * { animation: rise .6s var(--ease) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .js .hero-foot > * { animation-delay: .2s; }
  .js .giant { animation: rise .9s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Bands */
.band { padding: var(--band) var(--pad); }
.band.bone { background: var(--bone); color: var(--ink); }
.band.deep { background: var(--deep); }
.band.brick { background: var(--brick); }
.bone .sub, .bone .lead { color: var(--ink-2); }
.bone a { color: var(--brick-text); }
.bone :focus-visible { outline-color: var(--brick-text); }   /* yellow would vanish on bone */
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; }
.head h2 { max-width: 12ch; }
.head .sub { margin: 0; }
.note { display: block; margin-top: 8px; font-size: .86rem; color: var(--yellow); }

/* Work */
.work { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: 10px; background: var(--deep); text-decoration: none; color: var(--bone); aspect-ratio: 16 / 11; }
.tile.t-wide { grid-column: span 2; aspect-ratio: auto; }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .9s var(--ease); }
.tile:hover img { transform: scale(1.035); }
.cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px; background: linear-gradient(0deg, rgba(31, 8, 8, .92), rgba(31, 8, 8, 0)); font-size: .86rem; color: var(--bone-2); }
.cap b { display: block; font: 400 2rem/1 var(--display); letter-spacing: .03em; color: var(--bone); margin-bottom: 4px; }
.cap i { display: block; margin-top: 6px; font-style: normal; color: var(--yellow); }

/* Included */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.included { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.included li { padding: 20px 0; border-top: 1px solid var(--line-bone); }
.included b { display: block; font-weight: 600; margin-bottom: 4px; }
.included span { color: var(--ink-2); font-size: .97rem; }

/* Pricing */
.tiers { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tiers article { padding: 30px; border: 1px solid var(--line); border-radius: 12px; }
.tiers .pick { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.tiers h3 { font: 700 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.tiers .pick h3 { color: var(--brick-text); }
.amt { margin-top: 14px; font: 400 clamp(3.6rem, 6vw, 5rem)/.9 var(--display); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.per { margin-top: 6px; color: var(--bone-2); font-size: .95rem; }
.pick .per { color: var(--ink-2); }
.tiers ul { margin-top: 24px; }
.tiers li { padding: 10px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.pick li { border-top-color: var(--line-bone); }
.founding { margin-top: 26px; padding: 20px 24px; border-radius: 12px; background: rgba(255, 197, 61, .1); border: 1px solid rgba(255, 197, 61, .25); max-width: 820px; }
.founding b { color: var(--yellow); }

/* Process */
.process { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process li { padding-top: 20px; border-top: 2px solid var(--bone); color: var(--bone-2); font-size: .97rem; }
.process b { display: block; font: 700 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.process .what { display: block; font: 400 2.4rem/1 var(--display); letter-spacing: .02em; color: var(--bone); margin: 12px 0 10px; }
.process + .fine { margin-top: 22px; }

/* Phone Check */
.check-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 80px); align-items: center; }

/* FAQ */
.narrow h2 { margin-bottom: 30px; }
details { border-top: 1px solid var(--line-bone); }
details:last-of-type { border-bottom: 1px solid var(--line-bone); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font: 400 1.9rem/1.05 var(--display); letter-spacing: .02em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 300 1.8rem/1 var(--sans); color: var(--brick-text); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 24px; color: var(--ink-2); max-width: 66ch; }

/* Forms (on oxblood bands) */
.alt { margin-top: 18px; color: var(--bone-2); }
.form { display: grid; gap: 18px; }
.form label { display: block; font-size: .86rem; color: var(--bone-2); }
.form input:not([type=checkbox]), .form select, .form textarea { display: block; width: 100%; margin-top: 8px; font: 400 1.03rem/1.3 var(--sans); padding: 14px 15px; border-radius: 10px;
  border: 1px solid rgba(242, 233, 220, .25); background: rgba(242, 233, 220, .06); color: var(--bone); }
.form textarea { resize: vertical; min-height: 104px; }
.form ::placeholder { color: #A8978A; opacity: 1; }
.form option { color: var(--ink); background: #fff; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--yellow); outline-offset: 1px; border-color: var(--yellow); border-radius: 10px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.opt { color: #A8978A; }
.form .consent { display: flex; align-items: flex-start; gap: 12px; line-height: 1.45; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }

.foot { padding: 34px var(--pad) 48px; font-size: .88rem; color: var(--bone-2); background: var(--deepest); }
.foot-row { display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; }
.foot b { color: var(--bone); font: 400 1.7rem var(--display); letter-spacing: .03em; }
.foot .fine { grid-column: 1 / -1; }

/* Simple pages (privacy, thanks) */
.page { max-width: 760px; margin: 0 auto; padding: 72px var(--pad) 96px; }
.page h1 { font-size: clamp(3rem, 7vw, 4.6rem); }
.page h2 { font-size: 2.2rem; margin: 2em 0 .4em; }
.page p, .page li { color: var(--bone-2); max-width: 68ch; }
.page p { margin-top: 1em; }
.page ul { list-style: disc; padding-left: 1.2em; }
.page li { margin-top: .4em; }

@media (max-width: 960px) {
  .top-nav { display: none; }
  .top-nav + .btn { margin-left: auto; }
  .split, .check-grid { grid-template-columns: 1fr; }
  .work { grid-template-columns: 1fr 1fr; }
  .tile.t-wide { grid-column: span 2; aspect-ratio: 16 / 9; }
  .tiers { grid-template-columns: 1fr; max-width: 520px; }
  .process { grid-template-columns: 1fr 1fr; }
  .hero-note { display: none; }
}
@media (max-width: 767px) {
  .giant { top: 54%; font-size: 30vw; }
  .giant em { display: none; }
  .quick { display: none; }
  .hero-foot { justify-content: flex-start; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
}
@media (max-width: 600px) {
  .work { grid-template-columns: 1fr; }
  .tile.t-wide { grid-column: auto; aspect-ratio: 16 / 11; }
  .included { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .foot-row { grid-template-columns: 1fr; }
  .logo b { font-size: 1.7rem; }
  .logo span { display: none; }
  .btn-sm { font-size: .82rem; padding: 9px 14px; }
}
