/* =========================================================
   Gondwe Bespoke — site styles
   Tokens first, then base, then components in page order.
   ========================================================= */

:root {
  --ink:        #12100F;   /* near-black ground */
  --ink-raised: #1A1715;   /* card hover on dark */
  --paper:      #F4F0E8;   /* warm off-white */
  --paper-dim:  #E7E1D6;   /* image frame ground */
  --ac:         #A8853C;   /* accent — brass */

  --nav-h:      76px;
  --scrim:      0.38;      /* hero bottom-scrim strength, 0–0.6 */

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw:      1320px;
  --maxw-wide: 1440px;
  --pad:       40px;

  --section-y: clamp(80px, 11vw, 150px);
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ac); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  letter-spacing: -.01em;
}

p { margin: 0; }

::selection { background: var(--ac); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--ac);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ac);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.skip-link:focus { left: 0; color: var(--ink); }

.pad {
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.is-accent { color: var(--ac); }

/* ---------- Shared bits ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  font-size: 11.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(18, 16, 15, .55);
}
.eyebrow--light { color: rgba(244, 240, 232, .62); }
.eyebrow--center { justify-content: center; gap: 16px; margin-bottom: 38px; }

.rule {
  flex: none;
  width: 44px;
  height: 1px;
  background: var(--ac);
}
.eyebrow--center .rule { width: 36px; background: rgba(244, 240, 232, .25); }

.prose {
  margin-top: 30px;
  max-width: 520px;
  font-size: 16.5px;
  line-height: 1.78;
  font-weight: 300;
  color: rgba(18, 16, 15, .72);
}
.prose + .prose { margin-top: 20px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; }
.section-head__note {
  max-width: 360px;
  font-size: 15.5px;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(244, 240, 232, .62);
}

.link-underline {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ac);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: opacity .25s;
}
.link-underline:hover { color: var(--ac); opacity: .7; }

/* Buttons */

.btn {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, filter .3s, transform .3s var(--ease);
}
.btn--solid {
  padding: 17px 38px;
  background: var(--ac);
  color: var(--ink);
  font-weight: 500;
}
.btn--solid:hover { color: var(--ink); filter: brightness(1.12); transform: translateY(-2px); }

.btn--outline-light {
  padding: 17px 34px;
  border: 1px solid rgba(244, 240, 232, .3);
  color: var(--paper);
}
.btn--outline-light:hover { border-color: var(--ac); color: var(--ac); }

.btn--outline-accent {
  padding: 15px 30px;
  border: 1px solid var(--ac);
  color: var(--ac);
  font-size: 11.5px;
}
.btn--outline-accent:hover { background: var(--ac); color: var(--ink); }

/* Image frames — all photos are cover-cropped inside a fixed ratio */

.frame {
  margin: 0;
  background: var(--paper-dim);
  overflow: hidden;
  min-width: 0;
  aspect-ratio: 4 / 5;
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   Navigation
   ========================================================= */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--pad);
  border-bottom: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease, padding .4s ease;
}
.nav.is-solid {
  background: rgba(18, 16, 15, .94);
  border-bottom-color: rgba(244, 240, 232, .12);
  padding-top: 10px;
  padding-bottom: 10px;
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.nav__brand img { height: 34px; width: 34px; flex: none; object-fit: contain; }
.nav__brand span {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
}
.nav__brand:hover span { color: var(--ac); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, .95);
  text-shadow: 0 1px 12px rgba(18, 16, 15, .55);
}
.nav__links a { white-space: nowrap; transition: color .25s; }

.nav__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.nav__cta { padding: 11px 22px; }

.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background: none;
  border: 1px solid rgba(244, 240, 232, .28);
  color: var(--paper);
  cursor: pointer;
  transition: border-color .25s;
}
.burger:hover { border-color: var(--ac); }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; }

/* Mobile overlay menu */

.menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 var(--pad);
  background: rgba(18, 16, 15, .98);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.menu[hidden] { display: none; }

