@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Inter:wght@400;500;600&display=swap');

:root {
  --navy: #0f2a33;
  --navy-2: #173a45;
  --amber: #e8a24a;
  --amber-dark: #b8762a;
  --sea: #3d7d6e;
  --sea-light: #d9e8e3;
  --paper: #f5f1ea;
  --paper-2: #ebe4d8;
  --ink: #1d2427;
  --muted: #5b676b;
  --line: #d6cfc2;
  --sidebar-w: 270px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.15;
  color: var(--navy);
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p + p { margin-top: 1rem; }

a { color: var(--sea); }

img { display: block; max-width: 100%; height: auto; object-fit: cover; }

.img-wrap { background-color: var(--sea-light); overflow: hidden; }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Layout shell: sidebar + content ---------- */

.shell { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--navy);
  color: #e6ecee;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.6rem;
  z-index: 50;
  overflow-y: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: #fff;
  text-decoration: none;
  margin-bottom: 2.6rem;
}

.brand svg { width: 38px; height: 38px; flex-shrink: 0; }

.brand span {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.side-nav { display: flex; flex-direction: column; gap: .2rem; }

.side-nav a {
  color: #c4d0d3;
  text-decoration: none;
  padding: .55rem .8rem;
  border-left: 2px solid transparent;
  font-size: .96rem;
  transition: color .2s, border-color .2s, background .2s;
}

.side-nav a:hover,
.side-nav a.active {
  color: #fff;
  border-left-color: var(--amber);
  background: rgba(255, 255, 255, .05);
}

.side-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #7f9599;
  margin: 1.8rem 0 .6rem .8rem;
}

.side-foot {
  margin-top: auto;
  padding-top: 2rem;
  font-size: .82rem;
  color: #8fa3a7;
  line-height: 1.5;
}

.side-foot strong { color: #e6ecee; font-weight: 500; display: block; }

.content {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ---------- Top bar with ad disclosure ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 3rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  font-size: .85rem;
  position: sticky;
  top: 0;
  z-index: 40;
}

.ad-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
}

.ad-label b {
  background: var(--navy);
  color: #fff;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .15rem .45rem;
  font-weight: 600;
}

.topbar-cta {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--amber);
  white-space: nowrap;
}

.topbar-cta:hover { color: var(--amber-dark); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: .35rem .7rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.menu-toggle:hover { background: var(--navy); color: #fff; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: var(--amber-dark); color: #fff; }

.btn-ghost { border-color: currentColor; color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--navy); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--sea); }

