@font-face { font-family: 'Playfair Display SC'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/playfair-display-sc-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Playfair Display SC'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/playfair-display-sc-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Playfair Display SC'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/playfair-display-sc-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Tienne'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/tienne-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Tienne'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/tienne-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #faf6ec;
  --fg-light-base-body: #1b1d2e;
  --fg-light-base-heading: #1b1d2e;
  --fg-light-base-muted: #555262;
  --fg-light-base-link: #7d5a0f;
  --fg-light-base-inverse: #2b2536;
  --bg-light-card: #f2ead6;
  --fg-light-card-body: #1b1d2e;
  --fg-light-card-heading: #1b1d2e;
  --fg-light-card-muted: #555262;
  --fg-light-card-link: #7d5a0f;
  --fg-light-card-inverse: #2b2536;
  --bg-light-elevated: #fffcf4;
  --fg-light-elevated-body: #1b1d2e;
  --fg-light-elevated-heading: #1b1d2e;
  --fg-light-elevated-muted: #555262;
  --fg-light-elevated-link: #7d5a0f;
  --fg-light-elevated-inverse: #2b2536;
  --brand-light-accent: #7d5a0f;
  --brand-light-accent-hover: #5e430a;
  --brand-light-on-accent: #fffaf0;
  --focus-light-ring: #7d5a0f;
  --border-light-default: #97701f;
  --border-light-subtle: #dcc890;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
@media (prefers-color-scheme: dark) {
  :root {
    --bg-dark-base: #14172a;
    --fg-dark-base-body: #f3ead2;
    --fg-dark-base-heading: #f3ead2;
    --fg-dark-base-muted: #c9bea3;
    --fg-dark-base-link: #e0b252;
    --fg-dark-base-inverse: #faf6ec;
    --bg-dark-card: #1c2037;
    --fg-dark-card-body: #f3ead2;
    --fg-dark-card-heading: #f3ead2;
    --fg-dark-card-muted: #c9bea3;
    --fg-dark-card-link: #e0b252;
    --fg-dark-card-inverse: #faf6ec;
    --bg-dark-elevated: #10121f;
    --fg-dark-elevated-body: #f3ead2;
    --fg-dark-elevated-heading: #f3ead2;
    --fg-dark-elevated-muted: #c9bea3;
    --fg-dark-elevated-link: #e0b252;
    --fg-dark-elevated-inverse: #faf6ec;
    --brand-dark-accent: #e0b252;
    --brand-dark-accent-hover: #f0cb75;
    --brand-dark-on-accent: #14172a;
    --focus-dark-ring: #e0b252;
    --border-dark-default: #a07f3c;
    --border-dark-subtle: #4a4331;
  }
  .bg-surface-base { background: var(--bg-dark-base); --fg-body: var(--fg-dark-base-body); --fg-heading: var(--fg-dark-base-heading); --fg-muted: var(--fg-dark-base-muted); --fg-link: var(--fg-dark-base-link); --fg-inverse: var(--fg-dark-base-inverse); }
  .bg-surface-card { background: var(--bg-dark-card); --fg-body: var(--fg-dark-card-body); --fg-heading: var(--fg-dark-card-heading); --fg-muted: var(--fg-dark-card-muted); --fg-link: var(--fg-dark-card-link); --fg-inverse: var(--fg-dark-card-inverse); }
  .bg-surface-elevated { background: var(--bg-dark-elevated); --fg-body: var(--fg-dark-elevated-body); --fg-heading: var(--fg-dark-elevated-heading); --fg-muted: var(--fg-dark-elevated-muted); --fg-link: var(--fg-dark-elevated-link); --fg-inverse: var(--fg-dark-elevated-inverse); }
}
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
html:has(:focus-visible) :is(details.site-menu, details.site-nav-group)[open]:not(:focus-within) > ul { visibility: hidden; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

:root {
  --gold: var(--brand-light-accent);
  --gold-deep: var(--brand-light-accent-hover);
  --on-gold: var(--brand-light-on-accent);
  --rule: var(--border-light-default);
  --rule-soft: var(--border-light-subtle);
  --ground: var(--bg-light-base);
  --panel: var(--bg-light-elevated);
  --display: 'Playfair Display SC', Georgia, serif;
  --text: 'Tienne', Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --gold: var(--brand-dark-accent);
    --gold-deep: var(--brand-dark-accent-hover);
    --on-gold: var(--brand-dark-on-accent);
    --rule: var(--border-dark-default);
    --rule-soft: var(--border-dark-subtle);
    --ground: var(--bg-dark-base);
    --panel: var(--bg-dark-elevated);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-kerning: normal;
}
.text-role-link:hover { color: var(--gold-deep); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Header: phone top bar, desktop left rail */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--rule);
}
.brand { display: block; flex: 0 1 auto; min-width: 0; line-height: 0; }
.brand .site-logo { display: block; height: 36px; width: auto; }
.site-nav { display: none; }
.menu-host { flex: 0 0 auto; }
.site-menu > summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--rule);
  font-family: var(--display);
  font-size: 0.85rem;
  line-height: 1;
  white-space: nowrap;
}
.menu-icon {
  display: block;
  width: 16px;
  height: 11px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
}
.site-menu[open] > summary .menu-icon { border-color: transparent; background-size: 70% 1.5px; }
.site-menu[open] > ul {
  position: fixed;
  inset: 3.3rem 0 auto 0;
  margin: 0;
  padding: 0.5rem 1.25rem 1.5rem;
  list-style: none;
  background: var(--panel);
  border-bottom: 1px solid var(--rule);
}
.site-menu ul li a {
  display: block;
  padding: 0.75rem 0;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--display);
  font-size: 1.3rem;
  text-decoration: none;
}

