/* ==========================================================================
   Inner pages, 2026 v2 design: the shared base (1 Dec 2026).
   Loaded on every public page once the v2 inner pages are on, after main.css
   and pages.css.

   1. Tokens. The first design's variables are re-pointed at the v2 palette
      and fonts, so pages with no mockup of their own (Notices, Register,
      Legal, the members' and agents' areas) change colour and type with the
      rest of the site without their rules being touched.
   2. Shared pieces for the pages that do have a mockup: the photo hero, the
      eyebrow, buttons, Prev / Next, the "speak to the concierge" band. Each
      page adds its own file, assets/css/v2/<slug>.css, with classes prefixed
      v2-<page>.
   ========================================================================== */

body.inner-v2 {
  --shell: #F4F1E9; --shell-2: #E9E6DF; --shell-3: #E2DED5;
  --marine: #23282E; --marine-soft: #4A4F55;
  --coral: #6B6E72; --coral-dk: #23282E;
  --stone: #CFCBC2; --seaglass: #E9E6DF;
  --slate: #55585C; --taupe: #6B6E72;
  --on-marine: #F4F1E9;
  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Cabin', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ink: #23282E; --ink-soft: #4A4F55; --paper: #F4F1E9; --paper-dim: #D9D5CC; --paper-2: #E9E6DF;
  --grey: #6B6E72; --body: #55585C; --line: rgba(35, 40, 46, .15);
  --v2-pad: clamp(20px, 4vw, 56px);
  background: #F4F1E9;
}
/* Coral was the link colour; grey links need an underline to read as links in running text. */
body.inner-v2 main p a:not([class]), body.inner-v2 main li a:not([class]) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(35, 40, 46, .4); }
body.inner-v2 main p a:not([class]):hover, body.inner-v2 main li a:not([class]):hover { text-decoration-color: currentColor; }
body.inner-v2 :focus-visible { outline-color: #23282E; }

/* The page you are on, in the bar. */
.site-header--v2 .site-nav a[aria-current="page"], .site-header--v2 .site-header__util a[aria-current="page"]:not(.hbtn) { box-shadow: 0 1px 0 currentColor; }

/* --- Shared pieces: everything sits inside .v2 ------------------------------ */

.v2 { font-family: var(--sans); color: var(--ink); background: var(--paper); overflow-x: clip; }
.v2 :where(p, h1, h2, h3, h4, dl, dd, figure, ul, ol) { margin: 0; }
.v2 :where(ul, ol) { padding: 0; list-style: none; }
.v2 :where(a) { color: inherit; }
.v2 :where(img) { display: block; max-width: 100%; }

.v2-wrap { max-width: 1320px; margin: 0 auto; padding-left: var(--v2-pad); padding-right: var(--v2-pad); }
.v2-section { padding-top: clamp(70px, 9vw, 110px); padding-bottom: clamp(70px, 9vw, 110px); }

.v2-eyebrow { font-family: var(--sans); font-weight: 400; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--grey); }
.v2-display { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; color: var(--ink); }
.v2-body { font-weight: 300; font-size: 16.5px; line-height: 1.85; color: var(--body); }
.v2-rule { width: 56px; height: 1px; background: var(--ink); opacity: .35; }

/* Photo hero. The header lies over it, clear. Set the picture inline:
   <section class="v2-hero" style="--v2-hero: url('...')">. Add .v2-hero--tall for 70vh. */
.v2-hero {
  position: relative; height: 56vh; min-height: 480px; color: var(--paper);
  background-color: #1c2630;
  background-image: linear-gradient(180deg, rgba(20, 28, 38, .5) 0%, rgba(20, 28, 38, .2) 40%, rgba(20, 28, 38, .55) 100%), var(--v2-hero, none);
  background-position: center; background-size: cover; background-repeat: no-repeat;
}
.v2-hero--tall { height: 70vh; min-height: 560px; }
.v2-hero__copy { position: absolute; left: 0; right: 0; bottom: clamp(50px, 9vh, 90px); text-align: center; padding: 0 24px; }
.v2-hero__eyebrow { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; opacity: .9; margin-bottom: 18px; }
.v2-hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 7vw, 96px); line-height: 1; margin: 0 0 18px; color: var(--paper); }
.v2-hero__lede { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; opacity: .92; max-width: 760px; margin: 0 auto; }

