/* ==========================================================================
   NUADA CAPITAL — nuada.ie
   Stylesheet implementing Brand System V1.0 (LOCKED — August 2026).
   Palette, typography, mark usage and composition follow the Master Pack.
   Do not introduce colours, typefaces or devices outside the system.
   ========================================================================== */

/* ---- Fonts (subsets shipped in Brand System V1.0 Master Pack) ------------ */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Design tokens (Brand System V1.0) ----------------------------------- */
:root {
  --nuada-green: #0E2A25;
  --sage:        #6B6F5A;
  --stone:       #E8E4DA;
  --charcoal:    #1A1A1A;
  --copper:      #B56335;
  --white:       #FFFFFF;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --track-caps: 0.16em;          /* caps always tracked +16% minimum */

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-pad: clamp(72px, 10vw, 128px);

  --hairline-on-green: rgba(232, 228, 218, 0.16);
  --hairline-on-light: rgba(26, 26, 26, 0.14);
}

/* ---- Reset / base --------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--sans);
  font-size: 15px;                /* body: Inter 400 · 15/24 web */
  line-height: 24px;
  font-weight: 400;
  color: var(--charcoal);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--nuada-green); }

::selection { background: var(--nuada-green); color: var(--stone); }

/* Body copy is never centred, never justified */
p { text-align: left; max-width: 62ch; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--stone); color: var(--nuada-green);
  padding: 12px 20px; font: 600 12px/1 var(--sans);
  letter-spacing: var(--track-caps); text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}


.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

/* ---- Typography ----------------------------------------------------------- */
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 500; }

h1 { font-size: clamp(40px, 5.5vw, 64px); line-height: 1.08; letter-spacing: 0.005em; }
h2 { font-size: clamp(30px, 4vw, 44px);   line-height: 1.12; }
h3 { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.25; }

.lede { font-size: 17px; line-height: 28px; }

.kicker {
  font: 600 11px/16px var(--sans);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
}

.serif-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.4;
}

/* Copper: mark, rules, display accents ≥24px only — never small text */
.rule {
  display: block; width: 40px; height: 2px;
  background: var(--copper); border: 0; margin: 0 0 16px;
}

/* ---- Section head device (copper rule → kicker → serif heading) ----------- */
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .kicker { color: var(--sage); margin-bottom: 12px; }
.on-green .section-head .kicker,
.on-green .kicker { color: var(--stone); }
.on-stone .section-head .kicker { color: var(--nuada-green); }
.section-head h2 { max-width: 18em; }

/* ---- Surfaces ------------------------------------------------------------- */
.on-green { background: var(--nuada-green); color: var(--stone); }
.on-green h1, .on-green h2, .on-green h3 { color: var(--stone); }
.on-green a { color: var(--stone); }
.on-stone { background: var(--stone); color: var(--charcoal); }
.on-white { background: var(--white); color: var(--charcoal); }

section { padding-block: var(--section-pad); }

/* ---- Buttons (V1.0: green fill + stone text on light grounds;
        stone fill + green text on green grounds) --------------------------- */
.btn {
  display: inline-block;
  font: 600 12px/1 var(--sans);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
  border: 1px solid transparent;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn-primary { background: var(--nuada-green); color: var(--stone); }
.btn-primary:hover { background: var(--charcoal); }
.on-green .btn-primary,
.btn.btn-on-green { background: var(--stone); color: var(--nuada-green); }
.on-green .btn-primary:hover,
.btn.btn-on-green:hover { background: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--nuada-green);
  border-color: var(--nuada-green);
}
.btn-ghost:hover { background: var(--nuada-green); color: var(--stone); }
.on-green .btn-ghost { color: var(--stone); border-color: rgba(232,228,218,0.5); }
.on-green .btn-ghost:hover { border-color: var(--stone); background: rgba(232,228,218,0.08); }

/* Text link with copper rule underline (rules may be copper; text is not) */
.link-more {
  display: inline-block;
  font: 600 12px/1 var(--sans);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--nuada-green);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--copper);
  transition: border-color 160ms ease, color 160ms ease;
}
.link-more:hover { color: var(--charcoal); }
.on-green .link-more { color: var(--stone); }
.on-green .link-more:hover { color: var(--white); }

/* ---- Header --------------------------------------------------------------- */
.site-header {
  background: var(--nuada-green);
  border-bottom: 1px solid var(--hairline-on-green);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 112px; gap: 32px;     /* raised only to seat the larger lockup */
}
.brand-lockup { display: inline-flex; align-items: center; text-decoration: none; }
.brand-lockup img { height: 79px; width: auto; }   /* FINAL desktop size — approved */
@media (max-width: 820px) {
  .site-header .bar { min-height: 84px; }
  .brand-lockup img { height: 56px; }              /* FINAL mobile size — approved */
}