@media (min-width: 1024px) {
  .salon { display: grid; grid-template-columns: 15rem minmax(0, 1fr); align-items: start; }
  .site-header {
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 3rem;
    padding: 2.75rem 1.75rem;
    border-bottom: 0;
    border-right: 1px solid var(--rule);
  }
  .brand .site-logo { width: 100%; max-width: 11.5rem; height: auto; }
  .menu-host { display: none; }
  .site-nav { display: block; }
  .site-nav ul { margin: 0; padding: 0; list-style: none; }
  .site-nav li { border-top: 1px solid var(--rule-soft); }
  .site-nav li:last-child { border-bottom: 1px solid var(--rule-soft); }
  .site-nav a {
    display: block;
    padding: 0.8rem 0;
    font-family: var(--display);
    font-size: 1.12rem;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
  }
}

/* Page leaf */
.leaf { min-width: 0; }
.breadcrumbs { padding: 1.25rem 1rem 0; font-size: 0.9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--rule); }
main { display: block; padding: 2rem 1rem 4rem; }
@media (min-width: 1024px) {
  .breadcrumbs { padding: 2.25rem clamp(2rem, 5vw, 5rem) 0; }
  main { padding: 2.5rem clamp(2rem, 5vw, 5rem) 6rem; }
}

/* Shared reading type */
h1 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.04; letter-spacing: -0.005em; }
h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin: 2em 0 0.6em; }
h3 { font-size: 1.3rem; margin: 2em 0 0.4em; }
main p, main li { max-width: 66ch; }
main p { margin: 0 0 1.25em; }
main ul, main ol { padding-left: 1.4rem; margin: 0 0 1.5em; }
main li { margin-bottom: 0.45em; }
main a.text-role-link { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.table-scroll { overflow-x: auto; margin: 2rem 0; }
.table-scroll table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.table-scroll th, .table-scroll td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--rule-soft); }
.accent-block {
  margin: 2.75rem 0;
  padding: 1.6rem 1.9rem;
  border: 1px solid var(--rule);
  outline: 1px solid var(--rule-soft);
  outline-offset: -7px;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
}
.accent-block p:last-child { margin-bottom: 0; }
.photo-hero, .photo-inline { margin: 0 0 2.25rem; padding: 0.5rem; border: 1px solid var(--rule); }
.photo-inline { margin-top: 2.25rem; }
.photo-hero img, .photo-inline img { display: block; width: 100%; }
section[data-section][style] { margin: 2.75rem 0; padding: clamp(3rem, 9vw, 6.5rem) clamp(1rem, 4vw, 3rem); background-size: cover; background-position: center; }
section[data-section][style] > .bg-surface-card { max-width: 40rem; padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--rule); }

