/* Industry pages: same tokens as index.html (Fog and crane red), only the roles these pages use */
:root {
  --bg: #e6e7e3; --surface: #d5d8d2; --ink: #121416; --muted: #474c51;
  --paper: #f5f6f3; --on-paper: #121416;
  --accent: #c8372d; --accent-press: #a12a22; --on-accent: #ffffff;
  --field-a: #c8372d; --on-a: #ffffff; --on-a-soft: #f6d6d2;
  --field-b: #1b1e21; --on-b: #eef0ee; --on-b-soft: #aab0b5;
  --font-text: "Switzer", "Helvetica Neue", Arial, sans-serif;
  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.3rem + 4.4vw, 5.25rem);
  --margin: clamp(16px, 2.4vw, 36px);
  --gap: clamp(16px, 2vw, 28px);
  --section: clamp(80px, 10vw, 160px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-press: 140ms; --t-hover: 180ms; --t-ui: 240ms;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); overflow-x: clip; font-family: var(--font-text); font-size: var(--step-body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-inline: var(--margin); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.display { font-weight: 600; letter-spacing: -0.045em; line-height: 0.95; }

/* ---------- Buttons and links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 56px; padding: 0 1.5em; background: var(--accent); color: var(--on-accent);
  font: 500 var(--step-body)/1 var(--font-text); text-decoration: none;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.button:hover { background: var(--accent-press); }
.button:active { transform: scale(0.97); }
.button--paper { background: var(--paper); color: var(--on-paper); }
.button--paper:hover { background: color-mix(in srgb, var(--paper) 86%, var(--on-paper)); }
.link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color var(--t-hover) ease; }
.link:hover { text-decoration-color: currentColor; }

/* ---------- Header and breadcrumbs ---------- */
.bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px var(--margin); }
.bar__home { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; text-decoration: none; }
.bar__home img { width: 32px; height: 40px; }
.bar .button { min-height: 44px; padding: 0 1.1em; }
.bar__act { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 32px); }
.bar__tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar__tel svg { width: 18px; height: 18px; flex: none; }

/* ---------- Phones: call, text or book from anywhere ---------- */
.dock { display: none; }
.crumbs { padding: 8px var(--margin) 0; font-size: var(--step-small); color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { display: inline-block; padding-block: 12px; margin-block: -12px; text-underline-offset: 0.25em; }

/* ---------- Head ---------- */
.head { padding-block: clamp(48px, 7vw, 112px) clamp(40px, 5vw, 72px); row-gap: 32px; }
.head h1 { grid-column: 1 / span 10; font-size: var(--step-head); }
.head__lead { grid-column: 1 / span 7; font-size: var(--step-lead); line-height: 1.4; color: var(--muted); }
.head__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.pic { grid-column: 1 / -1; overflow: clip; background: var(--surface); }
.pic img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }

/* ---------- About: portrait left, story right ---------- */
.about { row-gap: 40px; align-items: start; }
/* A circle centred in the space left of the story, so the gaps either side match */
.about__pic { grid-column: 1 / span 3; justify-self: center; width: 100%; max-width: 244px; }
.about__pic img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; border-radius: 50%; background: var(--field-b); }
.about__bio { grid-column: 4 / -1; display: grid; gap: 20px; max-width: 60ch; }
.about__bio p:first-child { font-size: var(--step-lead); line-height: 1.4; }

/* ---------- Content sections: heading left, body right ---------- */
.part { padding-block: var(--section) 0; row-gap: 40px; }
.part > h2 { grid-column: 1 / span 4; font-size: clamp(2rem, 1.2rem + 2.8vw, 3.5rem); padding-top: 24px; border-top: 2px solid var(--ink); }
.part__body { grid-column: 6 / -1; padding-top: 24px; border-top: 2px solid var(--ink); display: grid; gap: 18px; max-width: 68ch; }
.part__body p { color: var(--muted); }
.does { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px var(--gap); padding: 0; list-style: none; }
.does h3 { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 10px; }
.does p { color: var(--muted); }
.areas { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.areas li { padding: 6px 12px; background: var(--surface); font-size: var(--step-small); font-weight: 500; }
.areas a { color: inherit; text-underline-offset: 0.2em; display: inline-block; padding-block: 6px; margin-block: -6px; }

/* ---------- A sample first draft for this trade ---------- */
.sample { padding-block: var(--section) 0; row-gap: 40px; align-items: start; }
.sample > h2 { grid-column: 1 / -1; font-size: clamp(2rem, 1.2rem + 2.8vw, 3.5rem); padding-top: 24px; border-top: 2px solid var(--ink); }
.sample figure { grid-column: 1 / span 7; display: grid; gap: 14px; }
.sample figure img { width: 100%; height: auto; background: var(--surface); box-shadow: 0 30px 60px -36px rgba(11, 20, 32, 0.55); } /* taste-skill-ignore: the sample sits on the page like a screen */
.sample figcaption { color: var(--muted); font-size: var(--step-small); }
.sample__notes { grid-column: 9 / -1; display: grid; gap: 24px; padding: 0; list-style: none; counter-reset: note; }
.sample__notes li { display: grid; grid-template-columns: 36px 1fr; gap: 4px 14px; counter-increment: note; }
.sample__notes li::before { content: counter(note); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--trade, var(--accent)); color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.sample__notes h3 { font-size: var(--step-body); font-weight: 600; }
.sample__notes p { color: var(--muted); }

/* ---------- Pricing ---------- */
.price { margin-top: var(--section); background: var(--field-a); color: var(--on-a); padding-block: var(--section); row-gap: 40px; }
.price > h2 { grid-column: 1 / span 5; font-size: var(--step-head); }
.price__intro { grid-column: 7 / -1; align-self: end; font-size: var(--step-lead); line-height: 1.4; max-width: 40ch; }
.plans { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); padding: 0; list-style: none; }
.plans li { display: grid; gap: 8px; align-content: start; padding-top: 20px; border-top: 2px solid var(--on-a); }
.plans b { font-size: var(--step-lead); font-weight: 500; }
.plans .amount { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plans .amount s { font-size: 0.55em; font-weight: 500; letter-spacing: -0.02em; color: var(--on-a-soft); margin-right: 0.15em; }
.plans p { color: var(--on-a-soft); }
.price__note { grid-column: 1 / -1; color: var(--on-a-soft); }
.price__note a { color: var(--on-a); }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 12px; }
.faq details { padding: 20px 24px; margin-inline: -24px; transition: background-color var(--t-ui) ease; }
.faq details[open] { background: var(--surface); }
.faq summary { position: relative; list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: var(--step-lead); line-height: 1.3; color: var(--ink); }
.faq summary::before { content: ""; position: absolute; inset: -10px -4px; }
.faq summary::-webkit-details-marker { display: none; }
.chev { flex: none; width: 18px; height: 18px; position: relative; transition: transform var(--t-ui) var(--ease-out); }
.chev::before, .chev::after { content: ""; position: absolute; top: 8px; width: 11px; height: 2px; background: currentColor; }
.chev::before { left: 0; transform: rotate(45deg); }
.chev::after { right: 0; transform: rotate(-45deg); }
.faq details[open] .chev { transform: rotate(180deg); }
.faq details p { max-width: 56ch; margin-top: 14px; }

