/* ---------- Fonts (self-hosted, latin + latin-ext) ---------- */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/assets/fonts/cormorant-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';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/assets/fonts/cormorant-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('/assets/fonts/cormorant-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';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('/assets/fonts/cormorant-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/assets/fonts/jost-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: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/assets/fonts/jost-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0e0e0d;
  --bg-raised: #161614;
  --ink: #ece6d9;
  --ink-soft: #c4bcab;
  --muted: #a39a88;
  --faint: #8f8778;
  --gold: #c9b38a;
  --line: #3a352c;
  --line-strong: #5c5443;

  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 6vw, 96px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, p, ul { margin: 0; }

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 200ms var(--ease), border-color 200ms var(--ease), background-color 300ms var(--ease);
}
a:hover { color: var(--gold); }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

::selection { background: var(--gold); color: var(--bg); }

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

.skip-link {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: var(--bg); }

/* ---------- Layout ---------- */
.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 56px) var(--gutter);
}

main { flex: 1; display: flex; flex-direction: column; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.monogram {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.text-link {
  display: inline-block;
  padding: 8px 0 4px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong);
}
.text-link:hover { border-bottom-color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  text-align: center;
  padding: clamp(72px, 14vh, 160px) 0 clamp(64px, 11vh, 128px);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 8vw, 112px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.rule { width: 48px; height: 1px; background: var(--gold); }

.tagline {
  max-width: 34ch;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* ---------- Holdings ---------- */
.holdings {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  scroll-margin-top: 24px;
}

.section-label { display: flex; align-items: center; gap: 20px; }
.section-line { flex: 1; height: 1px; background: var(--line); }

/* One column on phones, 2×2 on tablets, a single row of 4 on wide screens.
   Explicit steps avoid the 3 + 1 orphan an auto-fit grid produces. */
.cards {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 600px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .cards { grid-template-columns: repeat(4, 1fr); } }

.cards > li { display: flex; }

.card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 36px 28px 32px;
  background: var(--bg);
  color: var(--ink);
}
.card:hover { background: var(--bg-raised); color: var(--ink); }
.card:focus-visible { outline-offset: -6px; }

.card-top { display: flex; justify-content: space-between; align-items: center; }

.logo {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--ink);
}
.logo img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
  /* Lets white logo backgrounds disappear into the cream circle. */
  mix-blend-mode: multiply;
  transition: filter 300ms var(--ease);
}
/* Photographic marks fill the whole circle instead of sitting as a tiny square. */
.logo--fill img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .logo img,
.card:focus-visible .logo img { filter: none; }

.numeral {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--faint);
}

.card-body { display: flex; flex-direction: column; gap: 10px; }

.card-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.card-desc {
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.card-cta {
  margin-top: auto;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.card-cta .arrow { display: inline-block; transition: transform 300ms var(--ease); }
.card:hover .card-cta .arrow { transform: translateX(4px); }

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px 16px;
  flex-wrap: wrap;
  padding-top: clamp(48px, 8vh, 96px);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- Small screens ---------- */
@media (max-width: 599px) {
  .hero { gap: 22px; padding: 64px 0 56px; }
  .card { gap: 28px; padding: 28px 24px; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