/* Home: magazine cover spread */
.spread { display: grid; gap: 2rem; }
.cover-frame {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2rem;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem);
  border: 1px solid var(--rule);
  outline: 1px solid var(--rule-soft);
  outline-offset: -12px;
}
.cover-title h1 { font-size: clamp(2.4rem, 9vw, 4rem); line-height: 1; overflow-wrap: normal; }
.cover-lines .display-line {
  margin: 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.45;
  max-width: 30ch;
}
.cover-lines .display-line + .display-line { margin-top: 1rem; }
.feature { padding: clamp(1.5rem, 4vw, 3.25rem); border-top: 1px solid var(--rule); }
.feature-copy > :first-child { margin-top: 0; }
@media (min-width: 1200px) {
  .spread { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: start; }
  .cover-title h1 { font-size: clamp(2.6rem, 3.7vw, 4.25rem); }
  .cover { position: sticky; top: 2.5rem; padding-right: 2.5rem; }
  .cover-frame { min-height: calc(100vh - 9rem); }
  .feature { border-top: 0; border-left: 1px solid var(--rule); }
}

/* Topic hub: table of contents */
.contents { max-width: 76rem; }
.contents-head h1 { font-size: clamp(2.2rem, 5.5vw, 4.25rem); max-width: 18ch; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); margin-bottom: 2.25rem; }
.contents-cols { display: grid; gap: 2.5rem; }
.contents-copy > :first-child { margin-top: 0; }
.departments { padding: 1.75rem 1.5rem; border: 1px solid var(--rule); align-self: start; }
.departments ul { margin: 0; padding: 0; list-style: none; counter-reset: dept; }
.departments li {
  counter-increment: dept;
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  align-items: baseline;
  padding: 1rem 0;
  border-top: 1px solid var(--rule-soft);
  margin: 0;
}
.departments li:first-child { border-top: 0; padding-top: 0; }
.departments li::before { content: counter(dept, upper-roman); font-family: var(--display); font-size: 1rem; color: var(--gold); }
.departments a { font-family: var(--display); font-size: 1.15rem; line-height: 1.35; text-decoration: none; }
@media (min-width: 1024px) {
  .contents-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
  .departments { position: sticky; top: 2.5rem; }
}

/* Article: feature story */
.story { max-width: 48rem; }
.story-head h1 { font-size: clamp(2.1rem, 5vw, 3.75rem); padding-bottom: 1.75rem; margin-bottom: 2rem; border-bottom: 1px solid var(--rule); }
.story-copy > p:first-of-type { font-size: 1.28rem; line-height: 1.6; max-width: 40ch; }
.story-copy > :first-child { margin-top: 0; }

/* About: masthead letter */
.masthead { max-width: 46rem; }
.masthead-head h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); margin-bottom: 2.25rem; }
.letter > p:first-of-type::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 4.4em;
  line-height: 0.82;
  padding: 0.08em 0.12em 0 0;
  color: var(--gold);
}
.letter > :first-child { margin-top: 0; }
.colophon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 3.5rem;
  padding: 1.5rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.colophon-mark .site-logo { display: block; width: 10rem; height: auto; }
.colophon-name { margin: 0; font-family: var(--display); font-style: italic; }

/* Contact: engraved invitation */
.invite-card {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 3.5rem);
  border: 5px double var(--rule);
}
.invite-head h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); text-align: center; margin-bottom: 1.75rem; }
.invite-copy > :first-child { margin-top: 0; }
.invite-copy h2 { font-size: 1.35rem; margin-top: 2em; }
.invite-form { display: grid; gap: 1.25rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.field label { display: block; margin-bottom: 0.35rem; font-family: var(--display); font-size: 1rem; }
.field input {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  font: inherit;
  color: inherit;
  background: var(--ground);
  border: 1px solid var(--rule);
  border-radius: 0;
}
.invite-send {
  justify-self: center;
  min-height: 48px;
  padding: 0.8rem 2.4rem;
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--on-gold);
  background: var(--gold);
  border: 0;
  cursor: pointer;
}
.invite-send:hover { background: var(--gold-deep); }
@media (min-width: 640px) {
  .invite-form { grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
  .invite-send { grid-column: 1 / -1; }
}

/* Thank you: calling card */
.calling-card {
  max-width: 32rem;
  margin: 2rem auto;
  padding: clamp(1.75rem, 5vw, 3rem);
  text-align: center;
  border: 1px solid var(--rule);
  outline: 1px solid var(--rule-soft);
  outline-offset: -9px;
}
.calling-head h1 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 1.25rem; }
.calling-copy h2 { font-size: 1.25rem; margin-top: 1.75em; }
.calling-copy p { margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 2rem 1rem 2.5rem;
  border-top: 1px solid var(--rule);
}
.site-footer p { margin: 0; }
.footer-name { font-family: var(--display); font-size: 1.15rem; }
@media (min-width: 1024px) { .site-footer { padding: 2.25rem clamp(2rem, 5vw, 5rem) 3rem; } }
