/* Tonbridge Windows. Layout A8: left sidebar on desktop, one content column. Prefix tnb- */
:root {
  --tnb-brick: #8C3B2B;
  --tnb-brick-dark: #6f2e21;
  --tnb-ink: #2D3142;
  --tnb-paper: #F5F1EA;
  --tnb-card: #fffdf9;
  --tnb-line: #ddd3c4;
  --tnb-muted: #5d6070;
  --tnb-serif: "EB Garamond", Georgia, serif;
  --tnb-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tnb-side: 280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tnb-paper); color: var(--tnb-ink); font: 17px/1.65 var(--tnb-sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tnb-brick); text-underline-offset: 2px; }
a:hover { color: var(--tnb-brick-dark); }
h1, h2, h3 { font-family: var(--tnb-serif); font-weight: 600; line-height: 1.2; color: var(--tnb-ink); }
h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin: .2em 0 .5em; }
h2 { font-size: 1.65rem; margin: 2.2rem 0 .6rem; padding-top: 1.1rem; border-top: 1px solid var(--tnb-line); }
h3 { font-size: 1.3rem; margin: 1.4rem 0 .4rem; }
code { font-size: .9em; background: #ebe4d8; padding: 0 .3em; border-radius: 3px; }
.tnb-skip { position: absolute; left: -999px; top: 0; background: var(--tnb-ink); color: #fff; padding: .5rem 1rem; z-index: 50; }
.tnb-skip:focus { left: 0; }

/* Shell */
.tnb-shell { min-height: 100vh; }
.tnb-side { display: none; }
.tnb-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  background: var(--tnb-ink); color: var(--tnb-paper); padding: .6rem 16px; }
.tnb-top__brand { font: 600 1.3rem/1 var(--tnb-serif); color: var(--tnb-paper); text-decoration: none; margin-right: auto; }
.tnb-top__call { color: var(--tnb-paper); font-weight: 600; font-size: .95rem; text-decoration: none; }
.tnb-menu { width: auto; }
.tnb-menu > summary { list-style: none; cursor: pointer; border: 1px solid rgba(245,241,234,.5); border-radius: 4px; padding: .3rem .7rem; font-size: .9rem; }
.tnb-menu > summary::-webkit-details-marker { display: none; }
.tnb-menu[open] > summary { background: var(--tnb-brick); border-color: var(--tnb-brick); }
.tnb-menu__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--tnb-ink); padding: 1rem 16px 1.5rem; max-height: 80vh; overflow-y: auto; }
.tnb-col { min-width: 0; }
.tnb-main { max-width: 780px; padding: 1.2rem 16px 3rem; }

