/* Bramblewick Home Repair - cream paper, forest green, aged brass */
:root {
  --paper: #f5efe3;
  --paper-2: #ece3d0;
  --paper-3: #e3d7bf;
  --card: #fbf8f1;
  --ink: #1c2620;
  --forest: #1f3d2e;
  --forest-deep: #132a1f;
  --forest-soft: #dde5d8;
  --brass: #a8843f;      /* rules, ornaments, icons only */
  --brass-ink: #7a5a1e;  /* brass for text on paper (AA) */
  --brass-light: #dcbc78; /* brass on forest */
  --muted: #55564a;
  --line: #d6c9ae;
  --radius: 4px;
  --gutter: clamp(16px, 5vw, 48px);
  --max: 1220px;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper) url("grain.svg");
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: var(--forest); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--brass-ink); }
:focus-visible { outline: 3px solid var(--brass-ink); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.32rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--forest); color: #fff; padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.topline {
  background: var(--forest-deep); color: #e9e1cd; font-size: .86rem;
}
.topline .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-block: 7px; }
.topline a { color: #fff; font-weight: 600; text-decoration: none; }
.topline a:hover { color: var(--brass-light); }
.topline .hide-sm { display: none; }
@media (min-width: 720px) { .topline .hide-sm { display: inline; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 239, 227, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -4px; height: 3px;
  background: linear-gradient(to right, transparent, var(--brass) 20%, var(--brass) 80%, transparent); opacity: .35;
}
.site-header .wrap { display: flex; align-items: center; gap: 10px; min-height: 76px; max-width: 1360px; }
.site-header .brand { margin-inline-end: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.32rem; line-height: 1; letter-spacing: -0.01em; }
.brand-name span { display: block; font-family: var(--font); font-weight: 600; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-ink); margin-top: 6px; }
.brand:hover { color: var(--ink); }

.nav { display: none; align-items: center; gap: 2px; }
.nav a {
  position: relative; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .97rem;
  padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center;
}
.nav a::after {
  content: ""; position: absolute; inset-inline: 12px; bottom: 6px; height: 2px; background: var(--brass);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--forest); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--forest); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1.1 var(--font); text-decoration: none; min-height: 48px;
  padding: 14px 22px; border-radius: var(--radius); border: 1.5px solid var(--forest);
  background: var(--forest); color: #fff; cursor: pointer;
  box-shadow: 0 2px 0 var(--forest-deep);
  transition: background .2s, transform .2s var(--ease), box-shadow .2s, color .2s;
}
.btn:hover { background: var(--forest-deep); color: #fff; }
.btn:active { transform: translateY(2px); box-shadow: 0 0 0 var(--forest-deep); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--forest); box-shadow: none; }
.btn-ghost:hover { background: var(--forest-soft); color: var(--forest-deep); }
.btn-brass { background: var(--brass-light); border-color: var(--brass-light); color: var(--forest-deep); box-shadow: 0 2px 0 #9c7d3c; }
.btn-brass:hover { background: #e8cd92; color: var(--forest-deep); }
.header-cta { display: none; padding: 12px 18px; }

/* Mobile menu: a <details> that works without JavaScript */
.menu { position: relative; }
.menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; font-size: .95rem; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary .bars { width: 18px; height: 12px; position: relative; }
.menu summary .bars::before, .menu summary .bars::after {
  content: ""; position: absolute; inset-inline: 0; height: 2px; background: var(--ink); transition: transform .25s var(--ease), top .25s var(--ease);
}
.menu summary .bars::before { top: 2px; }
.menu summary .bars::after { top: 8px; }
.menu[open] summary .bars::before { top: 5px; transform: rotate(45deg); }
.menu[open] summary .bars::after { top: 5px; transform: rotate(-45deg); }
.menu-panel {
  position: absolute; inset-inline-end: 0; top: calc(100% + 12px); width: min(320px, calc(100vw - 32px));
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px;
  box-shadow: 0 22px 40px -20px rgba(19, 42, 31, .45);
}
.menu-panel a { display: block; padding: 12px 14px; text-decoration: none; color: var(--ink); font-weight: 500; border-radius: 3px; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--forest-soft); color: var(--forest-deep); }
.menu-panel .btn { display: flex; margin-top: 8px; color: #fff; }

@media (min-width: 1060px) {
  .nav, .header-cta { display: inline-flex; }
  .menu { display: none; }
}

/* Language dropdown (platform switcher goes in [data-sd-languages]) */
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 12px; border-radius: var(--radius); border: 1.5px solid transparent;
  font-weight: 500; font-size: .95rem; color: var(--ink); transition: background .2s, border-color .2s;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--paper-2); color: var(--forest); }