.menu__close {
  position: absolute;
  top: 18px;
  right: 34px;
  width: 46px;
  height: 46px;
  padding: 0;
  background: none;
  border: 1px solid rgba(244, 240, 232, .28);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .25s;
}
.menu__close:hover { border-color: var(--ac); color: var(--ac); }

.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  padding: 14px 0;
  font-family: var(--serif);
  font-size: clamp(26px, 7vw, 30px);
  color: var(--paper);
  border-bottom: 1px solid rgba(244, 240, 232, .1);
}
.menu__links a:last-child { border-bottom: 0; }
.menu__links a.is-accent { color: var(--ac); }
.menu__links a:hover { color: var(--ac); }

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; background: #332E29; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Matches the framing chosen in the design canvas (panned to the top). */
  object-position: 50% 0%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(18, 16, 15, .78) 0%,
    rgba(18, 16, 15, .28) 34%,
    rgba(18, 16, 15, .55) 68%,
    rgba(18, 16, 15, calc(.5 + var(--scrim))) 100%);
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-bottom: 76px;
  pointer-events: none;
}
.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.hero__copy { max-width: 720px; }

.hero h1 {
  font-size: clamp(44px, 7.4vw, 104px);
  line-height: .98;
  letter-spacing: -.015em;
  color: var(--paper);
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--ac); }

.hero__lede {
  margin-top: 28px;
  max-width: 470px;
  font-size: clamp(15px, 1.5vw, 17.5px);
  line-height: 1.65;
  font-weight: 300;
  color: rgba(244, 240, 232, .76);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
  pointer-events: auto;
}

.hero__mark {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding-bottom: 8px;
}
.hero__mark img { width: 132px; height: 132px; object-fit: contain; opacity: .92; }
.hero__mark span {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, .5);
}

/* =========================================================
   Award ticker
   ========================================================= */

.ticker {
  background: var(--ink);
  border-top: 1px solid rgba(244, 240, 232, .1);
}
.ticker__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 34px;
  font-size: 11.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, .6);
}
.ticker__dot {
  width: 4px;
  height: 4px;
  background: rgba(244, 240, 232, .3);
  transform: rotate(45deg);
}

/* =========================================================
   The Craft
   ========================================================= */

.craft {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.craft__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.craft h2 { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.08; text-wrap: balance; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 28px;
  margin: 52px 0 0;
  padding-top: 36px;
  border-top: 1px solid rgba(18, 16, 15, .14);
}
.stat__num {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  color: var(--ac);
}
.stat__label {
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(18, 16, 15, .55);
}

.craft__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  min-width: 0;
}
.craft__images .frame--wide { grid-column: span 2; aspect-ratio: 4 / 3; }
.craft__images .frame--tall { aspect-ratio: 3 / 4; }
.craft__images .frame--offset { margin-top: 36px; }

/* =========================================================
   Services
   ========================================================= */

.services { background: var(--ink); color: var(--paper); }
.services__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.services .section-head { margin-bottom: clamp(44px, 6vw, 72px); }

/* 1px gap over a light ground draws the hairline rules between cards */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1px;
  background: rgba(244, 240, 232, .14);
}
.service {
  background: var(--ink);
  padding: clamp(32px, 3.4vw, 46px) clamp(26px, 2.6vw, 38px);
  transition: background .4s ease;
}
.service:hover { background: var(--ink-raised); }
.service__num { font-size: 11.5px; letter-spacing: .24em; color: var(--ac); }
.service h3 { margin-top: 26px; font-size: 25px; line-height: 1.25; }
.service p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(244, 240, 232, .6);
}

/* =========================================================
   Gallery
   ========================================================= */

.gallery {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  min-width: 0;
}
.gallery__grid .frame--wide { grid-column: span 2; aspect-ratio: 16 / 10; }

/* =========================================================
   Recognition
   ========================================================= */