/* Sidebar contents (shared by desktop aside and mobile panel) */
.tnb-mark { display: block; text-decoration: none; color: var(--tnb-paper); margin-bottom: 1rem; }
.tnb-mark__name { display: block; font: 700 1.7rem/1.05 var(--tnb-serif); }
.tnb-mark__sub { display: block; font-size: .82rem; opacity: .75; margin-top: .35rem; line-height: 1.4; }
.tnb-side-call { display: block; color: var(--tnb-paper); font-weight: 600; text-decoration: none; padding: .55rem 0; border-top: 1px solid rgba(245,241,234,.2); border-bottom: 1px solid rgba(245,241,234,.2); margin-bottom: .8rem; }
.tnb-nav__group { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #c9a99f; margin: 1rem 0 .3rem; }
.tnb-nav ul { list-style: none; margin: 0; padding: 0; }
.tnb-nav a { display: block; color: var(--tnb-paper); text-decoration: none; padding: .28rem 0 .28rem .7rem; border-left: 2px solid transparent; font-size: .95rem; }
.tnb-nav a:hover { border-left-color: rgba(245,241,234,.5); }
.tnb-nav a[aria-current="page"] { border-left-color: var(--tnb-brick); background: rgba(140,59,43,.25); }
.tnb-side-cta { display: block; text-align: center; margin-top: 1.4rem; background: var(--tnb-brick); color: #fff; text-decoration: none; padding: .7rem; border-radius: 4px; font-weight: 600; }
.tnb-side-cta:hover { background: var(--tnb-brick-dark); color: #fff; }
.tnb-side-note { font-size: .85rem; margin: .6rem 0 0; text-align: center; }
.tnb-side-note a { color: #e6d6cf; }

@media (min-width: 960px) {
  .tnb-top { display: none; }
  .tnb-shell { display: grid; grid-template-columns: var(--tnb-side) minmax(0, 1fr); }
  .tnb-side { display: block; position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--tnb-ink); color: var(--tnb-paper); padding: 1.8rem 1.4rem 2rem; }
  .tnb-main { padding: 2.2rem 3rem 3.5rem; }
  .tnb-callbar { display: none !important; }
}

/* Content pieces */
.tnb-crumbs { font-size: .85rem; color: var(--tnb-muted); }
.tnb-crumbs a { color: var(--tnb-muted); }
.tnb-lede { font-size: 1.15rem; line-height: 1.6; }
.tnb-fig { margin: 1.4rem 0; }
.tnb-fig img { border-radius: 3px; }
.tnb-fig--hero { margin-top: 1.6rem; border-bottom: 6px solid var(--tnb-brick); }
.tnb-hero-actions { margin: 1.2rem 0 0; }
.tnb-btn { display: inline-block; background: var(--tnb-brick); color: #fff; border: 2px solid var(--tnb-brick); padding: .6rem 1.1rem; border-radius: 4px; font: 600 1rem/1.2 var(--tnb-sans); text-decoration: none; cursor: pointer; margin: 0 .4rem .5rem 0; }
.tnb-btn:hover { background: var(--tnb-brick-dark); border-color: var(--tnb-brick-dark); color: #fff; }
.tnb-btn--line { background: transparent; color: var(--tnb-brick); }
.tnb-btn--line:hover { background: var(--tnb-brick); color: #fff; }
.tnb-split { display: grid; gap: 0 1.6rem; }
@media (min-width: 640px) { .tnb-split { grid-template-columns: 1fr 1fr; } }
.tnb-split h3 { border-left: 4px solid var(--tnb-brick); padding-left: .6rem; }
.tnb-ticks { padding-left: 1.1rem; }
.tnb-ticks li { margin-bottom: .45rem; }
.tnb-ticks li::marker { color: var(--tnb-brick); }
.tnb-src { font-size: .88rem; color: var(--tnb-muted); }
.tnb-cta { margin: 2.4rem 0 0; padding: 1.3rem 1.3rem .6rem; background: var(--tnb-ink); color: var(--tnb-paper); border-radius: 4px; }
.tnb-cta p:first-child { margin-top: 0; }
.tnb-cta .tnb-btn--line { color: var(--tnb-paper); border-color: var(--tnb-paper); }

.tnb-case { background: var(--tnb-card); border: 1px solid var(--tnb-line); border-radius: 4px; margin: 1.6rem 0; overflow: hidden; }
.tnb-case__body { padding: 0 1.2rem 1rem; }
.tnb-case__label { margin: 1rem 0 0; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--tnb-brick); font-weight: 600; }
.tnb-case h2, .tnb-case h3 { border: 0; padding: 0; margin: .3rem 0 .5rem; font-size: 1.35rem; }
.tnb-case ul { padding-left: 1.1rem; }
.tnb-case__price { font-family: var(--tnb-serif); font-size: 1.25rem; font-weight: 600; border-top: 1px dashed var(--tnb-line); padding-top: .7rem; margin-bottom: .2rem; }

.tnb-faq h2 { font-size: 1.3rem; }
.tnb-places { list-style: none; padding: 0; }
.tnb-places li { padding: .8rem 0; border-bottom: 1px solid var(--tnb-line); }
.tnb-places a { font: 600 1.3rem/1.2 var(--tnb-serif); }
.tnb-places span { display: block; color: var(--tnb-muted); }

/* Form */
.tnb-enq { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .tnb-enq { grid-template-columns: 3fr 2fr; } }
.tnb-form { background: var(--tnb-card); border: 1px solid var(--tnb-line); border-radius: 4px; padding: 1.2rem; }
.tnb-form label { display: block; font-weight: 600; margin: .8rem 0 .25rem; font-size: .95rem; }
.tnb-form input, .tnb-form select, .tnb-form textarea { width: 100%; font: inherit; padding: .55rem .6rem; border: 1px solid #b9ae9e; border-radius: 3px; background: #fff; color: var(--tnb-ink); }
.tnb-form input:focus, .tnb-form select:focus, .tnb-form textarea:focus { outline: 2px solid var(--tnb-brick); outline-offset: 1px; }
.tnb-form button { margin-top: 1.1rem; }
.tnb-form__err { color: #a3261b; font-weight: 600; min-height: 1em; }
.tnb-small { font-size: .85rem; color: var(--tnb-muted); }
.tnb-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.tnb-enq__side h2 { font-size: 1.25rem; border: 0; padding: 0; margin-top: 0; }
.tnb-enq__side h2 + p { margin-top: 0; }

/* Footer */
.tnb-foot { border-top: 4px solid var(--tnb-brick); background: #ebe4d8; padding: 1.6rem 16px 5rem; display: grid; gap: 1rem; font-size: .93rem; }
@media (min-width: 960px) { .tnb-foot { padding: 1.8rem 3rem; grid-template-columns: 2fr 1fr; } }
.tnb-foot__name { font: 600 1.3rem/1 var(--tnb-serif); margin: 0 0 .5rem; }
.tnb-foot__links { list-style: none; margin: 0; padding: 0; }
.tnb-foot__links li { margin-bottom: .3rem; }

/* Mobile call bar */
.tnb-callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: block; text-align: center; background: var(--tnb-brick); color: #fff; font-weight: 600; padding: .85rem; text-decoration: none; }
.tnb-callbar:hover { color: #fff; }

/* Cookie banner */
.tnb-consent { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 64px; max-width: 520px; background: var(--tnb-card); color: var(--tnb-ink); border: 1px solid var(--tnb-line); border-top: 4px solid var(--tnb-ink); border-radius: 4px; padding: 1rem 1.1rem; box-shadow: 0 6px 24px rgba(45,49,66,.2); font-size: .93rem; }
@media (min-width: 960px) { .tnb-consent { left: calc(var(--tnb-side) + 24px); bottom: 24px; } }
.tnb-consent p { margin: 0 0 .8rem; }
.tnb-consent__row { display: flex; gap: .6rem; }
.tnb-consent__row button { flex: 1; font: 600 1rem/1.2 var(--tnb-sans); padding: .6rem; border-radius: 4px; border: 2px solid var(--tnb-ink); background: var(--tnb-ink); color: var(--tnb-paper); cursor: pointer; }