.site-nav ul { display: flex; gap: clamp(20px, 2.5vw, 36px); list-style: none; }
.site-nav a {
  font: 600 12px/1 var(--sans);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}
.site-nav a:hover { color: var(--white); border-bottom-color: var(--copper); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--copper); }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;      /* accessible touch target */
  appearance: none; background: none; border: 0; cursor: pointer;
  padding: 0; margin-right: -10px;
}
.nav-toggle .bars { display: block; width: 22px; height: 2px; background: var(--stone); position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--stone);
}
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after  { top: 7px; }

@media (max-width: 820px) {
  .site-header { position: relative; }

  /* Enhanced (JavaScript available): approved hamburger interaction */
  html:not(.no-js) .nav-toggle { display: flex; }
  html:not(.no-js) .site-nav { display: none; }
  html:not(.no-js) .site-nav.open {
    display: block;
    position: absolute;
    top: 100%;                 /* anchor immediately below the header bar —
                                  without this the menu sits at its static
                                  (centred) position and clips off-screen */
    left: 0; right: 0; z-index: 50;
    background: var(--nuada-green);
    border-bottom: 1px solid var(--hairline-on-green);
    padding: 8px var(--gutter) 32px;
    max-height: calc(100vh - 84px);   /* fallback */
    max-height: calc(100dvh - 84px);
    overflow-y: auto;          /* scrollable on unusually short screens */
  }

  /* Core (no JavaScript): navigation stays visible, stacked below the lockup */
  html.no-js .nav-toggle { display: none; }
  html.no-js .bar { flex-wrap: wrap; padding-block: 16px; }
  html.no-js .site-nav { display: block; width: 100%; }

  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-top: 1px solid var(--hairline-on-green); }
  .site-nav a { display: block; padding: 18px 0; font-size: 13px; border-bottom: 0; }
  .site-nav a[aria-current="page"] { color: var(--white); border-bottom: 0; }
  .site-nav a[aria-current="page"]::after {
    content: ""; display: block; width: 24px; height: 2px;
    background: var(--copper); margin-top: 6px;
  }
}

/* ---- Hero ----------------------------------------------------------------- */
.hero { padding-block: 0; }
.hero .grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: stretch;
  min-height: min(82vh, 760px);
}
.hero .copy {
  align-self: center;
  padding: clamp(64px, 9vw, 120px) clamp(24px, 4vw, 72px) clamp(64px, 9vw, 120px) 0;
}
.hero .kicker { color: var(--stone); opacity: 0.85; margin: 16px 0 24px; }
.hero h1 { margin-bottom: 28px; }
.hero .lede { max-width: 46ch; margin-bottom: 40px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Photography: full bleed on green surfaces */
.hero .media { position: relative; min-height: 320px; }
.hero .media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

.hero .grid-wrap {
  max-width: none;
  margin: 0;
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
}

@media (max-width: 900px) {
  .hero .grid { grid-template-columns: 1fr; min-height: 0; }
  .hero .grid-wrap { padding-inline: var(--gutter); }
  .hero .copy { padding: clamp(56px, 10vw, 80px) 0; }
  .hero .media { min-height: 46vw; margin-inline: calc(-1 * var(--gutter)); }
}

/* ---- Interior page header band -------------------------------------------- */
.page-header { padding-block: clamp(64px, 9vw, 112px); }
.page-header .kicker { color: var(--stone); opacity: 0.85; margin: 16px 0 20px; }
.page-header h1 { max-width: 15em; }
.page-header .lede { margin-top: 24px; max-width: 52ch; }

/* ---- Closing CTA band ------------------------------------------------------ */
.cta-band h2 { max-width: 16em; }
.cta-band .kicker { color: var(--stone); }
.cta-band .lede { margin-top: 20px; max-width: 52ch; }
.cta-band .actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.cta-band .rule { margin-bottom: 20px; }

/* ---- Prose block ----------------------------------------------------------- */
.prose { max-width: 62ch; }
.prose p + p { margin-top: 20px; }
.prose .lede + p { margin-top: 24px; }

/* ---- Two-column split: prose + figure -------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.split.reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
}

/* ---- Definition rows (e.g. what to include in an introduction) ------------- */
.def-rows { border-top: 1px solid var(--hairline-on-light); max-width: 640px; }
.def-rows > div {
  display: grid; grid-template-columns: minmax(140px, 1fr) 2fr; gap: 8px 24px;
  padding: 16px 0; border-bottom: 1px solid var(--hairline-on-light);
}
.def-rows .kicker { color: var(--sage); padding-top: 2px; }
.def-rows p { font-size: 14px; line-height: 22px; max-width: none; }
@media (max-width: 520px) { .def-rows > div { grid-template-columns: 1fr; } }

/* ---- Three-column feature row -------------------------------------------- */
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.feature h3 { margin: 20px 0 12px; }
.feature .rule { width: 28px; margin: 0; }
.feature p { color: inherit; }
.on-stone .feature p { color: var(--charcoal); }
@media (max-width: 820px) {
  .cols-3 { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- Investments / stats -------------------------------------------------- */
.invest-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) { .invest-grid { grid-template-columns: 1fr; } }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline-on-light);
  margin-top: 40px;
}
.stat {
  padding: 24px 24px 28px 0;
  border-bottom: 1px solid var(--hairline-on-light);
}
.stat .value {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.1;
  color: var(--nuada-green);
  font-variant-numeric: tabular-nums;
}
.stat .label { display: block; margin-top: 8px; color: var(--sage); }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* Placeholder treatment — development builds only, deliberately obvious */
.placeholder-tag {
  display: inline-block;
  margin-top: 10px;
  font: 600 10px/1 var(--sans);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--sage);
  border: 1px dashed var(--sage);
  padding: 6px 10px;
}
.stat .value.is-placeholder { color: var(--sage); opacity: 0.55; }

