/* Sunshine Coast Carpentry And Maintenance. "Square and true": a carpenter's drawing board.
   Slate ink, eucalypt green, a carpenter's-pencil orange for every call button, dimension lines for labels,
   and a tape measure that pulls out along the top as the page is read. Mobile first. */

@font-face { font-family: "Space Grotesk"; src: url("/fonts/spacegrotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/sourcesans3.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
/* Fallbacks sized to the web fonts, so nothing shifts when they arrive. */
@font-face { font-family: "Grotesk fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 92%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: "Sans fallback"; src: local("Arial"); size-adjust: 93%; ascent-override: 106%; descent-override: 29%; line-gap-override: 0%; }

:root {
  --ink: #15232a; --ink-2: #3a4950; --ink-3: #56646a;
  --paper: #f4f3ee; --paper-2: #ebeae2; --card: #fff; --line: #dcdbd2; --line-2: #c7c8bd;
  --gum: #2c5a4e; --gum-d: #1d4037; --gum-dd: #12291f; --gum-l: #dce8e1; --gum-ll: #eef4f0;
  --pencil: #f28c3b; --pencil-d: #a5461a; --pencil-l: #fdebdc;
  --timber: #c69361;
  --head: "Space Grotesk", "Grotesk fallback", system-ui, sans-serif;
  --body: "Source Sans 3", "Sans fallback", system-ui, sans-serif;
  --r: 18px; --r-lg: 26px;
  --shadow: 0 1px 2px rgb(21 35 42 / .06), 0 10px 30px -14px rgb(21 35 42 / .28);
  --shadow-lg: 0 2px 4px rgb(21 35 42 / .05), 0 30px 60px -28px rgb(21 35 42 / .45);
  --head-h: 64px;
  --wrap: 1180px;
  --pw-colour: #2c5a4e; --pw-time: .65s;
  color-scheme: light;
}
@media (min-width: 900px) { :root { --head-h: 76px; } }

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); container-type: scroll-state; container-name: page; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 650; line-height: 1.12; letter-spacing: -.022em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 7.4vw, 3.9rem); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.7rem); letter-spacing: -.03em; }
h3, .h3 { font-size: clamp(1.18rem, 2.4vw, 1.38rem); letter-spacing: -.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--gum); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--gum-d); }
:focus-visible { outline: 3px solid var(--pencil-d); outline-offset: 3px; border-radius: 4px; }
strong, b { font-weight: 650; }
ul, ol { padding-left: 1.2em; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 650; text-decoration: none; transition: top .15s; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }
.section { padding-block: clamp(56px, 9vw, 112px); }
.section.tight { padding-block: clamp(40px, 6vw, 72px); }
.section.white { background: var(--card); }
.section.sand { background: var(--paper-2); }
.section.dark { background: var(--gum-dd); color: #e7efe9; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark a:not(.btn) { color: #ffd2ae; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.28rem); line-height: 1.55; color: var(--ink-2); }
.dark .lead { color: #c5d6cd; }
.muted { color: var(--ink-3); }
.small { font-size: .92rem; }

/* Section heads: the eyebrow is a dimension line, |— like this —|, the way a carpenter labels a drawing. */
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .lead { margin-bottom: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 .78rem/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--pencil-d); }
.eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 9px; flex: none; background: linear-gradient(currentColor, currentColor) left / 1.5px 100% no-repeat, linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat; opacity: .8; }
.eyebrow::after { background-position: right, center; }
.dark .eyebrow { color: var(--pencil); }
.center .eyebrow { justify-content: center; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 14px; border: 2px solid transparent; font: 650 1.03rem/1.1 var(--head); letter-spacing: -.005em; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s, box-shadow .2s, border-color .15s, color .15s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-call { background: var(--pencil); color: var(--ink); box-shadow: 0 1px 0 rgb(0 0 0 / .08), 0 10px 24px -12px rgb(179 81 27 / .8); }
.btn-call:hover { background: #f59b51; color: var(--ink); box-shadow: 0 1px 0 rgb(0 0 0 / .08), 0 14px 28px -12px rgb(179 81 27 / .9); }
.btn-gum { background: var(--gum); color: #fff; }
.btn-gum:hover { background: var(--gum-d); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.dark .btn-line { color: #fff; border-color: rgb(255 255 255 / .35); }
.dark .btn-line:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-small { min-height: 44px; padding: 0 16px; font-size: .95rem; border-radius: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font: 650 1rem/1.3 var(--head); color: var(--gum); text-decoration: none; }
.text-link svg { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }
.dark .text-link { color: #ffd2ae; }

/* ---- Tape measure: pulls out along the bottom of the header as the page is read (no script) ---- */
@property --pl { syntax: "<number>"; inherits: true; initial-value: 0; }
.pl { display: none; position: fixed; inset: calc(var(--head-h) - 5px) 0 auto 0; height: 11px; z-index: 55; pointer-events: none; filter: drop-shadow(0 1px 1.5px rgb(0 0 0 / .25)); }
@supports (animation-timeline: scroll()) { .pl { display: block; animation: pl-go linear both; animation-timeline: scroll(root block); } }
@keyframes pl-go { from { --pl: 0; } to { --pl: 1; } }
.pl::before { content: ""; position: absolute; inset: 0; clip-path: inset(0 calc((1 - var(--pl)) * 100%) 0 0);
  background:
    repeating-linear-gradient(90deg, rgb(21 35 42 / .85) 0 1.5px, transparent 1.5px 50px) 0 0 / 100% 75% no-repeat,
    repeating-linear-gradient(90deg, rgb(21 35 42 / .6) 0 1px, transparent 1px 10px) 0 0 / 100% 40% no-repeat,
    linear-gradient(#ffd46b, #f5bd2d 45%, #dca318); }
.pl::after { content: ""; position: absolute; top: -1px; height: calc(100% + 4px); width: 6px; left: calc(var(--pl) * 100% - 6px); border-radius: 0 0 2px 2px; background: linear-gradient(90deg, #8d9399, #e3e6e9 45%, #9aa0a6); }
@media (prefers-reduced-motion: reduce) { .pl { display: none; } }

/* ---- Header ---- */
.site-head { position: sticky; top: 0; z-index: 50; height: var(--head-h); background: rgb(244 243 238 / .92); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.head-in { height: 100%; display: flex; align-items: center; gap: 14px; width: min(100% - 1.5rem, 1280px); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-words { display: grid; line-height: 1.05; min-width: 0; }
.brand-words small { font: 700 .66rem/1.2 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--gum); }
.brand-words b { font: 650 1rem/1.1 var(--head); letter-spacing: -.02em; white-space: nowrap; }
@media (max-width: 380px) { .brand-words b { font-size: .92rem; } .brand-mark { width: 36px; height: 36px; } }
.head-call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--pencil); color: var(--ink); font: 650 .98rem/1 var(--head); text-decoration: none; white-space: nowrap; }
.head-call:hover { background: #f59b51; color: var(--ink); }
.head-call svg { width: 18px; height: 18px; }
.head-call .num { display: none; }
@media (min-width: 560px) { .head-call .num { display: inline; } .head-call .word { display: none; } }
@media (max-width: 419px) { .head-call { width: 44px; padding: 0; justify-content: center; } .head-call .word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .head-in { gap: 10px; } }

.main-nav { order: 3; }
.menu-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--card); color: var(--ink); font: 650 .95rem/1 var(--head); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: inline; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu a { display: block; color: var(--ink); text-decoration: none; font: 600 1rem/1.2 var(--head); }
.menu a[aria-current="page"] { color: var(--gum); }
@media (max-width: 1279px) {
  .menu-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  @media (min-width: 420px) { .menu-word { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }
  .menu { position: fixed; inset: var(--head-h) 0 auto 0; max-height: calc(100dvh - var(--head-h)); overflow: auto; padding: 10px 1.25rem 26px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgb(21 35 42 / .4); display: none; }
  .menu.open { display: block; }
  .menu li + li { border-top: 1px solid var(--line); }
  .menu a { padding: 15px 2px; font-size: 1.12rem; }
  .menu a[aria-current="page"]::after { content: " ·"; color: var(--pencil-d); }
  /* No script: the menu is a strip under the header you can swipe along. */
  .no-js .menu-btn { display: none; }
  .no-js .main-nav { position: absolute; top: var(--head-h); left: 0; right: 0; }
  .no-js .menu { position: static; display: flex; gap: 18px; overflow-x: auto; padding: 10px 1.25rem; box-shadow: none; }
  .no-js .menu li + li { border: 0; }
  .no-js .menu a { padding: 6px 0; white-space: nowrap; font-size: .95rem; }
}
@media (min-width: 1280px) {
  .main-nav { order: 0; }
  .menu-btn { display: none; }
  .menu { display: flex; gap: 2px; }
  .menu a { padding: 10px 11px; border-radius: 10px; font-size: .95rem; }
  .menu a:hover { background: var(--paper-2); }
  .menu a[aria-current="page"] { background: var(--gum-l); color: var(--gum-d); }
}

/* ---- Home hero ---- */
.hero { position: relative; padding: clamp(22px, 5vw, 64px) 0 clamp(44px, 7vw, 88px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgb(44 90 78 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(44 90 78 / .07) 1px, transparent 1px);
  background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); mask-image: linear-gradient(180deg, #000 30%, transparent 95%); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; } }
.hero .where { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font: 650 .88rem/1.2 var(--head); color: var(--ink-2); }
.hero .where svg { width: 18px; height: 18px; color: var(--pencil-d); }
.hero h1 { margin-bottom: .32em; }
.hero h1 .mark { position: relative; white-space: nowrap; isolation: isolate; }
.hero h1 .mark::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -.04em; height: .22em; z-index: -1; border-radius: 3px; background: var(--pencil); opacity: .55; transform-origin: left; }
@media (prefers-reduced-motion: no-preference) { .hero h1 .mark::after { animation: pencil 1s .5s cubic-bezier(.6, 0, .2, 1) both; } }
@keyframes pencil { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero .lead { max-width: 36em; margin-bottom: 1.2em; }
.trust { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.trust li { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .98rem; color: var(--ink); }
.trust svg { width: 19px; height: 19px; color: var(--gum); flex: none; }
.hero .btn-row .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .hero .btn-row .btn { flex: 0 0 auto; } }
.hero-hours { margin: 14px 0 0; font-size: .95rem; color: var(--ink-3); }

/* The drawing board the hero drawing sits on. */
.board { position: relative; margin: 0; padding: 14px 14px 12px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.board::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 8px; border-radius: 0 0 4px 4px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 12px) 0 0 / 100% 60% no-repeat, repeating-linear-gradient(90deg, var(--ink-3) 0 1px, transparent 1px 60px) 0 0 / 100% 100% no-repeat; opacity: .7; }
.board svg { display: block; width: 100%; height: auto; border-radius: 14px; }
.board figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; font-size: .88rem; color: var(--ink-3); }
.ill-tag { display: inline-block; padding: 4px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font: 700 .64rem/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 979px) { .hero .board { max-width: 560px; } }

/* The hero drawing builds itself (from the reuse library: animations/cabinetry-elevations, hero.css).
   The resting state is the finished room, so it shows even where animation never runs. */
.hero-art .ha-line { opacity: 0; animation: ha-line 3.15s linear both; }
.hero-art .ln { stroke-dasharray: 1; stroke-dashoffset: 0; animation: ha-draw 1.5s cubic-bezier(.45, .05, .25, 1) both; }
.hero-art .ln:nth-child(3n) { animation-delay: .12s; }
.hero-art .ln:nth-child(3n+1) { animation-delay: .26s; }
.hero-art .ha-fill { animation: ha-fill 1.25s 1.35s cubic-bezier(.65, 0, .2, 1) both; }
.hero-art .ha-dims { opacity: .6; animation: ha-dims 3.4s .15s ease both; }
.hero-art .glow { animation: ha-glow 1.2s 2.65s ease both; }
@keyframes ha-line { 0%, 78% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ha-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ha-fill { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ha-dims { 0% { opacity: 0; } 12% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: .6; } }
@keyframes ha-glow { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-art .ha-line, .hero-art .ln, .hero-art .ha-fill, .hero-art .glow, .hero-art .ha-dims { animation: none !important; } }
/* On a phone the drawing sits below the first screen: site.js holds it until it scrolls into view. */
.board.wait .hero-art *, .board.wait .stamp { animation-play-state: paused !important; }

/* A "built" stamp that lands once the drawing has filled in. */
.stamp { position: absolute; right: 22px; top: 26px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 12px; background: var(--gum); color: #fff; font: 700 .8rem/1 var(--head); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 10px 24px -10px rgb(18 41 31 / .7); }
.stamp svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: no-preference) { .stamp { animation: stamp .5s 3s cubic-bezier(.2, 1.6, .4, 1) both; } }
@keyframes stamp { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }

/* ---- Inner page hero ---- */
.page-hero { position: relative; padding: clamp(26px, 5vw, 60px) 0 clamp(36px, 6vw, 72px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.page-hero .ph-grid { display: grid; gap: 26px; align-items: center; }
@media (min-width: 940px) { .page-hero .ph-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 52px; } }
.page-hero h1 { font-size: clamp(2rem, 6vw, 3.3rem); }
.page-hero .lead { max-width: 38em; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: .9rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--ink-3); }

/* ---- Cards and grids ---- */
.grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 700px) and (max-width: 999px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; }
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-2); }
.dark .card { background: rgb(255 255 255 / .05); border-color: rgb(255 255 255 / .12); }
.dark .card p { color: #c5d6cd; }
.ico { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 13px; background: var(--gum-l); color: var(--gum-d); }
.ico svg { width: 24px; height: 24px; }
.dark .ico { background: rgb(242 140 59 / .16); color: var(--pencil); }

/* Service cards: an illustration, a title, a line, and the whole card is the link. */
.svc { display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc .pic { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.svc .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.svc:hover .pic img { transform: scale(1.04); }
.svc .pic .ill-tag { position: absolute; left: 10px; bottom: 10px; background: rgb(255 255 255 / .88); }
.svc .body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.svc h3 { margin: 0 0 .25em; }
.svc h3 a { color: var(--ink); text-decoration: none; }
.svc h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc p { margin: 0 0 12px; font-size: .98rem; }
.svc .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font: 650 .95rem/1 var(--head); color: var(--gum); }
.svc .more svg { width: 16px; height: 16px; transition: transform .2s; }
.svc:hover .more svg { transform: translateX(3px); }
.svc:focus-within { outline: 3px solid var(--pencil-d); outline-offset: 3px; }
@media (max-width: 699px) {
  .svc { display: grid; grid-template-columns: 112px 1fr; align-items: stretch; }
  .svc .pic { aspect-ratio: auto; height: 100%; min-height: 128px; }
  .svc .pic .ill-tag { left: 6px; bottom: 6px; padding: 3px 6px; font-size: .52rem; letter-spacing: .08em; }
  .svc .body { padding: 14px 16px 16px; }
  .svc h3 { font-size: 1.08rem; }
  .svc p { font-size: .93rem; margin-bottom: 8px; }
  .svc .more { font-size: .9rem; }
}
.svc h3 a:focus-visible { outline: none; }

/* A checklist with a carpenter's tick */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 21px; height: 21px; border-radius: 7px; background: var(--gum-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4037' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.dark .ticks li::before { background-color: rgb(242 140 59 / .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f28c3b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.ticks.two { grid-template-columns: 1fr; }
@media (min-width: 700px) { .ticks.two { grid-template-columns: 1fr 1fr; gap: 12px 28px; } }

/* Split: words beside a picture */
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 940px) { .split { grid-template-columns: 1fr 1fr; gap: 60px; } .split.flip > :first-child { order: 2; } }
.pic-card { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pic-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pic-card figcaption { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 16px; font-size: .9rem; color: var(--ink-3); }

/* ---- Home: the jobs switcher above the slider ---- */
.jobs-tabs { display: flex; gap: 8px; margin: 0 0 16px; padding: 0 0 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.jobs-tabs::-webkit-scrollbar { display: none; }
.jobs-tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); color: var(--ink); font: 650 .95rem/1 var(--head); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.jobs-tabs button svg { width: 18px; height: 18px; color: var(--gum); }
.jobs-tabs button:hover { border-color: var(--ink); }
.jobs-tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.jobs-tabs button[aria-pressed="true"] svg { color: var(--pencil); }
.no-js .jobs-tabs { display: none; }
.showcase { display: grid; gap: 22px; align-items: center; }
@media (min-width: 980px) { .showcase { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; } }
.showcase-text h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
.showcase-text .scope { display: block; margin-bottom: 8px; font: 700 .74rem/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--pencil-d); }
.showcase-text [data-job-text] { color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) { .showcase-text.swap > * { animation: txt-in .4s ease both; } }
@keyframes txt-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- Why: facts in a ruled list ---- */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgb(255 255 255 / .14); }
.facts li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgb(255 255 255 / .14); }
.facts .ico { margin: 0; }
.facts h3 { margin: 0 0 .25em; font-size: 1.15rem; }
.facts p { margin: 0; color: #c5d6cd; }
@media (min-width: 900px) { .facts { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

/* ---- Steps teaser (home) ---- */
.phase-row { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: ph; }
@media (min-width: 760px) { .phase-row { grid-template-columns: repeat(5, 1fr); } }
.phase-row li { counter-increment: ph; position: relative; padding: 18px 18px 18px 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.phase-row li::before { content: counter(ph, decimal-leading-zero); display: block; margin-bottom: 8px; font: 700 .8rem/1 var(--head); letter-spacing: .12em; color: var(--pencil-d); }
.phase-row b { display: block; font: 650 1.05rem/1.2 var(--head); margin-bottom: 4px; }
.phase-row span { font-size: .94rem; color: var(--ink-2); }

/* ---- Areas ---- */
.areas { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; }
.areas li { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: .96rem; }
.areas li.home { background: var(--gum); border-color: var(--gum); color: #fff; }

/* ---- Call to action band ---- */
.cta { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); background: var(--gum); color: #fff; display: grid; gap: 22px; align-items: center; }
.cta::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border: 26px solid rgb(242 140 59 / .9); border-left: 0; border-top: 0; border-radius: 0 0 8px 0; opacity: .35; pointer-events: none; }
@media (min-width: 900px) { .cta { grid-template-columns: 1.3fr .7fr; } }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: #d5e4dc; margin: 0; }
.cta .btn-row { position: relative; z-index: 1; }
.cta .btn-line { color: #fff; border-color: rgb(255 255 255 / .4); }
.cta .btn-line:hover { color: #fff; border-color: #fff; }
.cta a:not(.btn) { color: #ffd2ae; }

/* ---- FAQ ---- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 0; font: 650 1.06rem/1.3 var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--gum-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4037' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > :not(summary) { color: var(--ink-2); }
.faq details > p:last-child { padding-bottom: 6px; }

/* ---- Prose (privacy, long pages) ---- */
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }

/* ---- Contact ---- */
.contact-grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 44px; } }
.call-card { background: var(--gum-dd); color: #e7efe9; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 36px); }
.call-card h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.8rem); }
.call-card .big { display: block; margin: 6px 0 18px; font: 650 clamp(2rem, 8vw, 2.6rem)/1 var(--head); letter-spacing: -.03em; color: #fff; text-decoration: none; }
.call-card .big:hover { color: var(--pencil); }
.call-card .btn { width: 100%; }
.call-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 22px 0 0; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .14); font-size: .98rem; }
.call-card dt { color: #9fb8ac; }
.call-card dd { margin: 0; }
.call-card a:not(.btn) { color: #ffd2ae; word-break: break-word; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.field { display: grid; gap: 6px; margin: 0 0 16px; }
.field label, .field legend { font-weight: 650; font-size: 1rem; }
.field .hint { font-weight: 400; color: var(--ink-3); }
fieldset.field { border: 0; padding: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.field input[type="text"], .field input[type="tel"], .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fbfbf8; color: var(--ink); font: inherit; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gum); box-shadow: 0 0 0 4px rgb(44 90 78 / .18); }
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pick label { position: relative; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fbfbf8; font-weight: 600; cursor: pointer; line-height: 1.2; }
.pick input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--gum); }
.pick label:has(input:checked) { border-color: var(--gum); background: var(--gum-ll); box-shadow: inset 0 0 0 1px var(--gum); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; }
.form-note { margin: 12px 0 0; font-size: .9rem; color: var(--ink-3); }
.prefill { display: grid; gap: 4px; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--pencil-l); color: #5d2a0c; font-size: .95rem; }
.prefill[hidden] { display: none; }

/* ---- 404 ---- */
.nf { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .nf { grid-template-columns: 1fr 1fr; gap: 52px; } }

/* ---- Footer ---- */
.site-foot { background: var(--ink); color: #c3ccc9; padding: clamp(48px, 7vw, 80px) 0 28px; font-size: .97rem; }
.site-foot a { color: #e9eeec; text-decoration: none; }
.site-foot a:hover { color: var(--pencil); text-decoration: underline; }
.foot-grid { display: grid; gap: 30px; }
@media (min-width: 700px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 650 1.1rem/1.2 var(--head); color: #fff; }
.site-foot h2 { margin: 0 0 12px; font: 700 .76rem/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--pencil); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-phone { font: 650 1.4rem/1.2 var(--head); color: #fff !important; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .86rem; color: #a3afab; }
.studio-credit { color: #a3afab !important; font-size: .84rem; }
.studio-credit:hover { color: #fff !important; }
@media (max-width: 760px) { .site-foot { padding-bottom: 112px; } }

/* ---- The call bar on phones (from the reuse library: sections/sticky-call-bar-2). While the visitor reads
   down it slims to the Call button; scrolling back up, or at the bottom of the page, both buttons return. ---- */
.call-bar { position: fixed; inset: auto 0 0 0; z-index: 60; display: none; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgb(21 35 42 / .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 -8px 22px rgb(0 0 0 / .18); transition: padding .22s ease, gap .22s ease; }
@media (max-width: 760px) { .call-bar { display: flex; } }
.call-bar a { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 50px; padding: 0 .8rem; border-radius: 14px; border: 2px solid transparent; font: 650 1rem/1 var(--head); white-space: nowrap; text-decoration: none; transition: min-height .22s ease, flex-grow .22s ease, opacity .18s ease, padding .22s ease, border-width .22s ease; }
.call-bar svg { width: 19px; height: 19px; flex: none; }
.call-bar .cb-call { flex-grow: 1.35; background: var(--pencil); color: var(--ink); }
.call-bar .cb-second { background: transparent; border-color: rgb(255 255 255 / .3); color: #fff; overflow: hidden; }
@container page scroll-state((scrolled: block-end) and (scrollable: block-end)) {
  .call-bar { gap: 0; padding: 7px 12px calc(7px + env(safe-area-inset-bottom)); }
  .call-bar a { min-height: 44px; }
  .call-bar .cb-second { flex-grow: 0; flex-basis: 0; padding: 0; border-width: 0; opacity: 0; visibility: hidden; transition: min-height .22s ease, flex-grow .22s ease, opacity .18s ease, padding .22s ease, border-width .22s ease, visibility 0s .22s; }
}
@media print { .call-bar, .pl, .menu-btn { display: none !important; } .site-head { position: static; } }

/* ---- Motion: sections arrive as they're scrolled to (reuse library: scroll-reveal, line-reveal) ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.grid > .reveal:nth-child(2), .phase-row > .reveal:nth-child(2) { transition-delay: .07s; }
.grid > .reveal:nth-child(3), .phase-row > .reveal:nth-child(3) { transition-delay: .14s; }
.grid > .reveal:nth-child(4), .phase-row > .reveal:nth-child(4) { transition-delay: .21s; }
.grid > .reveal:nth-child(5), .phase-row > .reveal:nth-child(5) { transition-delay: .28s; }
.grid > .reveal:nth-child(6) { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.lr-on .lr-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.lr-on .lr-i { display: inline-block; transform: translateY(108%); opacity: 0; transition: transform var(--lr-duration, 900ms) cubic-bezier(.2, .75, .15, 1), opacity calc(var(--lr-duration, 900ms) * .7) ease; transition-delay: calc(var(--lr-line, 0) * var(--lr-step, 110ms)); }
.lr-on.is-in .lr-i { transform: none; opacity: 1; }

/* ---- Page wipe: a band of eucalypt sweeps across between pages (reuse library: page-wipe). No script. ---- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(root) { background: var(--pw-colour); animation-duration: var(--pw-time); }
  ::view-transition-old(root) { animation: pw-out calc(var(--pw-time) * .55) cubic-bezier(.7, 0, .3, 1) both; }
  ::view-transition-new(root) { animation: pw-in calc(var(--pw-time) * .6) cubic-bezier(.2, .7, .2, 1) calc(var(--pw-time) * .4) both; }
}
@keyframes pw-out { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 100% 0 0); } }
@keyframes pw-in { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@media print { @view-transition { navigation: none; } }

/* ---- Scroll stories in this site (on animations/scroll-story) ---- */
.ss { --ss-top: calc(var(--head-h) + 22px); --ss-top-small: calc(var(--head-h) + 8px); --ss-bg: var(--paper); --ss-accent: var(--pencil-d); }
.section.white .ss { --ss-bg: var(--card); }
.ss-frame { border: 1px solid var(--line); box-shadow: var(--shadow); }
.ss-frame.wide { aspect-ratio: 16 / 10; }
.ss-step h3 { font-size: clamp(1.3rem, 2.8vw, 1.65rem); }
.ss-step p { color: var(--ink-2); }
.story-cap > span { justify-self: start; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 .74rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; }
.story-ill { position: absolute; right: 12px; bottom: 12px; z-index: 3; background: rgb(255 255 255 / .88); }
.nf-links { margin-top: 26px; }