.lang summary > svg { width: 20px; height: 20px; color: var(--forest); flex: none; }
.lang summary .chev { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.lang[open] summary .chev { transform: rotate(180deg); }
.lang-panel {
  position: absolute; inset-inline-end: 0; top: calc(100% + 12px); z-index: 60; min-width: 210px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px;
  box-shadow: 0 22px 40px -20px rgba(19, 42, 31, .45);
}
.lang-panel .sd-langs { display: grid !important; gap: 2px !important; padding: 0 !important; font-size: .95rem !important; }
.lang-panel .sd-langs a, .lang-panel .sd-langs strong {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-radius: 3px; text-decoration: none; color: var(--ink); font-weight: 500; text-align: start;
}
.lang-panel .sd-langs a:hover { background: var(--paper-2); color: var(--forest); }
.lang-panel .sd-langs strong { background: var(--forest-soft); color: var(--forest-deep); font-weight: 600; }
.lang-panel .sd-langs strong::after { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--brass); }
.lang-label { white-space: nowrap; }
@media (max-width: 1239px) {
  .lang-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lang summary .chev { display: none; }
  .lang summary { padding: 8px 10px; border-color: var(--line); background: var(--card); }
}
.nav a, .header-cta, .lang summary { white-space: nowrap; }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-ink);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--brass); transform: rotate(45deg); flex: none; }
.no { font-family: var(--serif); font-size: .95rem; color: var(--brass-ink); letter-spacing: .02em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.24rem); line-height: 1.6; color: var(--muted); max-width: 36em; }
.muted { color: var(--muted); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--paper-2) url("grain.svg"); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.section-head p { margin: 0; }
.section-head.split { max-width: none; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 56px; } }

/* A brass rule with a diamond in the middle */
.rule { display: flex; align-items: center; gap: 14px; color: var(--brass); margin: 0 auto; max-width: 260px; }
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.rule span { width: 9px; height: 9px; transform: rotate(45deg); border: 1.5px solid currentColor; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; min-height: 44px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* Photos sit in a thin frame with brass corner brackets */
.frame { position: relative; padding: 10px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 50px -36px rgba(19, 42, 31, .55); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::before, .frame::after {
  content: ""; position: absolute; width: 26px; height: 26px; border: 2px solid var(--brass); pointer-events: none;
}
.frame::before { top: -7px; inset-inline-start: -7px; border-inline-end: 0; border-bottom: 0; }
.frame::after { bottom: -7px; inset-inline-end: -7px; border-inline-start: 0; border-top: 0; }
.frame figcaption { font-size: .86rem; color: var(--muted); padding: 10px 2px 0; }

.checks { list-style: none; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; flex: none; color: var(--forest); margin-top: 4px; }

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(32px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); position: relative; }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .ul { position: relative; white-space: nowrap; color: var(--forest); }
.hero h1 .ul svg { position: absolute; inset-inline: -2% -2%; bottom: -.18em; width: 104%; height: .32em; color: var(--brass); }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin-top: 36px; padding-top: 22px; border-top: 1px dashed var(--line); font-size: .93rem; color: var(--muted); }
.hero-facts strong { display: block; color: var(--ink); font-weight: 600; }
.hero-visual { position: relative; }
.hero-visual .frame { aspect-ratio: 4 / 3; }
.hero-visual .frame img { animation: settle 1.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.05); } to { transform: none; } }