.disclosure-note {
  margin-top: 32px;
  padding-left: 20px;
  border-left: 2px solid var(--copper);
  color: var(--sage);
  font-size: 13px;
  line-height: 21px;
  max-width: 52ch;
}

/* ---- Figures / captions --------------------------------------------------- */
figure.photo { margin: 0; }
figure.photo figcaption {
  font: 400 13px/20px var(--sans);
  color: var(--sage);             /* captions: sage on white */
  padding-top: 12px;
}
.on-stone figure.photo figcaption { color: var(--charcoal); } /* charcoal on stone */
figure.photo img { width: 100%; object-fit: cover; }

/* ---- Acquisitions band ---------------------------------------------------- */
.acq-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) { .acq-grid { grid-template-columns: 1fr; } }

.channel-list { list-style: none; border-top: 1px solid var(--hairline-on-green); }
.channel-list li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-on-green);
  font: 600 12px/20px var(--sans);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--stone);
}
.channel-list .tick { flex: none; width: 14px; height: 2px; background: var(--copper); position: relative; top: -4px; }

.acq-grid .actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- Insights ------------------------------------------------------------- */
.insight-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
@media (max-width: 820px) { .insight-cards { grid-template-columns: 1fr; } }
.insight-card {
  background: var(--white);
  padding: clamp(24px, 3vw, 40px);
  display: block;
  text-decoration: none;
  color: var(--charcoal);
}
.insight-card .kicker { color: var(--sage); margin-bottom: 12px; }
.insight-card h3 { margin-bottom: 12px; }
.insight-card p { font-size: 14px; line-height: 22px; color: var(--charcoal); }

/* ---- Contact -------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: end;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; align-items: start; } }
.contact-details { border-top: 1px solid var(--hairline-on-light); }
.contact-details div {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 16px 0; border-bottom: 1px solid var(--hairline-on-light);
}
.contact-details .kicker { color: var(--sage); }
.contact-details a { font-weight: 600; text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }

/* ---- Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--nuada-green);
  color: var(--stone);
  padding-block: clamp(56px, 7vw, 88px) 40px;
}
.site-footer .top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline-on-green);
}
.site-footer .mark img { width: 22px; height: auto; }  /* mark alone, once per surface */
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 16px 28px; }
.footer-nav a {
  font: 600 11px/1 var(--sans);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--white); }
.footer-contact { font-size: 13px; line-height: 22px; }
.footer-contact a { color: var(--stone); text-decoration: none; font-weight: 600; }
.footer-contact a:hover { text-decoration: underline; }

/* Statutory: never omitted */
.statutory {
  padding-top: 32px;
  font-size: 12px;
  line-height: 19px;
  color: var(--stone);
  opacity: 0.75;
  max-width: none;
}
.site-footer .meta {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-top: 16px;
  font-size: 12px; opacity: 0.75;
}
.site-footer .meta a {
  color: inherit; text-decoration: none;
  border-bottom: 1px solid var(--hairline-on-green);
}
.site-footer .meta a:hover { color: var(--white); border-bottom-color: var(--stone); }

/* ---- Utilities (declared last so they win ties; replace inline styles so
        the Content-Security-Policy needs no style allowances) -------------- */
.u-mt-32 { margin-top: 32px; }
.invest-solo { max-width: 760px; }
.u-mt-40 { margin-top: 40px; }
.u-mt-56 { margin-top: 56px; }
.u-mb-24 { margin-bottom: 24px; }
.small-print { font-size: 14px; line-height: 22px; }