.awards {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.awards__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  text-align: center;
}
.awards__plaque {
  display: inline-block;
  padding: clamp(38px, 5vw, 64px) clamp(28px, 5vw, 72px);
  border: 1px solid rgba(244, 240, 232, .16);
}
.awards__year {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.8vw, 19px);
  color: var(--ac);
}
.awards h2 {
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.06;
  text-wrap: balance;
}
.awards__divider {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--ac);
  margin: 34px auto;
}
.awards__body {
  margin: 0 auto;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 300;
  color: rgba(244, 240, 232, .66);
}

/* =========================================================
   Contact
   ========================================================= */

.contact {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact h2 { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.08; }
.contact .prose { margin-top: 26px; max-width: 440px; }

.details {
  display: grid;
  gap: 26px;
  margin: 48px 0 0;
  padding-top: 38px;
  border-top: 1px solid rgba(18, 16, 15, .14);
}
.details dt {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(18, 16, 15, .45);
}
.details dd { margin: 8px 0 0; font-size: 17px; font-weight: 300; }
.details__handle {
  display: inline-block;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ac);
  border-bottom: 1px solid rgba(168, 133, 60, .4);
  padding-bottom: 3px;
}

.enquire {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(34px, 4vw, 56px);
}
.enquire__mark { width: 66px; height: 66px; object-fit: contain; opacity: .92; }
.enquire h3 {
  margin-top: 26px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
}
.enquire__note {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(244, 240, 232, .6);
}
.enquire__actions { display: grid; gap: 12px; margin-top: 34px; }

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 26px;
  border: 1px solid rgba(244, 240, 232, .24);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: border-color .3s, color .3s, filter .3s, transform .3s var(--ease);
}
.cta:hover { border-color: var(--ac); color: var(--ac); }
.cta__arrow { font-family: var(--serif); font-size: 16px; letter-spacing: 0; }

.cta--solid {
  background: var(--ac);
  border-color: var(--ac);
  color: var(--ink);
  font-weight: 500;
}
.cta--solid:hover { color: var(--ink); filter: brightness(1.12); transform: translateY(-2px); }

.enquire__foot {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 240, 232, .14);
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, .45);
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(244, 240, 232, .12);
}
.footer__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: clamp(52px, 6vw, 84px);
  padding-bottom: clamp(28px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 44px;
}
.footer__mark { width: 104px; height: 104px; object-fit: contain; }
.footer__label {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, .5);
}
.footer__links {
  display: grid;
  gap: 12px;
  align-content: start;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, .62);
}
.footer__contact {
  display: grid;
  gap: 12px;
  align-content: start;
  font-size: 15px;
  font-weight: 300;
  color: rgba(244, 240, 232, .62);
}
.footer__cta { display: flex; align-items: flex-start; justify-content: flex-end; }

.footer__base {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  justify-content: space-between;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, .34);
}

/* =========================================================
   Scroll reveal — JS adds .reveal-init, then .is-visible
   ========================================================= */

[data-reveal].reveal-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1000px) {
  .nav__links { display: none; }
  .burger { display: flex; }
}

@media (max-width: 900px) {
  .footer__cta { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .hero__row { gap: 32px; }
  .hero__mark { align-items: flex-start; }
  .hero__mark img { width: 96px; height: 96px; }
  .section-head { align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --pad: 22px; }
  .nav__cta { display: none; }
  .gallery__grid .frame--wide,
  .craft__images .frame--wide { grid-column: span 1; }
  .craft__images { grid-template-columns: 1fr; }
  .craft__images .frame--offset { margin-top: 0; }
  .hero__inner { padding-bottom: 56px; }
}

/* =========================================================
   Motion / print
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal].reveal-init { opacity: 1; transform: none; }
}

@media print {
  .nav, .menu, .skip-link, .hero__actions, .footer__cta { display: none !important; }
  body { background: #fff; color: #000; }
  .services, .awards, .enquire, .footer, .ticker { background: #fff !important; color: #000 !important; }
}
