/* Shared look for the service and legal pages: the same parchment, ink and type as the homepage. */
@font-face{font-family:"Bowlby One SC";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/bowlby-one-sc-latin.woff2") format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:400 700;font-display:swap;src:url("fonts/montserrat-latin.woff2") format("woff2")}
@font-face{font-family:"Space Mono";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/space-mono-regular-latin.woff2") format("woff2")}
@font-face{font-family:"Space Mono";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/space-mono-bold-latin.woff2") format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:400 600;font-display:swap;src:url("fonts/cormorant-garamond-italic-latin.woff2") format("woff2")}

:root {
  --font-display: "Bowlby One SC", "Arial Black", Impact, sans-serif;
  --font-narrative: "Space Mono", "IBM Plex Mono", ui-monospace, monospace;
  --font-ui: "Montserrat", Inter, system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --ink: #2f3858;
  --body: #41454a;
  --muted: #4f5863;
  --line: rgba(25, 31, 39, .86);
  --paper: #f4ede1;
  --paper-2: #efe5d2;
  --panel: #f8f4eb;
  --accent: #b94a3a;
  --gold: #c79a3a;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --paper-shadow: 0 1px 0 rgba(47, 56, 88, .05), 0 22px 34px -22px rgba(47, 56, 88, .42);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  color: var(--body);
  font-family: var(--font-narrative);
  font-size: 15px; line-height: 1.75;
  background:
    url("../assets/13-plants.webp") left -40px bottom -30px / min(560px, 52vw) auto no-repeat,
    url("../assets/11-rocks.webp") right 4% bottom -10px / min(380px, 34vw) auto no-repeat,
    radial-gradient(120% 50% at 50% 0%, #f3d7c6 0%, transparent 60%),
    radial-gradient(rgba(0, 0, 0, .025) 1px, transparent 1px) 0 0 / 3px 3px,
    var(--paper);
  padding-bottom: clamp(150px, 20vw, 280px);
}
a { color: inherit; }
::selection { background: rgba(185, 74, 58, .2); }

/* ---------- layout shells (service pages use .wrap, legal pages use body > main) ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
body > main { max-width: 900px; margin: 0 auto; padding: 72px clamp(18px, 4vw, 40px) 40px; }

/* ---------- nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 20px 0; border-bottom: 1.5px dashed rgba(43, 42, 40, .22);
}
body > .nav { max-width: 1120px; margin: 0 auto; padding: 20px clamp(18px, 4vw, 40px); }
.brand, .logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 400; font-size: 20px; letter-spacing: 0;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
}
.brand::before {
  content: "◌"; width: 30px; height: 30px; display: grid; place-items: center; font-size: 14px;
  border: 1.2px solid var(--line); border-radius: 50%;
}
.logo .mark { width: 30px; height: 30px; border: 1.2px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 14px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.nav-links a, .nav a.back {
  font-family: var(--font-ui); font-weight: 600; font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--body); text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color .2s, color .2s;
}
.nav-links a:hover { color: var(--ink); border-bottom-color: currentColor; }
.nav-links a:last-child, .nav a.back {
  padding: 10px 16px; border: 1.2px solid var(--line); background: var(--panel); color: var(--ink);
  font-weight: 700; box-shadow: 4px 4px 0 rgba(49, 58, 72, .16); transition: transform .15s, background .2s;
}
.nav-links a:last-child:hover, .nav a.back:hover { transform: translate(-1px, -1px); background: #fff9ee; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  column-gap: clamp(28px, 5vw, 72px); align-items: start;
  padding: clamp(56px, 8vw, 104px) 0 clamp(36px, 5vw, 64px);
}
.hero > :not(.hero-art-card) { grid-column: 1; }
.hero-art-card {
  grid-column: 2; grid-row: 1 / span 5; align-self: center;
  margin: 0; aspect-ratio: 4 / 5; position: relative;
  border: 15px solid transparent; border-image: url("ink-frame.svg") 18 fill / 15px / 0 stretch;
  box-shadow: var(--paper-shadow);
  transform: rotate(1.4deg);
}
.hero-art-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-ui); font-weight: 700; font-size: 11px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
h1 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0;
  font-size: clamp(38px, 6vw, 78px); line-height: .9; color: var(--ink);
  margin: 0 0 22px; text-wrap: balance; max-width: 14ch;
}
body > main h1 { max-width: none; }
h2 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0;
  font-size: clamp(22px, 2.6vw, 34px); line-height: 1; color: var(--ink); margin: 0 0 14px; text-wrap: balance;
}
.lead { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.75; max-width: 58ch; margin: 0 0 26px; }
.button {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-ui); font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  padding: 1em 1.5em; background: var(--line); color: #f8f4eb; text-decoration: none;
  border: 1.5px solid var(--line); box-shadow: 5px 5px 0 rgba(49, 58, 72, .18);
  transition: transform .2s, background .2s;
}
.button::after { content: "→"; transition: transform .3s var(--ease-out); }
.button:hover { transform: translate(-1px, -1px); background: var(--accent); border-color: var(--accent); }
.button:hover::after { transform: translateX(4px); }

/* ---------- capability cards ---------- */
.grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
  padding: 18px 0 clamp(48px, 6vw, 80px); counter-reset: card;
}
.card {
  counter-increment: card;
  position: relative; padding: 26px 20px 18px;
  border: 15px solid transparent; border-image: url("ink-frame-soft.svg") 18 fill / 15px / 0 stretch;
  background: none; box-shadow: var(--paper-shadow);
  transition: transform .45s var(--ease-out);
}
.card:hover { transform: translateY(-5px) rotate(-.3deg); }
.card::before {
  content: counter(card, decimal-leading-zero);
  position: absolute; top: -30px; left: 2px; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--panel) url("ink-circle-rust.svg") center / 100% 100% no-repeat;
  font-family: var(--font-display); font-size: 14px; color: var(--ink);
}
.card h2 { font-size: clamp(17px, 1.5vw, 21px); margin: 4px 0 10px; }
.card p { font-size: 14px; line-height: 1.7; margin: 0; }

/* ---------- sections ---------- */
.section { padding: clamp(40px, 5vw, 64px) 0; border-top: 1.5px dashed rgba(43, 42, 40, .22); }
.section > p:not(.eyebrow), .split p { max-width: 64ch; }
.section a, .split a, body > main a:not(.back) { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.section ol { list-style: none; padding: 0; margin: 22px 0; counter-reset: flow; display: grid; gap: 14px; max-width: 70ch; }
.section ol li {
  counter-increment: flow; position: relative; padding-left: 52px; min-height: 36px;
  font-family: var(--font-serif); font-style: italic; font-size: 19px; line-height: 1.45; color: var(--ink);
  display: flex; align-items: center;
}
.section ol li::before {
  content: counter(flow); position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; display: grid; place-items: center;
  background: url("ink-circle-rust.svg") center / 100% 100% no-repeat;
  font-family: var(--font-display); font-style: normal; font-size: 13px; color: var(--ink);
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }

/* ---------- FAQ ---------- */
.faq details {
  border: 0; padding: 0; margin: 12px 0;
  border-bottom: 1.5px dashed rgba(43, 42, 40, .22);
}
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 16px 48px 16px 0;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(15px, 1.3vw, 18px);
  text-transform: uppercase; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; display: grid; place-items: center;
  background: url("ink-circle.svg") center / 100% 100% no-repeat;
  font-family: var(--font-narrative); font-size: 18px; color: var(--accent);
  transition: transform .35s var(--ease-out);
}
.faq details[open] summary::after { content: "–"; transform: translateY(-50%) rotate(180deg); }
.faq details p { margin: 0 0 18px; max-width: 66ch; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ---------- legal pages ---------- */
body > main > section { padding: 28px 0; border-top: 1.5px dashed rgba(43, 42, 40, .2); }
body > main h2 { font-size: clamp(20px, 2vw, 26px); }
body > main li { margin: 8px 0; }
.updated { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 32px; }
.note {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--ink);
  margin: 0 0 36px; padding: 18px 22px;
  border: 15px solid transparent; border-image: url("ink-frame-soft.svg") 18 fill / 15px / 0 stretch;
  box-shadow: var(--paper-shadow);
}
strong { color: var(--ink); }

/* ---------- footer ---------- */
.footer, footer.site-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 48px; padding: 26px 0;
  border-top: 1.5px dashed rgba(43, 42, 40, .22); border-bottom: 0;
  font-family: var(--font-ui); font-weight: 600; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  background: transparent;
}
footer.site-footer { max-width: 1120px; margin: 48px auto 0; padding: 26px clamp(18px, 4vw, 40px); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-mark { width: 26px; height: 26px; border: 1.2px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 12px; letter-spacing: 0; color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { text-decoration: none; color: var(--muted); border-bottom: 1px solid transparent; }
.footer-links a:hover { color: var(--ink); border-bottom-color: currentColor; }

/* ---------- small screens ---------- */
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art-card { grid-column: 1; grid-row: auto; aspect-ratio: 16 / 10; margin-top: 34px; transform: rotate(.8deg); }
  .grid { grid-template-columns: 1fr; row-gap: 46px; padding-top: 40px; }
  .split { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; }
  .nav-links a:not(:last-child) { display: none; }
  h1 { max-width: none; }
}
.hero > .button { justify-self: start; }
