/* Sparkle & Shine, preview build 2026-10-03, first pass and round 2 (Solnest skeleton, square corners) applied. Palette sampled from the client logo:
   deep teal #032E34, warm gold #E3B25E. Warm paper field, no dark bands. */

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("fonts/mulish-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("fonts/mulish-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #FAF6EF;
  --paper-2: #F3EDE0;
  --ink: #15383F;
  --ink-soft: #3D5A60;
  --brand: #032E34;
  --btn: #0B3941;
  --btn-hover: #0E4650;
  --gold: #E3B25E;
  --gold-deep: #B98A3E;
  --line: #E5DAC4;
  --cream: #FBF7EE;
  --radius-photo: 14px;
  --radius-card: 18px;
  --shadow-soft: 0 10px 30px rgba(3, 46, 52, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
figure { margin: 0; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Mulish", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 460;
  color: var(--brand);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.15rem, 1.55rem + 2.6vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a:not(.btn):not(.callbar__btn):not(.brand) {
  color: var(--brand);
  text-decoration-color: var(--gold-deep);
  text-underline-offset: 0.18em;
}
a:not(.btn):not(.callbar__btn):hover { text-decoration-color: var(--brand); }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  z-index: 200;
}
.skip:focus { left: 0; color: var(--cream); }

/* Buttons: square-cornered, like the reference */

.btn {
  display: inline-block;
  background: var(--btn);
  color: var(--cream);
  font-family: "Mulish", sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 13px 28px;
  border-radius: 2px;
  border: 1.5px solid var(--btn);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--cream); }

.btn--ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn--ghost:hover { background: var(--brand); color: var(--cream); border-color: var(--brand); }
.btn--light { background: var(--cream); color: var(--brand); border-color: var(--cream); }
.btn--light:hover { background: var(--gold); border-color: var(--gold); color: var(--brand); }

/* Header */

.site-head {
  position: -webkit-sticky;
  position: sticky;
  overflow-anchor: none;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 14px;
  padding-bottom: 14px;
  transition: padding 0.25s ease;
}
.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  transition: width 0.25s ease, height 0.25s ease;
}
.brand-name {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.1;
  color: var(--brand);
  white-space: nowrap;
}
.site-head.is-condensed .head-inner { padding-top: 8px; padding-bottom: 8px; }
.site-head.is-condensed .brand img { width: 64px; height: 64px; }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav a:not(.btn) {
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover { color: var(--brand); }
.site-nav a[aria-current="page"] {
  color: var(--brand);
  border-bottom-color: var(--gold-deep);
}
.head-cta { padding: 10px 20px; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 9px 16px;
  min-height: 44px;
  font-family: "Mulish", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand);
  cursor: pointer;
  align-items: center;
  gap: 9px;
}
.nav-toggle .bars {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--brand);
  position: relative;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--brand);
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }

/* Hero: copy on the left, the photo running to the right edge at its full shape */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  background: var(--paper);
}
.hero__copy {
  padding: clamp(32px, 3.5vw, 52px) clamp(28px, 3.5vw, 56px) clamp(32px, 3.5vw, 52px) max(24px, calc((100vw - 1120px) / 2 + 24px));
}
.hero__copy h1 { font-size: clamp(1.9rem, 1.45rem + 1.5vw, 2.6rem); }
.hero__copy .lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 30em;
  margin-bottom: 1.6em;
}
.hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__photo { line-height: 0; align-self: stretch; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.page-intro { padding: clamp(48px, 6vw, 84px) 0 clamp(36px, 5vw, 60px); }
.page-intro h1 { font-size: clamp(1.9rem, 1.45rem + 1.5vw, 2.6rem); max-width: 22em; margin-left: auto; margin-right: auto; }
.page-intro .lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 38em; margin: 0 auto; }

/* Sections */

.section { padding: clamp(56px, 7vw, 96px) 0; }
.center { text-align: center; }
.center h2 { margin-bottom: 0.6em; }
.intro { max-width: 40em; margin: 0 auto 2.4em; font-size: 1.08rem; }

/* Two services side by side, centred, the way the reference lays out its service row */
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 88px);
  max-width: 860px;
  margin: 0 auto 2.6em;
  padding-top: 2.2em;
  border-top: 1px solid var(--line);
}
.pair h3 {
  font-family: "Mulish", sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--brand);
  margin-bottom: 0.6em;
}

/* Edge-to-edge photo and text halves, alternating sides */
.block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper-2);
}
.block__text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 6vw, 96px) clamp(28px, 5vw, 80px);
}
.block__inner { max-width: 30em; }
.block__inner .btn { margin-top: 1.6em; }
.block__photo { line-height: 0; }
.block__photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 40%;
}
.block--tall .block__photo img { aspect-ratio: 1 / 1; }
.block__photo img.pos-low { object-position: center 70%; }
.block--reverse .block__text { order: 2; }
.block--reverse .block__photo { order: 1; }
.block + .block { background: var(--paper); }