/* ---------- Other trades and the closing call ---------- */
.more { padding-block: var(--section); row-gap: 24px; }
.more > h2 { grid-column: 1 / -1; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; }
.more ul { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); padding: 0; list-style: none; }
.more a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 0 20px; background: var(--paper); text-decoration: none; font-weight: 500; transition: background-color var(--t-hover) ease; }
.more a:hover { background: var(--surface); }
.cta { background: var(--field-b); color: var(--on-b); padding-block: var(--section); row-gap: 32px; align-items: end; }
.cta h2 { grid-column: 1 / span 7; font-size: var(--step-head); }
.cta p { grid-column: 1 / span 6; color: var(--on-b-soft); font-size: var(--step-lead); line-height: 1.4; }
.cta .button { grid-column: 1 / -1; justify-self: start; }

.foot { background: var(--field-a); color: var(--on-a-soft); padding: 24px var(--margin); font-size: var(--step-small); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--on-a); display: inline-block; padding-block: 13px; margin-block: -13px; }

@media (max-width: 900px) {
  .head h1, .head__lead { grid-column: 1 / -1; }
  .about__pic, .about__bio { grid-column: 1 / -1; }
  .about__pic { max-width: 240px; }
  .part > h2, .part__body { grid-column: 1 / -1; }
  .part__body { border-top: 0; padding-top: 0; }
  .price > h2, .price__intro { grid-column: 1 / -1; }
  .plans, .more ul { grid-template-columns: minmax(0, 1fr); }
  .cta h2, .cta p { grid-column: 1 / -1; }
  .sample figure, .sample__notes { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .pic img { aspect-ratio: 4 / 3; }
  .does { grid-template-columns: minmax(0, 1fr); }
  .head__actions .button { width: 100%; }
  .faq details { margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); }
  .bar { padding-block: 14px; }
  .bar__tel span, .bar .button { display: none; }
  .bar__tel { justify-content: center; min-width: 44px; background: var(--surface); }
  .bar__home { gap: 10px; }
  .dock {
    position: fixed; z-index: 20; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 1px;
    padding-bottom: env(safe-area-inset-bottom); background: var(--field-b);
  }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; background: var(--field-b); color: var(--on-b); font-weight: 500; text-decoration: none; }
  .dock svg { width: 18px; height: 18px; }
  .dock .dock__book { background: var(--accent); color: var(--on-accent); }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .button:active { transform: none; }
}

/* ---------- About: the facts in one place ---------- */
.facts { padding-block: var(--section) 0; row-gap: 40px; }
.facts > h2 { grid-column: 1 / span 4; font-size: clamp(2rem, 1.2rem + 2.8vw, 3.5rem); padding-top: 24px; border-top: 2px solid var(--ink); }
.facts dl { grid-column: 6 / -1; display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0; margin: 0; padding-top: 24px; border-top: 2px solid var(--ink); }
.facts dt { font-weight: 600; padding: 12px 0 0; }
.facts dd { margin: 0; padding: 12px 0; color: var(--muted); border-bottom: 1px solid var(--surface); }
.facts dd a { color: var(--ink); }
@media (max-width: 900px) {
  .facts > h2, .facts dl { grid-column: 1 / -1; }
  .facts dl { grid-template-columns: minmax(0, 1fr); border-top: 0; padding-top: 0; }
  .facts dd { padding-top: 2px; }
}
