/* ==========================================================================
   Baronceli Family Holdings: Site Theme
   One stylesheet for every page. Edit the tokens in :root to retheme.
   ========================================================================== */

:root {
  /* Colour */
  --forest: #173A2E;        /* header, cards, panels */
  --forest-deep: #0F271E;   /* overlays, dark sections */
  --forest-mid: #1F4A3B;    /* split panels */
  --ink: #14231C;           /* body text, footer */
  --sage: #C5CFBE;          /* light feature sections */
  --stone: #F5F2EA;         /* page background */
  --white: #FFFFFF;
  --gold: #D2AE62;          /* buttons, accents */
  --bronze: #7A5C26;        /* serif accents on light backgrounds */
  --line: #E4DED0;          /* borders on light backgrounds */
  --line-dark: #2C4237;     /* borders on dark backgrounds */
  --muted: #5E6B63;
  --muted-light: #A9BCB0;
  --text-on-dark: #DCE4DE;
  --text-soft: #24342B;

  /* Type */
  --font-sans: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;

  /* Layout */
  --max: 1280px;
  --gutter: 24px;
  --section: 104px;
  --radius: 4px;
  --overlay: rgba(15, 39, 30, 0.84);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--forest); }
a:hover { color: var(--bronze); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Type helpers ----------------------------------------------------------- */
.eyebrow { font-family: var(--font-serif); font-size: 16px; color: var(--bronze); }
.eyebrow--gold { color: var(--gold); }
.eyebrow--forest { color: var(--forest); }
.eyebrow--rule { border-bottom: 1px solid rgba(210, 174, 98, 0.5); padding-bottom: 14px; }
.heading { font-size: 40px; line-height: 1.12; font-weight: 500; color: var(--forest); }
.heading--serif { font-family: var(--font-serif); font-weight: 400; font-size: 46px; color: var(--ink); }
.heading--light { color: var(--white); }
.section-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 48px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #E2C27E; color: var(--ink); }
.btn--outline { border: 1px solid var(--gold); color: var(--white); font-weight: 500; }
.btn--outline:hover { background: var(--gold); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--stone); }
.btn--dark:hover { background: var(--forest); color: var(--stone); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.text-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 600; color: var(--ink); text-decoration: none;
}
.text-link svg { width: 16px; height: 16px; }

/* Header ----------------------------------------------------------------- */
.site-header { background: var(--forest); border-top: 4px solid var(--gold); position: relative; z-index: 10; }
.site-header .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 40px; padding-top: 18px; padding-bottom: 18px;
}
.logo { display: flex; align-items: center; min-height: 44px; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; }
.nav-link {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 44px; text-decoration: none; border-bottom: 2px solid transparent;
}
.nav-link:hover .nav-label { color: var(--gold); }
.nav-link[aria-current="page"] { border-bottom-color: var(--gold); }
.nav-eyebrow { font-size: 12px; color: var(--muted-light); }
.nav-label { font-size: 18px; color: var(--stone); transition: color 0.2s; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line-dark); border-radius: var(--radius);
  width: 44px; height: 44px; color: var(--stone); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; display: flex; min-height: 480px; overflow: hidden; background: var(--forest); }