/* Buttons */
.v2-btn {
  display: inline-flex; align-items: center; gap: 14px; cursor: pointer; text-decoration: none;
  font-family: var(--sans); font-weight: 500; font-size: 11.5px; line-height: 1; letter-spacing: 2.5px; text-transform: uppercase;
  padding: 15px 26px; border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink);
}
.v2 a.v2-btn { color: var(--ink); }
.v2-btn:hover, .v2-btn:focus-visible, .v2 a.v2-btn:hover { background: var(--ink); color: var(--paper); }
.v2-btn--fill, .v2 a.v2-btn--fill { background: var(--ink); color: var(--paper); }
.v2-btn--fill:hover, .v2-btn--fill:focus-visible, .v2 a.v2-btn--fill:hover { background: var(--ink-soft); border-color: var(--ink-soft); color: var(--paper); }
.v2-btn--light, .v2 a.v2-btn--light { border-color: var(--paper); color: var(--paper); }
.v2-btn--light:hover, .v2 a.v2-btn--light:hover { background: var(--paper); color: var(--ink); }
.v2-btn[aria-pressed="true"], .v2-btn.is-on { background: var(--ink); color: var(--paper); }

/* Prev / Next */
.v2-pager { display: flex; align-items: center; gap: 26px; font-family: var(--sans); font-size: 11px; letter-spacing: 3px; color: var(--ink); }
.v2-pager--light { color: var(--paper); }
.v2-pager button { display: flex; align-items: center; gap: 12px; padding: 10px 0; cursor: pointer; background: none; border: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: uppercase; }
.v2-pager button:hover { opacity: .7; }
.v2-pager__rule { width: 1px; height: 18px; background: currentColor; opacity: .4; }
.v2-chev { display: block; width: 8px; height: 8px; transform: rotate(45deg); }
.v2-chev--l { border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.v2-chev--r { border-right: 1px solid currentColor; border-top: 1px solid currentColor; }

/* "Speak to the concierge" band: text on the left, big link rows on the right. */
.v2-band { background: var(--paper-2); color: var(--ink); padding: clamp(70px, 8vw, 100px) var(--v2-pad); }
.v2-band__inner { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(40px, 6vw, 90px); align-items: center; }
.v2-band__text { font-weight: 300; font-size: 16.5px; line-height: 1.85; color: var(--body); max-width: 460px; margin-top: 16px; }
.v2-band__note { margin-top: 24px; }
.v2-rows { border-bottom: 1px solid rgba(35, 40, 46, .18); }
.v2-rows a { display: block; padding: 26px 0; border-top: 1px solid rgba(35, 40, 46, .18); color: var(--ink); text-decoration: none; }
.v2-rows a:hover { opacity: .7; }
.v2-rows .v2-eyebrow { display: block; margin-bottom: 8px; }
.v2-rows__line { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.v2-rows__line > span:first-child { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; overflow-wrap: anywhere; }
.v2-arrow { position: relative; display: block; width: 34px; height: 1px; background: currentColor; flex: 0 0 auto; }
.v2-arrow::after { content: ''; position: absolute; right: 0; top: 50%; width: 8px; height: 8px; border-right: 1px solid currentColor; border-top: 1px solid currentColor; transform: translateY(-50%) rotate(45deg); }

@media (max-width: 900px) {
  .v2-hero { height: 52vh; min-height: 420px; }
  .v2-hero--tall { height: 62vh; min-height: 480px; }
}
