/* Pared back (2026-11-12), loaded last. From an outside review the founder accepted: the drawing
   details made the page read as a construction drawing, so one ruled divider stays (the footer's) and
   the rest goes. Navigation is plain links that stay at the top; sections are told apart by space and
   type, not boxes and borders. Also the new pieces: the featured website, the two-project Work list,
   the merged Services section and the Common questions. */

/* ---------- drawing details: some charm back (founder, after the pare-back). The ruler hangs from
   the navigation and stays with it at the top; the crosshair line with its + marks opens the page;
   the clove hitch drawing sits beside its story in About. No tabs, no ruler inside the opening ---------- */
.sheet { margin-top: 1.5rem; }
main .ruler { display: none; }

/* ---------- navigation: the drawing-sheet tabs (drafting.css + studio-refine.css), stuck to the top ---------- */
/* repeated class: drafting.css sets 'body > :not(.guides):not(.skip):not(.thumb-bar)' to relative, z 1,
   which outranks a single class (0,3,1); this needs (0,3,2) to stay at the top */
body > .site-header.site-header.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--rule); background: var(--bg); }
html { scroll-padding-top: 5.5rem; }
/* the tab navigation is back (founder: 'the old nav was better'); it still stays at the top */
/* phones: the quick-links bar must not cover a focused field, its error or the send button */
@media (max-width: 904px) { html { scroll-padding-bottom: 6rem; } }

/* ---------- opening ---------- */
.title-block { padding-block: 3rem 2rem; }
@media (min-width: 905px) { .title-block { padding-block: 4.5rem 3rem; } }

/* the featured website: Silesia, one desktop view and a phone detail, a status label and a link */
.devices.feature { background: none; padding: 0 0 1rem; }
.devices.feature .device-browser { border-color: var(--rule); }
.feature-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.5rem; margin-top: 1.25rem; padding-top: 0.75rem; border-top: 1px solid var(--rule); }
.feature-cap .mono { font-size: 0.8125rem; color: var(--muted); }
.feature-cap a { font-weight: 600; color: var(--ink); }
@media (min-width: 905px) {
  .devices.feature { padding-bottom: 0; }
  .devices.feature .device-browser { width: 78%; }
  .devices.feature .device-phone { right: 0; bottom: 3.5rem; width: 19%; }
  .feature-cap { width: 78%; }
}

/* ---------- Work: two projects, one image each ---------- */
.work { padding-block: 4rem; }
.work-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 3rem var(--gutter); }
@media (min-width: 905px) { .work-list { grid-template-columns: 1fr 1fr; } }
.work-item img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 1px solid var(--rule); border-radius: 2px; }
.work-label { margin: 1rem 0 0.35rem; font-size: 0.8125rem; color: var(--muted); }
.work-item h3 { margin: 0 0 0.5rem; font-size: 1.375rem; line-height: 1.2; }
.work-item h3 a { color: var(--ink); text-decoration: none; }
.work-item h3 a:hover { text-decoration: underline; }
.work-item p:not(.work-label) { margin: 0 0 0.75rem; max-width: 52ch; }
.work-link { font-weight: 600; color: var(--ink); }

