/* Studio Saint-Revel homepage draft v2.0 — designed at 1440, fluid below.
   Fonts: Playfair Display 430 and Jost, both SIL Open Font License 1.1.
   Ground is pure white #FFFFFF. */

@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/Jost-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: "Playfair Display", "Times New Roman", Times, serif;
  --font-ui: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ink: #2B2420;
  --muted: #7A706A;
  --rule: #EDE9E4;
  --rule-2: #DCD6CE; /* former espresso hairlines, lightened */
  --hair: #E6E1DA;  /* header hairline */
  --wash: #FBFAF8;  /* near-white section wash */
  --bg: #FFFFFF;
  --inset: 100px;
  /* Shared editorial rhythm (matches the journal). */
  --space-section: 88px;     /* gap after a major section */
  --space-section-sm: 56px;  /* tighter trailing gap after padded bands */
  --space-band: 40px;        /* vertical padding inside washed/ruled bands */
  --space-head: 24px;        /* heading to intro or grid */
  --space-intro: 20px;       /* intro copy to grid */
  --space-caption: 12px;     /* space under images and captions */
  --space-signup: 28px;      /* signup band vertical padding */
}

@media (max-width: 900px) {
  :root {
    --space-section: 56px;
    --space-section-sm: 40px;
    --space-band: 32px;
    --space-head: 18px;
    --space-intro: 16px;
    --space-caption: 10px;
    --space-signup: 24px;
  }
}

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

html, body { background: var(--bg); color: var(--ink); }
body {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }


/* Header: stacked typographic mark, geometrically centered on the
   1440 page, with the navigation centered beneath it on the white ground. */
.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px var(--inset) 32px;
}

.mark {
  text-align: center;
  font-weight: 430;
  color: var(--ink);
  line-height: 1;
}

.mark a {
  color: inherit;
  text-decoration: none;
  display: block;
}
.mark a:hover,
.mark a:focus-visible {
  color: inherit;
  text-decoration: none;
}
.mark__studio,
.mark__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 430;
  text-transform: uppercase;
}
.mark__studio {
  font-size: 11px;
  letter-spacing: 0.42em;
  padding-left: 0.42em; /* optical center for tracked caps */
}
.mark__name {
  font-size: 20px; /* modest cap height, within the 18–24px brief */
  letter-spacing: 0.18em;
  padding-left: 0.18em;
  margin-top: 7px;
}

.nav-h {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: 22px;
  margin-top: 26px;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
}
.nav-h a {
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.nav-h a:hover,
.nav-h a:focus-visible { border-bottom-color: currentColor; }
.nav-h .inquire {
  letter-spacing: 0.18em;
}

/* Framed hero — generous white margin all round */
.hero {
  position: relative;
  margin: 8px var(--inset) var(--inset);
  background: var(--bg);
}
.hero img {
  width: 100%;
  height: auto;
}
.ph-tag {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 3;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(43, 36, 32, 0.8);
  background: rgba(255, 255, 255, 0.88);
  padding: 4px 8px;
}

/* Option B: numbered contents, after the strategy document TOC —
   italic serif number, sans title, hairline rules — laid out
   horizontally and centered beneath the wordmark, on the white ground. */
.toc {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 32px;
  margin-top: 26px;
  color: var(--ink);
}
.toc a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 0 7px;
  border-bottom: 0.5px solid rgba(43, 36, 32, 0.28);
  color: var(--ink);
  white-space: nowrap;
}
.toc .num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 430;
  font-size: 17px;
  color: var(--ink);
}
.toc .ttl {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.toc a.inquire {
  border-bottom-color: rgba(43, 36, 32, 0.55);
}
.toc a.inquire .ttl { letter-spacing: 0.04em; }
.toc a:hover .ttl,
.toc a:focus-visible .ttl { text-decoration: underline; text-underline-offset: 3px; }

.statement {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 430;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 var(--inset) var(--space-section-sm);
}

footer {
  margin: 0 var(--inset);
  padding: 20px 0 32px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* Footer: vertical nav, copyright, reserved second nav area */
.nav-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0 16px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-foot a { color: var(--ink); text-decoration: none; }
.foot-cols { display: flex; gap: 96px; align-items: flex-start; }
.nav-lang { align-items: flex-start; }
.nav-legal { margin-left: auto; align-items: flex-end; text-align: right; }
.nav-legal a { color: var(--muted); }
.nav-lang a { color: var(--muted); }
.nav-lang a.on { color: var(--ink); }
.nav-foot-2 { min-height: 120px; }
.photo-credit { margin-top: 6px; font-size: 9px; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }
.photo-credit a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }


/* Footer sign-up (mockup only — no backend).
   A generous editorial band at the top of the footer. */
.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;
}

footer {
  padding-top: 0;
  border-top: 0;
}

.signup {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px 48px;
  align-items: center;
  margin: 0 calc(-1 * var(--inset)) 20px;
  padding: var(--space-signup) var(--inset);
  background: var(--wash);
  border-top: 1px solid var(--rule);
  color: var(--ink);
}

.signup__copy { min-width: 0; }

.signup__heading {
  font-family: var(--font-display);
  font-weight: 430;
  font-size: 42px;
  letter-spacing: 0.01em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 14px;
}

.signup__sub {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.01em;
  line-height: 1.5;
  color: #3F3935;
  margin: 0;
}

.signup__fields { min-width: 0; }

.signup__row {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 520px;
}

.signup input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 56px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-right: 0;
  border-radius: 0;
  background: #FFFFFF;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--ink);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.signup input[type="email"]::placeholder {
  color: #6B645E;
  opacity: 1;
}

.signup input[type="email"]:hover {
  border-color: #1A1614;
}

.signup input[type="email"]:focus,
.signup input[type="email"]:focus-visible {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
  z-index: 1;
}

.signup button {
  flex: 0 0 auto;
  height: 56px;
  margin: 0;
  padding: 0 32px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1;
  color: #F6F1EB;
  cursor: pointer;
}

.signup button:hover,
.signup button:focus-visible {
  background: #1A1614;
  border-color: #1A1614;
  color: #FFFFFF;
}

.signup button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.signup__note {
  margin: 16px 0 0;
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: #4A433E;
}

.signup__thanks {
  display: none;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 430;
  font-size: 28px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--ink);
}

.signup.is-done .signup__row,
.signup.is-done .signup__note {
  display: none;
}

.signup.is-done .signup__thanks {
  display: block;
}
