/* Studio refinements (founder's mix, 2026-11-12), loaded after palette-ink.css.
   Taken from the sleek direction (sleek.html): calmer headings and no offset shadows.
   Kept from the drawing sheet: the tab navigation, the varied grounds, rulers and chips.
   Scoped to the studio's own type: the Halden & Pryce concept inside the device frames
   keeps its own heavy, condensed headings, because that is the client concept's design. */

/* ---------- headings: weight 600, sentence case (typeface set below) ---------- */
.tb-title h1 {
  font-weight: 600; text-transform: none; font-variation-settings: "opsz" 96, "wdth" 100;
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem); line-height: 1.04; letter-spacing: -0.03em;
}
main section :is(h2, h3), .section-h, .case-h, .pk h3, .enquire-title {
  font-weight: 600; font-variation-settings: "opsz" 96, "wdth" 100;
}
.section-h, .enquire-title { letter-spacing: -0.025em; }
.knot-quote p, .whofor-list dt, .shot figcaption strong, .board-head { font-weight: 600; }

/* ---------- no offset shadows: ink rectangles for actions, hairlines for frames ---------- */
.cta-tag, .enquire .button {
  border-radius: 2px; box-shadow: none; transform: none;
  background: var(--ink); color: var(--bg);
}
.cta-tag:hover, .enquire .button:hover {
  background: var(--ink-700); color: var(--bg); box-shadow: none; transform: none;
}
.thumb-bar a + a { border-radius: 2px; }
.shot img, .device-browser { box-shadow: none; border-color: var(--rule); }
.pk-key { box-shadow: none; }

/* phone action bar: the call to action fits on one line, and shares the rectangles above */
.thumb-bar { grid-template-columns: auto 1fr; border-radius: 4px; }
.thumb-bar a, .thumb-bar a + a { border-radius: 2px; padding: 0 1.1rem; white-space: nowrap; }
/* the menu button is an action too: a rectangle, not a pill */
.menu-toggle { border-radius: 2px; }

/* ---------- type: Familjen Grotesk, the logo's typeface, for headings and text ----------
   Geist Mono stays for the small drafting labels. (The Halden & Pryce frames are screenshots,
   so they keep their own type whatever the page uses.) */
:root {
  --font-head: "Familjen Grotesk", system-ui, sans-serif;
  --font-body: "Familjen Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.tb-title h1 { font-variation-settings: normal; letter-spacing: -0.025em; }
main section :is(h2, h3), .section-h, .case-h, .pk h3, .enquire-title { font-variation-settings: normal; }

/* navigation labels in the page face, sentence case: the tabs stay, the mono capitals go */
@media (min-width: 905px) {
  .site-nav a { font: 500 0.9375rem/1.1 var(--font-body); text-transform: none; letter-spacing: 0; }
}
/* the six 'every site' cards are not a sequence, so they carry no [01]-[06] numbers (the process steps keep theirs) */
.inc-n { display: none; }
/* the mock-up notice: one tight line on phones (it goes at launch) */
@media (max-width: 600px) {
  .mock-banner { font-size: 0.75rem; padding: 0.35rem 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .grid-toggle { display: none; }
}

/* ---------- clarity (2026-11-12): fewer lines, boxes and grounds ----------
   Founder: "the layout feels too busy". Compared with six small studios' pages, this page had the
   most background colours (9 against 3 to 8) and the most mono text (82 elements). Kept as the one
   drafting trace: the mono eyebrow and job labels. */

/* drawing-sheet decoration: the ruler and corner crosshairs frame the opening (founder brought them
   back for character; they appear nowhere else). Grid guides and the grid toggle stay off. */
.grid-toggle, .guides { display: none !important; }
.tb-cell { border-color: transparent; }

/* navigation: the drawing-sheet tabs and brass action tab are back (founder's choice for character) */

/* the facts beside the headline: the page face, one hairline per row */
.tb-meta { font-family: var(--font-body); font-size: 0.9375rem; }
.tb-meta div { border-bottom: 1px solid var(--rule); padding-block: 0.4rem; }
.tb-meta dt { text-transform: none; }

/* grounds: limestone, stone and ink only */
/* the two light grounds alternate down the page, so neighbouring sections never merge */
.devices, .ownership, .included, .process { background: var(--bg); }
.whofor, .packages, .about, .enquire { background: var(--surface); }
.contact-aside, .care, .gal-card-invite { background: var(--ink); border-color: var(--ink); }
.callouts .pin-label { font-family: var(--font-body); }

/* the six 'every site' items: plain columns, not boxed cards with coloured stripes */
.inc-grid { border: 0; gap: 2rem var(--gutter); }
.inc-grid li { background: none; border: 0; padding: 1rem 0 0; }
.inc-grid li:nth-child(1) { border-top: 3px solid var(--slate-500); }
.inc-grid li:nth-child(2) { border-top: 3px solid var(--verdigris); }
.inc-grid li:nth-child(3) { border-top: 3px solid var(--ink-700); }
.inc-grid li:nth-child(4) { border-top: 3px solid var(--ink); }
.inc-grid li:nth-child(5) { border-top: 3px solid var(--brass-700); }
.inc-grid li:nth-child(6) { border-top: 3px solid var(--accent); }
.inc-grid li::after { content: none; }

/* process bar and the recommended card keep their slate-verdigris-brass accents (founder's choice) */
.pk-price { border-top-style: solid; }

/* tags: a quiet line of text, not pills */
.chips li { border: 0; padding: 0; background: none; border-radius: 0; font-family: var(--font-body); font-size: 0.875rem; color: var(--muted); }
.chips { gap: 0.35rem 1.25rem; }

/* two of the five dark masses become light: the care plan and the contact sidebar are containers,
   not statements (the knot band, the terms board and the footer keep the ink) */
.care { background: var(--bg); color: var(--ink); border: 1px solid var(--rule); border-top: 2px solid var(--ink); --muted: var(--muted-base); }
.care .pk-price { color: var(--muted); border-top-color: var(--rule); }
.contact-aside { background: none; color: var(--ink); padding: 1rem 0 0; border-radius: 0; border-top: 2px solid var(--ink); }
.contact-aside a { color: var(--ink); }
.contact-aside .file-meta, .contact-aside .aside-note { color: var(--muted); }
/* the photo placeholder: a plain stone panel, not diagonal stripes */
.about-photo { background: var(--surface); border-color: var(--rule); }

/* case-study screenshots at the scale of the opening's device frame: nine of twelve columns for the
   desktop shots (was the full width, 0.9 of a screen tall), three for the phone (was four, 690px tall) */
@media (min-width: 905px) {
  .case-shots .shot { grid-column: span 9; }
  .case-shots .shot-wide { grid-column: 1 / span 9; }
  .case-shots .shot-phone { grid-column: span 3; }
}
@media (min-width: 905px) { .case-shots .shot-phone img { max-width: 240px; } }

/* the ruler hangs from the navigation, not above the headline (founder's suggestion): the header's
   bottom line becomes the ruler's edge, with the ticks pointing down into the page */
.sheet > .ruler:first-child { display: none; }
.site-header { position: relative; }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 80px) left top / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 8px) left top / 100% 6px no-repeat;
}