/* ---------- Services: what every site includes, now inside the section ---------- */
.inc-h { margin: 3rem 0 1rem; font-size: 1.375rem; }
.packages .inc-grid { list-style: none; margin: 0; padding: 0; }
.packages .inc-grid h4 { margin: 0 0 0.35rem; font: 600 1.0625rem/1.3 var(--font-head); }
.packages .inc-grid p { margin: 0; }
.pk-key { border: 0; border-top: 2px solid var(--ink); border-radius: 0; background: none; padding-inline: 0; }
.care { margin-top: 3rem; background: none; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 1rem 0 0; }
@media (min-width: 905px) { .care { display: block; } }
.care h3 { margin: 0 0 0.5rem; }
.care-terms { display: grid; gap: 0.5rem var(--gutter); margin: 1rem 0 0; }
@media (min-width: 600px) { .care-terms { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.care-terms dt { font-size: 0.875rem; color: var(--muted); }
.care-terms dd { margin: 0.15rem 0 0; }

/* ---------- About: the name's story is a paragraph here now ---------- */
.about-knot { padding-top: 1rem; border-top: 1px solid var(--rule); }

/* ---------- Common questions ---------- */
.faq { padding-block: 4rem; }
.faq-list { max-width: 48rem; margin-top: 1.5rem; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; cursor: pointer; font-weight: 600; font-size: 1.125rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.faq details p { margin: 0 0 1.25rem; max-width: 62ch; }

/* ---------- grounds: limestone throughout, stone for the enquiry, ink for the footer ---------- */
.whofor, .packages, .about, .process, .faq, .ownership, .included { background: var(--bg); }
.enquire { background: var(--surface); }

/* ---------- the one ruled divider: across the top of the footer ---------- */
.site-footer { padding-top: 0; }
.site-footer > .ruler {
  display: block; height: 14px; margin-bottom: 3rem; border: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.7) 0 1px, transparent 1px 80px) var(--margin) top / 100% 12px repeat-x,
    repeating-linear-gradient(90deg, rgba(255,255,255,0.3) 0 1px, transparent 1px 8px) var(--margin) top / 100% 6px repeat-x;
}

/* ---------- project pages ---------- */
.case-page .case-block { padding-block: 3rem 4rem; }
.case-page h1.case-h { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.05; margin: 0.25rem 0 1rem; }
.case-page .case-n a { color: inherit; }
.case-page .case-frame { margin-block: 2rem 3rem; }
.case-end { padding-block: 3rem 5rem; border-top: 1px solid var(--rule); }
.case-end p { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

/* ---------- one project for now: Silesia, image and text side by side ---------- */
@media (min-width: 905px) {
  /* the text is centred beside the image as one block: spare height goes above and below it */
  .work-list.work-one { grid-template-columns: 1fr; }
  .work-one .work-item { max-width: none; display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: 1fr auto auto auto auto 1fr; column-gap: var(--gutter); }
  .work-one .work-img { grid-column: 1; grid-row: 1 / -1; }
  .work-one .work-label { grid-column: 2; grid-row: 2; margin-top: 0; }
  .work-one h3 { grid-column: 2; grid-row: 3; }
  .work-one .work-item > p:not(.work-label) { grid-column: 2; grid-row: 4; }
  .work-one .work-link { grid-column: 2; grid-row: 5; justify-self: start; }
}

/* ---------- the knot drawing beside its story ---------- */
.about-knot { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.25rem; align-items: center; }
.about-knot .knot-drawing { max-width: none; margin: 0; grid-column: auto; } /* studio.css gives it span 4 for the old band */
.about-knot p { margin: 0; }

/* the clove hitch in About: the same 3D-modelled knot as the live site (brand/tools/clove-hitch.js),
   in ink with a brass core, in a small framed tile that clips the pole and rope at its edges */
.about-knot .knot-drawing { aspect-ratio: 1; overflow: hidden; border-radius: 3px; background: var(--surface); border: 1px solid var(--rule); display: grid; place-items: center; }
.about-knot .knot-drawing svg { width: 135%; max-width: none; height: auto; overflow: visible; }
.about-knot .knot-svg { --pole-dark: #cfc6b2; --pole-light: #faf7ee; }
.about-knot .knot-svg .pole { fill: url(#pole-shade); stroke: var(--ink); stroke-width: 1.2; }
.about-knot .knot-svg .pole-shine { fill: #fff; opacity: 0.35; }
.about-knot .knot-svg .cord path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.about-knot .knot-svg .cord .edge { stroke: var(--ink); stroke-width: 12.5; }
.about-knot .knot-svg .cord .core { stroke: var(--brass-700); stroke-width: 8; }
.about-knot .knot-svg .cord .lay { stroke: #4a3720; stroke-width: 1.5; stroke-linecap: round; opacity: 0.75; }
.about-knot .knot-svg .cord .shine { stroke: #d9bd8c; stroke-width: 1.4; opacity: 0.85; }