/* The work-order ticket */
.ticket {
  position: relative; background: var(--card); border: 1px solid var(--line);
  padding: 20px 22px 18px; font-size: .93rem; box-shadow: 0 24px 40px -28px rgba(19, 42, 31, .6);
}
.ticket::before {
  content: ""; position: absolute; inset-inline: 0; top: -1px; height: 6px;
  background: radial-gradient(circle at 6px -1px, var(--paper) 4px, transparent 4.5px) 0 0 / 14px 6px repeat-x;
}
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 10px; }
.ticket-head strong { font-family: var(--serif); font-weight: 400; font-size: 1.12rem; }
.ticket-head span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); font-weight: 700; }
.ticket ul { list-style: none; display: grid; gap: 7px; }
.ticket li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.ticket li svg { width: 18px; height: 18px; flex: none; color: var(--forest); margin-top: 1px; }
.ticket-foot { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--muted); }
.hero-visual .ticket { margin: -48px 14px 0; z-index: 2; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 64px; }
  .hero-visual { padding-bottom: 70px; }
  .hero-visual .frame { aspect-ratio: 5 / 5.4; }
  .hero-visual .ticket { position: absolute; inset-inline-start: -56px; bottom: 0; width: 330px; margin: 0; transform: rotate(-1.5deg); }
}