/* Full-width brand band closing each page */
.band { background: var(--brand); color: var(--cream); padding: clamp(56px, 7vw, 92px) 0; }
.band__inner { max-width: 680px; text-align: center; }
.band__title {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem);
  color: var(--gold);
  margin-bottom: 0.4em;
}
.band p { color: var(--cream); }
.band a:not(.btn):not(.callbar__btn):not(.brand) { color: var(--cream); text-decoration-color: var(--gold); }
.band__contacts { margin: 1.1em 0 1.6em; font-size: 1.05rem; }
.band__contacts span + span::before { content: " · "; color: var(--gold); }
.band__contacts a { white-space: nowrap; }

.form-note { margin-top: 1.1em; font-size: 0.95rem; color: var(--ink-soft); }
.foot-contact a, .contact-list a, .form-note a { white-space: nowrap; }
.foot-links span + span::before { content: " · "; color: var(--gold-deep); }

/* Contact details block */

.contact-list {
  list-style: none;
  margin: 0 0 1.2em;
  padding: 0;
  font-size: 1.12rem;
}
.contact-list li { margin-bottom: 0.55em; }
.contact-list .label {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Form */

.inquiry-form {
  margin: 0 auto;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: clamp(26px, 4vw, 44px);
  max-width: 700px;
}
.field { margin-bottom: 1.3em; }
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35em;
  color: var(--brand);
}
.field .optional { font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px 14px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold-deep);
  outline-offset: 1px;
  border-color: var(--gold-deep);
}
.honeypot { position: absolute; left: -9999px; }

/* Footer */

.site-foot {
  background: var(--paper-2);
  border-top: 2px solid var(--gold);
  padding: clamp(40px, 6vw, 64px) 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.foot-brand { display: block; line-height: 0; }
.foot-brand img { width: 240px; height: 240px; border-radius: 50%; }
.foot-nav { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 14px; }
.foot-nav a { font-weight: 600; text-decoration: none; display: inline-block; padding: 10px 0; }
.foot-nav a:hover { text-decoration: underline; }
.foot-contact { color: var(--ink-soft); margin-bottom: 6px; }
.foot-note {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.foot-note .credit a { color: var(--ink-soft); }

/* Sticky call bar, phones only */

.callbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: var(--brand);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 12px;
}
.callbar__btn {
  flex: 1;
  text-align: center;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 12px 10px;
  border-radius: 2px;
}
.callbar__call { background: var(--gold); color: var(--brand); }
.callbar__ask { background: transparent; color: var(--cream); border: 1.5px solid var(--cream); }

/* Utility pages */

.utility { padding: clamp(64px, 10vw, 120px) 0; text-align: center; }
.utility .wrap { max-width: 640px; }
.utility .btn { margin-top: 1.4em; }

/* Phone layout */

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero__copy { padding: 40px max(24px, calc((100vw - 1120px) / 2 + 24px)) 36px; }
  .hero__photo img { height: auto; object-fit: initial; }
}

@media (max-width: 880px) {
  .hero__copy { padding: 36px 24px 32px; }
  .block { grid-template-columns: 1fr; }
  .block__text, .block--reverse .block__text { order: 1; padding: 48px 24px; }
  .block__photo, .block--reverse .block__photo { order: 2; }
  .block__photo img, .block--tall .block__photo img { aspect-ratio: 3 / 2; height: auto; }
  .block--tall .block__photo img { aspect-ratio: 4 / 5; }
  .pair { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .callbar { display: flex; }
  .nav-toggle { display: none; }
  html.js .nav-toggle { display: inline-flex; }
  /* Without JS the nav stays visible as a stacked block below the brand row,
     so every page remains complete and navigable. */
  .head-inner { gap: 16px; flex-wrap: wrap; }
  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-left: 0;
    padding: 4px 0 10px;
    border-top: 1px solid var(--line);
  }
  html.js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    background: var(--paper);
    border-top: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    padding: 8px 24px 18px;
  }
  html.js .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 13px 0 13px 12px; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { border-bottom: 1px solid var(--line); color: var(--brand); box-shadow: inset 3px 0 0 var(--gold-deep); }
  .site-nav .head-cta { margin-top: 14px; text-align: center; }
  .brand { gap: 10px; }
  .brand img { width: 68px; height: 68px; }
  .site-head.is-condensed .brand img { width: 50px; height: 50px; }
  .brand-name { font-size: 1.25rem; }
  .foot-brand img { width: 200px; height: 200px; }
  .foot-links span { display: block; }
  .foot-links span + span::before { content: none; }
}

/* Mid widths: the header button drops out before the nav runs out of room */
@media (min-width: 761px) and (max-width: 1020px) {
  .head-cta { display: none; }
}