.hero--tall { min-height: 640px; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__panel {
  position: relative; width: 52%; background: var(--overlay);
  display: flex; align-items: center;
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
}
.hero--tall .hero__panel { width: 56%; }
.hero__inner {
  display: flex; flex-direction: column; gap: 22px;
  padding: 72px 12% 72px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.hero__title { font-size: 58px; line-height: 1.05; font-weight: 500; letter-spacing: -0.02em; color: var(--white); }
.hero--tall .hero__title { font-size: 60px; }
.hero__sub { font-family: var(--font-serif); font-size: 24px; line-height: 1.4; color: #E9E2D0; max-width: 470px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

/* Icon row (sectors, partners) ------------------------------------------- */
.icon-row { background: var(--white); border-bottom: 1px solid var(--line); }
.icon-row .container { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; padding-top: 36px; padding-bottom: 36px; }
.icon-row__title { flex: 0 0 auto; display: flex; flex-direction: column; gap: 4px; }
.icon-row__title strong { font-size: 30px; font-weight: 500; color: var(--forest); }
.icon-row__items { flex: 1 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; }
.icon-item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; text-decoration: none; color: var(--ink); }
.icon-item svg { width: 40px; height: 40px; }
.icon-item small { font-size: 12px; color: var(--muted); }
.icon-item strong { font-size: 16px; font-weight: 600; }
.icon-item span { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Pattern band ----------------------------------------------------------- */
.pattern-band {
  height: 48px; background-color: var(--forest);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M0 48 A24 24 0 0 1 48 48 M12 48 A12 12 0 0 1 36 48 M24 0 v12' fill='none' stroke='%23D2AE62' stroke-width='1.2' opacity='0.7'/%3E%3C/svg%3E");
}

/* Serif statement -------------------------------------------------------- */
.statement { display: flex; gap: 40px; align-items: flex-start; }
.statement img { width: 34px; height: auto; flex: 0 0 auto; margin-top: 8px; }
.statement p { max-width: 980px; font-family: var(--font-serif); font-size: 34px; line-height: 1.35; color: var(--bronze); }

/* Sector cards ----------------------------------------------------------- */
.sectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.sector {
  position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; background: var(--forest);
}
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sector__body {
  position: relative; width: 100%; background: rgba(15, 39, 30, 0.88);
  padding: 28px; display: flex; flex-direction: column; gap: 8px;
}
.sector__tag { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.sector h3 { font-family: var(--font-serif); font-weight: 400; font-size: 26px; color: var(--white); }
.sector p { font-size: 15px; color: var(--text-on-dark); }

/* Approach / principles -------------------------------------------------- */
.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.principle { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--gold); padding-top: 24px; }
.principle__num { font-family: var(--font-serif); font-size: 18px; color: var(--bronze); }
.principle h3 { font-size: 22px; font-weight: 600; }
.principle p { color: #3B4A42; line-height: 1.7; }

/* Sage feature (story teaser, timeline, steps) --------------------------- */
.band-sage { background: var(--sage); }
.teaser { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.teaser__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.teaser__text p { font-size: 18px; line-height: 1.75; color: var(--text-soft); max-width: 600px; }
.teaser__ring { flex: 1 1 280px; display: flex; justify-content: center; }
.ring { position: relative; width: 280px; height: 280px; }
.ring svg { width: 280px; height: 280px; }
.ring text { font-family: var(--font-serif); font-size: 15px; fill: var(--forest); letter-spacing: 0; }
.ring img { position: absolute; left: 104px; top: 84px; width: 72px; height: auto; }

/* Split: colour panel + photo -------------------------------------------- */
.split { display: flex; flex-wrap: wrap; min-height: 520px; }
.split__panel { flex: 1.2 1 480px; background: var(--forest); color: var(--white); display: flex; align-items: center; }
.split__panel--mid { background: var(--forest-mid); }
.split__panel--first { flex: 1 1 420px; }
.split__inner { padding: 64px 56px; display: flex; flex-direction: column; gap: 24px; max-width: 640px; }
.split__panel--first .split__inner { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.split__inner h2 { font-size: 44px; line-height: 1.1; font-weight: 500; }
.split__inner > p { font-size: 17px; line-height: 1.7; color: var(--text-on-dark); max-width: 460px; }
.split__media { flex: 1.3 1 520px; position: relative; min-height: 520px; }
.split__media--narrow { flex: 1 1 420px; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Photo CTA -------------------------------------------------------------- */
.photo-cta { position: relative; overflow: hidden; background: var(--forest-deep); }
.photo-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.36; }
.photo-cta .container {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 40px; padding-top: 120px; padding-bottom: 120px;
}
.photo-cta__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.photo-cta__text h2 { font-size: 44px; line-height: 1.1; font-weight: 500; color: var(--white); }
.photo-cta__text p { font-size: 18px; color: #E3E8E2; max-width: 560px; }

/* Timeline --------------------------------------------------------------- */
.heritage { display: flex; flex-wrap: wrap; gap: 56px 80px; }
.heritage__intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.heritage__intro p { font-size: 17px; line-height: 1.75; color: var(--text-soft); }
.timeline { flex: 999 1 560px; min-width: 0; padding-left: 32px; border-left: 2px solid var(--forest); display: flex; flex-direction: column; gap: 48px; }
.timeline li { position: relative; display: flex; flex-direction: column; gap: 8px; }
.timeline li::before {
  content: ""; position: absolute; left: -42px; top: 8px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--gold); border: 2px solid var(--forest);
}
.timeline li:last-child::before { background: var(--forest); }
.timeline__when { font-family: var(--font-serif); font-size: 32px; color: var(--forest); line-height: 1.2; }
.timeline h3 { font-size: 20px; font-weight: 600; }
.timeline p { color: var(--text-soft); line-height: 1.75; max-width: 620px; }

/* Values (inside split panel) -------------------------------------------- */
.values { display: flex; flex-direction: column; gap: 24px; }
.value h3 { font-family: var(--font-serif); font-weight: 500; font-size: 22px; color: var(--gold); margin-bottom: 6px; }
.value p { color: var(--text-on-dark); line-height: 1.7; }

/* Photo grid ------------------------------------------------------------- */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.photo-grid img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius); }

/* Gold band -------------------------------------------------------------- */
.band-gold { background: var(--gold); color: var(--ink); }
.band-gold .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
.band-gold h2 { font-family: var(--font-serif); font-weight: 400; font-size: 38px; }
.band-gold p { font-size: 17px; color: #2A3A31; margin-top: 8px; }

/* Checklist -------------------------------------------------------------- */
.checklist { display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.5; color: #E3E8E2; }
.checklist li { display: flex; gap: 14px; }
.checklist svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; }

/* Steps ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step__num {
  width: 64px; height: 64px; border-radius: 50%; background: var(--forest); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 28px;
}
.step:last-child .step__num { background: var(--gold); color: var(--ink); }
.step h3 { font-size: 21px; font-weight: 600; }
.step p { font-size: 15px; color: var(--text-soft); }

/* Dark cards ------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--forest); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.card svg { width: 32px; height: 32px; }
.card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 24px; color: var(--gold); }
.card p { font-size: 15px; color: #D9DFD8; }

/* Contact ---------------------------------------------------------------- */
.contact .container { align-items: flex-end; gap: 48px; }
.contact__email { font-size: 52px; font-weight: 500; line-height: 1.1; color: var(--white); text-decoration: none; word-break: break-word; }
.contact__email:hover { color: var(--gold); }
.contact__hints { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.contact__hints > span { font-size: 13px; color: #C8D3CB; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(210, 174, 98, 0.6); color: var(--stone); font-size: 14px; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #D9DFD8; }
.site-footer__wrap { display: flex; flex-wrap: wrap; }
.site-footer__brand {
  flex: 0 0 auto; background: var(--forest);
  padding: 72px 132px 72px max(56px, calc((100vw - var(--max)) / 2 + var(--gutter)));
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
  display: flex; align-items: center;
}
.site-footer__brand img { height: 68px; width: auto; }
.site-footer__main { flex: 999 1 520px; min-width: 0; max-width: 900px; padding: 56px var(--gutter); display: flex; flex-direction: column; gap: 28px; }
.site-footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.site-footer__contact { display: flex; flex-direction: column; gap: 4px; }
.site-footer__contact span { font-family: var(--font-serif); font-size: 14px; color: var(--muted-light); }
.site-footer__contact a { font-size: 22px; color: var(--white); text-decoration: none; }
.site-footer__contact a:hover { color: var(--gold); }
.site-footer__rule { height: 1px; background: var(--line-dark); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13px; color: var(--muted-light); }
.site-footer .btn--outline { font-size: 14px; min-height: 46px; padding: 0 24px; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 900px) {
  :root { --section: 72px; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 8px; }
  .nav.is-open { display: flex; }
  .hero__panel, .hero--tall .hero__panel { width: 100%; clip-path: none; }
  .hero__inner { padding: 56px var(--gutter); }
  .hero__title, .hero--tall .hero__title { font-size: 42px; }
  .hero__sub { font-size: 20px; }
  .statement { gap: 20px; }
  .statement p { font-size: 24px; }
  .heading, .heading--serif, .split__inner h2, .photo-cta__text h2 { font-size: 32px; }
  .split__inner, .split__panel--first .split__inner { padding: 48px var(--gutter); }
  .split__media { min-height: 300px; }
  .contact__email { font-size: 32px; }
  .site-footer__brand { clip-path: none; width: 100%; padding: 48px var(--gutter); justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