/* ---------- Facts ledger strip ---------- */
.ledger { background: var(--forest); color: #ece4d0; }
.ledger ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ledger li { display: flex; gap: 12px; align-items: center; padding: 20px 8px; font-size: .95rem; line-height: 1.35; }
.ledger li svg { width: 30px; height: 30px; flex: none; color: var(--brass-light); }
.ledger li strong { display: block; color: #fff; font-weight: 600; }
@media (min-width: 900px) {
  .ledger ul { grid-template-columns: repeat(4, 1fr); }
  .ledger li { padding: 26px 22px; border-inline-start: 1px solid rgba(220, 188, 120, .25); }
  .ledger li:first-child { border-inline-start: 0; padding-inline-start: 0; }
}

/* ---------- Service catalogue (home) ---------- */
.catalogue { display: grid; gap: 22px; }
.entry {
  display: grid; grid-template-rows: auto 1fr; background: var(--card); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s;
}
.entry:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 26px 40px -30px rgba(19, 42, 31, .6); }
.entry .pic { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); }
.entry .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.entry:hover .pic img { transform: scale(1.04); }
.entry .body { padding: 20px 22px 24px; display: grid; gap: 8px; align-content: start; }
.entry .body h3 { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.entry .body h3 svg { width: 18px; height: 18px; color: var(--brass); flex: none; transition: transform .25s var(--ease); }
.entry:hover .body h3 svg { transform: translateX(4px); }
.entry .body p { margin: 0; color: var(--muted); font-size: .97rem; }
.entry-note { background: transparent; border: 1.5px dashed var(--brass); grid-template-rows: 1fr; }
.entry-note .body { padding: 26px; }
.entry-note .body svg.icon { width: 40px; height: 40px; color: var(--brass-ink); margin-bottom: 6px; }
@media (min-width: 680px) { .catalogue { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .catalogue { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Band with a photograph ---------- */
.band { position: relative; color: #fff; overflow: hidden; background: var(--forest-deep); }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(19, 42, 31, .96) 30%, rgba(19, 42, 31, .55)); }
.band .wrap { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.band .eyebrow { color: var(--brass-light); }
.band .eyebrow::before { background: var(--brass-light); }
.band blockquote { margin: 0 0 30px; max-width: 22em; font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.2; color: #fff; }
.band p { color: #e3dccb; max-width: 38em; }

/* ---------- Measuring-tape steps ---------- */
.tape-steps { list-style: none; display: grid; gap: 30px; counter-reset: step; position: relative; }
.tape-steps li { position: relative; padding-top: 52px; }
.tape-steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; inset-inline-start: 0; width: 40px; height: 40px; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.1rem; background: var(--forest); color: #fff; border-radius: 50%;
  box-shadow: 0 0 0 5px var(--paper-2);
}
.tape-steps h3 { margin-bottom: 8px; }
.tape-steps p { margin: 0; color: var(--muted); font-size: .98rem; }
.tape-steps .time { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 6px; }
.tape {
  height: 34px; margin-bottom: 34px; border: 1px solid #b89548; border-radius: 3px;
  background:
    repeating-linear-gradient(to right, #3a2f16 0 1.5px, transparent 1.5px 100px) 0 0 / 100% 18px no-repeat,
    repeating-linear-gradient(to right, #3a2f16 0 1px, transparent 1px 50px) 0 0 / 100% 12px no-repeat,
    repeating-linear-gradient(to right, rgba(58, 47, 22, .7) 0 1px, transparent 1px 10px) 0 0 / 100% 7px no-repeat,
    linear-gradient(#e9c869, #dcb350);
}
@media (min-width: 900px) {
  .tape-steps { grid-template-columns: repeat(4, 1fr); gap: 36px; }
}

/* ---------- Rate card ---------- */
.rate-card { background: var(--card); border: 1px solid var(--line); padding: clamp(22px, 4vw, 40px); position: relative; }
.rate-card h3 { margin-bottom: 18px; }
.rates { list-style: none; display: grid; gap: 14px; }
.rates li { display: flex; align-items: baseline; gap: 10px; }
.rates .item { font-weight: 600; }
.rates .item small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
.rates .dots { flex: 1; min-width: 20px; border-bottom: 2px dotted var(--brass); transform: translateY(-5px); }
.rates .price { font-family: var(--serif); font-size: 1.3rem; color: var(--forest); white-space: nowrap; }
.rate-card .fine { margin: 20px 0 0; font-size: .9rem; color: var(--muted); }
.stamp {
  position: absolute; top: -18px; inset-inline-end: 18px; transform: rotate(6deg);
  border: 2px solid var(--brass-ink); color: var(--brass-ink); background: var(--card);
  font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px;
}

.two-col { display: grid; gap: 44px; align-items: center; }
@media (min-width: 940px) { .two-col { grid-template-columns: 1fr 1fr; gap: 72px; } .two-col.wide-left { grid-template-columns: 1.15fr 1fr; } }

/* ---------- Towns ---------- */
.towns { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { border: 1px solid var(--line); background: var(--card); padding: 7px 14px; border-radius: 999px; font-size: .95rem; }
.towns li.core { border-color: var(--forest); background: var(--forest-soft); color: var(--forest-deep); font-weight: 600; }

/* ---------- Call to action ---------- */
.cta { position: relative; background: var(--forest) url("grain.svg"); color: #ece4d0; padding: clamp(32px, 6vw, 72px); display: grid; gap: 36px; overflow: hidden; }
.cta::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(220, 188, 120, .45); pointer-events: none; }
.cta h2 { color: #fff; }
.cta .eyebrow { color: var(--brass-light); }
.cta .eyebrow::before { background: var(--brass-light); }
.cta .lead { color: #ddd6c4; }
.cta > * { position: relative; z-index: 1; }
.cta-side { display: grid; gap: 18px; align-content: center; }
.cta-row { display: flex; gap: 14px; align-items: flex-start; font-size: .95rem; color: #d8d0bc; }
.cta-row svg { width: 24px; height: 24px; flex: none; color: var(--brass-light); margin-top: 2px; }
.cta-row strong { display: block; color: #fff; font-weight: 600; }
.cta-row a { color: #fff; }
.cta-row a:hover { color: var(--brass-light); }
.cta :focus-visible, .band :focus-visible, .site-footer :focus-visible, .ledger :focus-visible { outline-color: var(--brass-light); }
@media (min-width: 900px) { .cta { grid-template-columns: 1.4fr 1fr; gap: 64px; } }

/* ---------- Page head (inner pages) ---------- */
.page-head { padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); position: relative; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); margin-bottom: 18px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); }
.page-head-grid { display: grid; gap: 36px; align-items: end; }
@media (min-width: 940px) { .page-head-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; } }

/* ---------- Services page ---------- */
.svc-layout { display: grid; gap: 40px; }
.svc-index { display: none; }
@media (min-width: 1080px) {
  .svc-layout { grid-template-columns: 230px 1fr; gap: 64px; }
  .svc-index { display: block; position: sticky; top: 108px; align-self: start; }
}
.svc-index h2 { font-family: var(--font); font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 12px; }
.svc-index ol { list-style: none; border-inline-start: 1px solid var(--line); }
.svc-index a { display: block; padding: 7px 0 7px 16px; text-decoration: none; color: var(--ink); font-size: .95rem; }
[dir="rtl"] .svc-index a { padding: 7px 16px 7px 0; }
.svc-index a:hover { color: var(--forest); background: var(--paper-2); }
.svc-jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.svc-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--ink); font-size: .92rem; border-radius: 999px; }
.svc-jump a:hover { border-color: var(--forest); color: var(--forest); }
@media (min-width: 1080px) { .svc-jump { display: none; } }
.svc { display: grid; gap: 28px; padding-block: 48px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc .frame { aspect-ratio: 3 / 2; }
.svc h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin: 6px 0 14px; }
.svc .cols { display: grid; gap: 22px; margin-top: 18px; }
.svc h3 { font-family: var(--font); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 10px; }
.svc ul.dash { list-style: none; display: grid; gap: 6px; }
.svc ul.dash li { position: relative; padding-inline-start: 20px; }
.svc ul.dash li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 10px; height: 1.5px; background: var(--brass); }
.good-to-know { background: var(--paper-2); border-inline-start: 3px solid var(--brass); padding: 14px 18px; font-size: .96rem; }
.good-to-know p { margin: 0; }
@media (min-width: 720px) { .svc .cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .svc { grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; } .svc .frame { position: sticky; top: 110px; } }

.referral { background: var(--card); border: 1.5px dashed var(--brass); padding: clamp(22px, 4vw, 36px); display: grid; gap: 18px; }
.referral h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.referral .cols { display: grid; gap: 22px; }
@media (min-width: 720px) { .referral .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Pricing page ---------- */
.examples { display: grid; gap: 20px; }
@media (min-width: 760px) { .examples { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .examples { grid-template-columns: repeat(3, 1fr); } }
.example { background: var(--card); border: 1px solid var(--line); padding: 24px; display: grid; gap: 10px; align-content: start; }
.example h3 { font-size: 1.2rem; }
.example p { margin: 0; color: var(--muted); font-size: .96rem; }
.example .sum { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; margin-top: 4px; border-top: 1px dashed var(--line); font-weight: 600; }
.example .sum span:last-child { font-family: var(--serif); font-weight: 400; color: var(--forest); font-size: 1.15rem; }
.terms { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.term { background: var(--card); padding: 24px 26px; }
.term h3 { margin-bottom: 8px; font-size: 1.2rem; }
.term p { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .terms { grid-template-columns: repeat(2, 1fr); } }

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--card); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; min-height: 44px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex: none; border-inline-end: 2px solid var(--brass-ink); border-bottom: 2px solid var(--brass-ink); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding: 0 22px 20px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Areas page ---------- */
.map-card { background: var(--card); border: 1px solid var(--line); padding: 14px; }
.map-card svg { width: 100%; height: auto; }
.map-card figcaption { font-size: .88rem; color: var(--muted); padding: 10px 4px 2px; }
.zone { background: var(--card); border: 1px solid var(--line); padding: 26px; display: grid; gap: 14px; align-content: start; }
.zone h3 { display: flex; align-items: center; gap: 12px; }
.zone h3 .swatch { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.zone p { margin: 0; color: var(--muted); }
.zones { display: grid; gap: 20px; }
@media (min-width: 760px) { .zones { grid-template-columns: 1fr 1fr; } }
.week { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.day { background: var(--card); padding: 18px 20px; }
.day strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; margin-bottom: 4px; }
.day p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (min-width: 760px) { .week { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .week { grid-template-columns: repeat(6, 1fr); } }

/* ---------- About page ---------- */
.crew { display: grid; gap: 18px; }
@media (min-width: 640px) { .crew { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .crew { grid-template-columns: repeat(3, 1fr); } }
.mate { background: var(--card); border: 1px solid var(--line); padding: 24px; display: grid; gap: 10px; align-content: start; }
.mate .mono { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: var(--brass-light); font-family: var(--serif); font-size: 1.25rem; }
.mate h3 { font-size: 1.25rem; }
.mate .role { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); }
.mate p { margin: 0; color: var(--muted); font-size: .96rem; }
.timeline { list-style: none; display: grid; gap: 0; border-inline-start: 2px solid var(--line); margin-inline-start: 8px; }
.timeline li { position: relative; padding: 0 0 30px 30px; }
[dir="rtl"] .timeline li { padding: 0 30px 30px 0; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -8px; top: 6px; width: 14px; height: 14px; background: var(--paper); border: 2px solid var(--brass); transform: rotate(45deg); }
.timeline h3 { font-size: 1.2rem; margin-bottom: 6px; }
.timeline .time { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--muted); }
.papers { display: grid; gap: 18px; }
@media (min-width: 760px) { .papers { grid-template-columns: repeat(3, 1fr); } }
.paper { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--forest); padding: 24px; }
.paper svg { width: 34px; height: 34px; color: var(--brass-ink); margin-bottom: 12px; }
.paper h3 { font-size: 1.2rem; margin-bottom: 8px; }
.paper p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Quote page / form ---------- */
.quote-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .quote-grid { grid-template-columns: 1.25fr 1fr; gap: 56px; } }
.form-card { background: var(--card); border: 1px solid var(--line); padding: clamp(22px, 4vw, 40px); position: relative; scroll-margin-top: 100px; }
.form-card::before {
  content: ""; position: absolute; inset-inline: 0; top: -1px; height: 6px;
  background: radial-gradient(circle at 6px -1px, var(--paper) 4px, transparent 4.5px) 0 0 / 14px 6px repeat-x;
}
.form-card .ticket-head { margin-bottom: 18px; }
.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .97rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: #fff; width: 100%; min-height: 48px;
  border: 1.5px solid #b9ab8e; border-radius: var(--radius); padding: 11px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(31, 61, 46, .22); }
.field ::placeholder { color: #75705f; }
.two { display: grid; gap: 18px; }
@media (min-width: 620px) { .two { grid-template-columns: 1fr 1fr; } }
.notice { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: .93rem; color: var(--muted); background: var(--paper-2); padding: 12px 14px; border-inline-start: 3px solid var(--brass); }
.notice svg { width: 20px; height: 20px; flex: none; color: var(--brass-ink); margin-top: 2px; }
[data-sd-status] { margin: 0; font-size: .95rem; font-weight: 600; color: var(--forest); min-height: 1.4em; }
.side-card { background: var(--card); border: 1px solid var(--line); padding: 24px; }
.side-card + .side-card { margin-top: 18px; }
.side-card h2, .side-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.side-card p { color: var(--muted); }
.side-card p:last-child { margin: 0; }
.hours { list-style: none; display: grid; gap: 6px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dotted var(--line); padding-bottom: 6px; }
.hours li span:last-child { color: var(--muted); text-align: end; }
ol.next { list-style: none; counter-reset: n; display: grid; gap: 12px; }
ol.next li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; gap: 10px; color: var(--muted); }
ol.next li::before { content: counter(n); width: 28px; height: 28px; display: grid; place-items: center; border: 1.5px solid var(--brass); color: var(--brass-ink); font-family: var(--serif); border-radius: 50%; font-size: .95rem; }
ol.next strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: #d9d2bf; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #f2ecdc; text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); text-decoration: underline; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name span { color: var(--brass-light); }
.foot-grid { display: grid; gap: 36px; }
.foot-grid h2 { font-family: var(--font); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 4px; }
.foot-grid li a { display: inline-flex; align-items: center; min-height: 32px; }
.foot-grid address { font-style: normal; }
.foot-brand p { margin-top: 16px; max-width: 30em; }
.foot-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(220, 188, 120, .25); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: #bfb8a5; font-size: .88rem; }
.legal { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.legal a { display: inline-flex; align-items: center; min-height: 32px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

/* ---------- Accessibility statement ---------- */
.statement-doc { max-width: 68ch; }
.statement-doc h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-block: 2em 0.6em; }
.statement-doc h2:first-child { margin-block-start: 0; }
.statement-doc ul { list-style: disc; padding-inline-start: 1.25em; margin-block: 0 1.2em; }
.statement-doc li + li { margin-block-start: 0.5em; }
.statement-doc .reviewed { margin-block-start: 3em; color: var(--muted); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Phones ---------- */
@media (max-width: 599px) {
  .site-header .wrap { min-height: 66px; gap: 8px; }
  .brand svg { width: 34px; height: 34px; }
  .brand-name { font-size: 1.12rem; }
  .brand-name span { font-size: .6rem; letter-spacing: .18em; }
  .hero { padding-top: 24px; }
  .hero h1 { font-size: 2.3rem; margin-bottom: 16px; }
  .hero .lead { font-size: 1.05rem; margin-bottom: 22px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-facts { display: none; }
  .menu summary { padding: 10px 12px; }
  .ledger li { padding: 16px 4px; font-size: .9rem; }
  .ledger li svg { width: 24px; height: 24px; }
  .rates li { flex-wrap: wrap; }
  .rates .dots { display: none; }
  .rates .price { margin-inline-start: auto; }
  .stamp { position: static; display: inline-block; margin-bottom: 14px; transform: rotate(-2deg); }
}

/* ---------- Right-to-left ---------- */
[dir="rtl"] .btn svg, [dir="rtl"] .link-arrow svg, [dir="rtl"] .entry .body h3 svg { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg, [dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .entry:hover .body h3 svg { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .nav a::after { transform-origin: right; }
[dir="rtl"] .band::before { background: linear-gradient(260deg, rgba(19, 42, 31, .96) 30%, rgba(19, 42, 31, .55)); }

/* ---------- Scripts: Hebrew, Arabic, CJK; long German words ---------- */
:root:lang(he) { --font: "Figtree", "Heebo", "Arial Hebrew", system-ui, sans-serif; --serif: "Frank Ruhl Libre", "Young Serif", Georgia, serif; }
:root:lang(ar) { --font: "Figtree", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; --serif: "Noto Naskh Arabic", "Young Serif", Georgia, serif; }
:root:lang(ja) { --font: "Figtree", "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Noto Sans JP", sans-serif; --serif: "Young Serif", "Hiragino Mincho ProN", "Yu Mincho", serif; }
:root:lang(zh) { --font: "Figtree", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; --serif: "Young Serif", "Songti SC", "SimSun", serif; }
:root:lang(ko) { --font: "Figtree", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; --serif: "Young Serif", "AppleMyungjo", "Batang", serif; }
:root:is(:lang(he), :lang(ar), :lang(ja), :lang(zh), :lang(ko)) body * { letter-spacing: 0 !important; }
:root:is(:lang(he), :lang(ar), :lang(ja), :lang(zh), :lang(ko)) :is(h1, h2, h3) { line-height: 1.3; }
:root:lang(ar) body { line-height: 1.8; }
:root:lang(ko) body { word-break: keep-all; }
h1, h2, h3 { overflow-wrap: break-word; }
:root:lang(de) :is(h1, h2, h3, .entry p, .term p) { hyphens: auto; }
@media (min-width: 1060px) and (max-width: 1319px) {
  :root:is(:lang(de), :lang(fr), :lang(es), :lang(pt)) .nav,
  :root:is(:lang(de), :lang(fr), :lang(es), :lang(pt)) .header-cta { display: none; }
  :root:is(:lang(de), :lang(fr), :lang(es), :lang(pt)) .menu { display: block; }
}

/* Phone numbers keep their order inside right-to-left text */
a[href^="tel:"] { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }

/* The note under the catalogue spans the grid */
.entry-note { grid-column: 1 / -1; }
.entry-note .body { display: grid; gap: 22px; }
@media (min-width: 860px) { .entry-note .body { grid-template-columns: 1fr 1fr; gap: 44px; } }
.entry-note h3 { margin-bottom: 8px; }
.entry-note p { margin: 0; color: var(--muted); }
.svc.svc-wide { grid-template-columns: 1fr; }
.svc-foot { margin: 0; }
@media (min-width: 1200px) {
  .svc { grid-template-columns: 1fr 1.15fr; gap: 28px 44px; align-items: center; }
  .svc .frame { position: static; }
  .svc .cols, .svc .svc-foot { grid-column: 1 / -1; }
  .svc .cols { grid-template-columns: 1.3fr 1fr; gap: 36px; margin-top: 0; }
}
.hero .lead { max-width: 31em; }
@media (min-width: 960px) { .hero-visual .ticket { inset-inline-start: -34px; } }
@media (max-width: 939px) { .page-head-grid { gap: 4px; } }


/* Button pairs share a row on a phone (owner, 2026-10-16). */
@media (max-width: 480px) {
  .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero-actions > .btn { flex: 1 1 0; min-width: 0; justify-content: center; text-align: center; white-space: normal; padding-inline: 12px; gap: 8px; font-size: 0.9rem; }
}