.link-arrow {
  color: var(--sea);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.link-arrow:hover { color: var(--navy); }

/* ---------- Sections ---------- */

.wrap { padding: 5rem 3rem; }
.narrow { max-width: 760px; }

.eyebrow {
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sea);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

/* Opener */
.opener {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  background-color: var(--navy-2);
  overflow: hidden;
}

.opener > .img-wrap {
  position: absolute;
  inset: 0;
  background-color: var(--navy-2);
}

.opener > .img-wrap img { opacity: .55; }

.opener-text {
  position: relative;
  padding: 4rem 3rem;
  max-width: 820px;
  color: #fff;
}

.opener-text h1 { color: #fff; margin-bottom: 1.4rem; }
.opener-text p { font-size: 1.12rem; color: #e1e8ea; max-width: 600px; }

.opener-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.opener-note {
  position: absolute;
  right: 3rem;
  top: 3rem;
  background: var(--paper);
  color: var(--ink);
  padding: 1.2rem 1.4rem;
  max-width: 250px;
  font-size: .88rem;
  border-top: 4px solid var(--amber);
}

.opener-note strong {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem;
  color: var(--navy);
  line-height: 1.1;
}

/* Model strip */
.model {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: flex-start;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.model-head { flex: 1 1 280px; }
.model-body { flex: 2 1 420px; display: flex; flex-wrap: wrap; gap: 2rem; }

.model-item { flex: 1 1 200px; border-top: 2px solid var(--navy); padding-top: 1rem; }
.model-item h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.model-item p { font-size: .94rem; color: var(--muted); }

/* Method timeline */
.method { display: flex; flex-wrap: wrap; gap: 4rem; align-items: stretch; }

.method-img { flex: 1 1 320px; min-height: 420px; position: relative; }
.method-img .img-wrap { position: absolute; inset: 0; }

.method-steps { flex: 1.3 1 420px; }
.method-steps h2 { margin-bottom: 2rem; }

.step { display: flex; gap: 1.4rem; padding: 1.3rem 0; border-bottom: 1px dashed var(--line); }
.step-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.2rem;
  color: var(--amber);
  line-height: 1;
  width: 3rem;
  flex-shrink: 0;
}
.step h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* Quote band */
.quote-band {
  position: relative;
  background-color: var(--sea);
  color: #fff;
  overflow: hidden;
}

.quote-band > .img-wrap {
  position: absolute;
  inset: 0;
  background-color: var(--sea);
}

.quote-band > .img-wrap img { opacity: .18; }

.quote-inner {
  position: relative;
  padding: 6rem 3rem;
  display: flex;
  justify-content: flex-end;
}

.quote-inner blockquote {
  max-width: 640px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.35;
}

.quote-inner cite {
  display: block;
  margin-top: 1.4rem;
  font-family: 'Inter', Arial, sans-serif;
  font-style: normal;
  font-size: .92rem;
  color: #d8ebe5;
}

/* Price table (rows) */
.prices-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.prices-head p { max-width: 440px; color: var(--muted); }

.price-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.price-row:last-child { border-bottom: 1px solid var(--line); }

.price-row .img-wrap { width: 120px; height: 90px; flex-shrink: 0; }

.price-info { flex: 1 1 300px; }
.price-info h3 { margin-bottom: .3rem; }
.price-info p { color: var(--muted); font-size: .94rem; }

.price-tag {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.7rem;
  color: var(--navy);
  min-width: 150px;
  text-align: right;
}

.price-tag small {
  display: block;
  font-family: 'Inter', Arial, sans-serif;
  font-size: .78rem;
  color: var(--muted);
}

.pick {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: .6rem 1.1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.pick:hover,
.pick.is-picked { background: var(--navy); color: #fff; }

.cta-strip .pick { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.cta-strip .pick:hover { background: #fff; border-color: #fff; color: var(--navy); }

.step-link { margin-top: 1.6rem; }

/* Estimator */
.estimator {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: var(--navy);
  color: #fff;
}

.est-form { flex: 1 1 360px; padding: 4rem 3rem; }
.est-form h2 { color: #fff; margin-bottom: 1rem; }
.est-form p { color: #c4d0d3; }

.est-result {
  flex: 1 1 300px;
  background: var(--amber);
  color: var(--navy);
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.est-result .big {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: .6rem 0 1rem;
}

.est-result p { font-size: .9rem; }

.field { display: flex; flex-direction: column; gap: .35rem; margin-top: 1.2rem; }
.field label { font-size: .86rem; font-weight: 600; }

.field input,
.field select,
.field textarea {
  font: inherit;
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.field textarea { min-height: 110px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; }

.est-form .field label { color: #e6ecee; }
.est-form .btn { margin-top: 1.6rem; }

/* Case notes - magazine-ish offset */
.cases { display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: flex-start; }

.case { flex: 1 1 260px; background: #fff; border: 1px solid var(--line); }
.case:nth-child(2) { margin-top: 3rem; }
.case .img-wrap { height: 200px; }
.case-body { padding: 1.5rem; }
.case-body h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.case-body p { color: var(--muted); font-size: .93rem; }
.case-body .metric { color: var(--sea); font-weight: 600; margin-top: .8rem; font-size: .9rem; }

/* Enquiry form */
.enquiry { display: flex; flex-wrap: wrap; gap: 4rem; background: var(--paper-2); }

.enquiry-side { flex: 1 1 280px; }
.enquiry-side h2 { margin-bottom: 1rem; }
.enquiry-side ul { list-style: none; margin-top: 1.5rem; }
.enquiry-side li { padding: .55rem 0 .55rem 1.6rem; position: relative; border-bottom: 1px solid var(--line); font-size: .95rem; }
.enquiry-side li::before { content: ''; position: absolute; left: 0; top: 1.05rem; width: 9px; height: 9px; background: var(--amber); }

.enquiry form { flex: 1.4 1 380px; background: #fff; padding: 2.5rem; border-top: 5px solid var(--sea); }
.form-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.form-row .field { flex: 1 1 200px; }

.check { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.2rem; font-size: .86rem; color: var(--muted); }
.check input { margin-top: .3rem; }

.form-error { color: #a33a2a; font-size: .88rem; margin-top: 1rem; min-height: 1.2em; }

.enquiry form .btn { margin-top: 1.4rem; }

.selected-flag {
  display: none;
  background: var(--sea-light);
  color: var(--navy);
  padding: .6rem .9rem;
  font-size: .88rem;
  margin-bottom: .6rem;
}

.selected-flag.show { display: block; }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: 3rem; }
.faq-intro { flex: 1 1 240px; }
.faq-list { flex: 2 1 420px; }

.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--amber-dark); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { color: var(--sea); }
.faq details p { margin-top: .8rem; color: var(--muted); font-size: .95rem; }

/* ---------- Inner pages ---------- */

.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.page-head-text { flex: 1.2 1 380px; padding: 5rem 3rem 4rem; }
.page-head-text h1 { font-size: clamp(2rem, 3.8vw, 3.1rem); margin-bottom: 1.2rem; }
.page-head-text p { color: var(--muted); max-width: 560px; font-size: 1.05rem; }

.page-head .img-wrap { flex: 1 1 300px; min-height: 320px; }

.page-head.plain .page-head-text { padding-bottom: 3rem; }

/* About */
.values { display: flex; flex-wrap: wrap; gap: 0; }
.value { flex: 1 1 240px; padding: 2.4rem; border-right: 1px solid var(--line); background: #fff; }
.value:last-child { border-right: none; }
.value:nth-child(2) { background: var(--sea-light); }
.value h3 { margin-bottom: .6rem; }
.value p { color: var(--muted); font-size: .95rem; }

.story { display: flex; flex-wrap: wrap; gap: 4rem; align-items: center; }
.story-text { flex: 1.3 1 380px; }
.story-text h2 { margin-bottom: 1.2rem; }
.story-imgs { flex: 1 1 300px; position: relative; min-height: 440px; }
.story-imgs .img-wrap:first-child { position: absolute; top: 0; left: 0; width: 78%; height: 300px; }
.story-imgs .img-wrap:last-child { position: absolute; bottom: 0; right: 0; width: 62%; height: 220px; border: 8px solid var(--paper); }

.team { display: flex; flex-wrap: wrap; gap: 2rem; }
.member { flex: 1 1 220px; padding: 1.6rem; background: #fff; border-left: 4px solid var(--amber); }
.member h3 { font-size: 1.1rem; }
.member .role { color: var(--sea); font-size: .86rem; font-weight: 600; margin: .2rem 0 .7rem; }
.member p { color: var(--muted); font-size: .92rem; }

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: var(--navy);
  color: #fff;
  padding: 3rem;
}

.cta-strip h2 { color: #fff; font-size: 1.7rem; max-width: 560px; }

/* Services page */
.svc-block { display: flex; flex-wrap: wrap; gap: 3rem; padding: 4rem 3rem; border-bottom: 1px solid var(--line); align-items: center; }
.svc-block:nth-child(even) { flex-direction: row-reverse; background: #fff; }
.svc-block .img-wrap { flex: 1 1 280px; height: 280px; }
.svc-text { flex: 1.4 1 380px; }
.svc-text h2 { font-size: 1.8rem; margin-bottom: .8rem; }
.svc-text ul { margin: 1rem 0 1.2rem 1.2rem; color: var(--muted); font-size: .95rem; }
.svc-text li { margin-bottom: .3rem; }
.svc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 1rem; }
.svc-meta .price-tag { text-align: left; min-width: 0; }

/* Contact page */
.contact-layout { display: flex; flex-wrap: wrap; gap: 0; }
.contact-cell { flex: 1 1 260px; padding: 3rem; border-right: 1px solid var(--line); }
.contact-cell:last-child { border-right: none; }
.contact-cell:nth-child(1) { background: #fff; }
.contact-cell:nth-child(3) { background: var(--sea-light); }
.contact-cell h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.contact-cell p, .contact-cell li { color: var(--ink); font-size: .98rem; }
.contact-cell ul { list-style: none; }
.contact-cell li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px dashed var(--line); }
.email-text { font-weight: 600; color: var(--navy); user-select: all; }

.map-art { background-color: var(--paper-2); padding: 0; }
.map-art svg { width: 100%; height: auto; display: block; }

/* Legal pages */
.legal { padding: 4rem 3rem 5rem; max-width: 860px; }
.legal h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: .6rem; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 2.4rem; }
.legal h2 { font-size: 1.4rem; margin: 2.2rem 0 .7rem; }
.legal p, .legal li { color: #333c40; }
.legal ul { margin: .6rem 0 0 1.3rem; }
.legal li { margin-bottom: .35rem; }

.cookie-table { display: flex; flex-direction: column; border: 1px solid var(--line); margin-top: 1rem; background: #fff; }
.cookie-table .tr { display: flex; border-bottom: 1px solid var(--line); }
.cookie-table .tr:last-child { border-bottom: none; }
.cookie-table .tr > span { flex: 1; padding: .7rem .9rem; font-size: .9rem; }
.cookie-table .th { background: var(--paper-2); font-weight: 600; }

/* Thanks */
.thanks {
  min-height: 70vh;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.thanks-text { flex: 1.2 1 380px; padding: 5rem 3rem; display: flex; flex-direction: column; justify-content: center; }
.thanks-text h1 { margin-bottom: 1.2rem; }
.thanks-text .svc-chosen { background: #fff; border-left: 4px solid var(--amber); padding: 1rem 1.2rem; margin: 1.5rem 0; }
.thanks-text ol { margin: 1rem 0 2rem 1.3rem; color: var(--muted); }
.thanks .img-wrap { flex: 1 1 300px; min-height: 360px; }

/* ---------- Footer ---------- */

.site-foot { background: #0a1f26; color: #b3c1c4; padding: 3.5rem 3rem 2rem; font-size: .9rem; margin-top: auto; }
.foot-top { display: flex; flex-wrap: wrap; gap: 3rem; justify-content: space-between; }
.foot-col { flex: 1 1 200px; }
.foot-col h4 { color: #fff; font-family: 'Inter', Arial, sans-serif; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.foot-col a { color: #b3c1c4; text-decoration: none; display: block; padding: .2rem 0; }
.foot-col a:hover { color: var(--amber); }

.disclaimer {
  margin-top: 2.5rem;
  padding: 1.4rem;
  border: 1px solid #22404a;
  font-size: .84rem;
  line-height: 1.6;
  color: #9fb0b4;
}

.disclaimer strong { color: #e6ecee; }

.foot-bottom { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .8rem; color: #7f9599; }

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: calc(var(--sidebar-w) + 1.5rem);
  right: 1.5rem;
  bottom: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--amber);
  box-shadow: 0 10px 30px rgba(15, 42, 51, .18);
  padding: 1.2rem 1.5rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  z-index: 100;
  font-size: .9rem;
}

.cookie-banner.show { display: flex; }
.cookie-banner p { flex: 1 1 320px; color: var(--muted); }
.cookie-actions { display: flex; gap: .7rem; }
.cookie-actions .btn { padding: .6rem 1.1rem; }

.btn-plain { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-plain:hover { background: var(--navy); color: #fff; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .sidebar { transform: translateX(-100%); transition: transform .3s; }
  .sidebar.open { transform: translateX(0); }
  .content { margin-left: 0; }
  .menu-toggle { display: inline-block; }
  .topbar { padding: .7rem 1.2rem; }
  .wrap, .opener-text, .page-head-text, .legal, .est-form, .est-result, .quote-inner, .svc-block, .contact-cell, .thanks-text, .cta-strip, .site-foot { padding-left: 1.3rem; padding-right: 1.3rem; }
  .opener-note { position: relative; right: auto; top: auto; margin: 0 1.3rem 2rem; }
  .opener { flex-direction: column; justify-content: flex-end; align-items: stretch; }
  .case:nth-child(2) { margin-top: 0; }
  .price-tag { text-align: left; }
  .cookie-banner { left: 1rem; right: 1rem; bottom: 1rem; }
  .ad-label span { font-size: .78rem; }
  .topbar-cta { display: none; }
}