/* the crosshair line sits just under the navigation ruler, and the headline is no longer boxed in:
   only the sheet's top edge stays, with its + at each end (founder's suggestion) */
.sheet { border-width: 1px 0 0; border-color: var(--rule); border-radius: 0; margin-top: 1.5rem; }
.sheet > .title-block, .sheet > .ruler { margin-inline: 0; }
/* without the box, the opening's text lines up with the logo and the crosshairs, not an inner margin */
.sheet .tb-cell { padding-inline: 0; }

/* full width above and below the opening: the crosshair line and the ruler under the opening run
   edge to edge, with the + marks staying at the content edges like crop marks (founder's request) */
.sheet { border-image: linear-gradient(var(--rule) 0 0) 1 / 1px 0 0 0 / 0 100vw; }
.sheet > .title-block + .ruler { margin-inline: calc(50% - 50vw); border-inline: 0; }
html { overflow-x: clip; }

/* the facts panel beside the headline is gone (founder's request); the headline takes the full row
   on two large lines, and the paragraph and actions sit under it */
@media (min-width: 905px) {
  .title-block .tb-title { grid-column: 1 / -1; }
  .tb-title h1 { font-size: clamp(3rem, 1rem + 4.2vw, 5.25rem); line-height: 1; max-width: 9em; }
}

/* (the actions no longer align to a facts column: the facts panel was removed) */

/* polish: tab labels sit on the logo's centre line, not pinned to the top of the tab (they were
   ~16px above the wordmark); the corner marks stay bottom right */
@media (min-width: 905px) {
  .site-nav a { align-items: center; padding-block: 0.75rem; }
}

/* polish: both rulers count from the content edge, so a long tick lands on the logo's left edge and
   each + mark (the ticks started at the screen edge before, 72px off at desktop) */
.site-header::after, .sheet > .title-block + .ruler { background-position: var(--margin) top, var(--margin) top; background-repeat: repeat-x; }
.sheet > .title-block + .ruler { background-position: var(--margin) bottom, var(--margin) bottom; }

/* layout: one row, not two. The headline takes columns 1-7 and the paragraph and actions sit beside
   it in 8-12, their bottom on the headline's last line; the dividing rule goes. Both rows had left
   the right half of the opening empty. From 1000px: below that the side column is too narrow and
   the buttons wrap */
@media (min-width: 1000px) {
  .title-block .tb-title { grid-column: 1 / span 7; }
  .title-block .tb-cta { grid-column: 8 / -1; border-top: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 1.25rem; padding-block: 1.25rem; }
  .title-block .tb-cta p { max-width: 40ch; }
}

/* layout: the concept frames sit on the content edges (72px at 1440) like the logo, headline and +
   marks, instead of a 40px inset that lined up with nothing else in the opening */
@media (min-width: 905px) {
  .devices { padding-inline: 0; }
  .device-phone { right: 0; }
}

/* polish: the business-type options match the 24rem text fields above and below them, one left
   column for the form (the options ran the full 743px while the fields stop at 384) */
.enquire .choices { max-width: 24rem; }
