/* Nostra — trynostra.com static rebuild (2026-10-15, design pass 2)
   Matches the live Squarespace aesthetic: white serif on dark marble,
   bronze/gold reserved for diamond bullets, the NOSTRA hero letters, and the N logo.
   No external requests. No frameworks. */

:root {
  --bg: #0a0a0b;
  --white: #ffffff;
  --off-white: #f2f0eb;
  --muted: #b9b5ac;
  --gold: #c9a35c;
  --line: rgba(255, 255, 255, 0.14);
  --input-line: rgba(255, 255, 255, 0.35);
  --serif: 'Playfair Display', Didot, 'Bodoni MT', Georgia, 'Times New Roman', serif;
  --sans: 'Archivo', 'Helvetica Neue', Helvetica, Arial, 'Segoe UI', sans-serif;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/playfair-display-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo';
  src: url('../assets/fonts/archivo-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--off-white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Subtle dark marble backdrop */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('../assets/marble-bg.jpeg');
  background-repeat: repeat;
  background-size: 800px;
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
}

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap.narrow { max-width: 720px; }
.wrap.wide { max-width: 1280px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
}

.brand span {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  color: var(--white);
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 28px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active { color: var(--white); }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.22;
  color: var(--white);
  margin: 0 0 18px;
}

h1 { font-size: clamp(34px, 5.2vw, 54px); }
h2 { font-size: clamp(28px, 4vw, 44px); }

.center { text-align: center; }

.subhead {
  color: var(--off-white);
  font-size: 19px;
  margin: 0 0 36px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 18px;
}

.lede {
  color: var(--muted);
  font-size: 18px;
  max-width: 640px;
  margin: 0 0 24px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 92vh;
  min-height: 480px;
  max-height: 900px;
  overflow: hidden;
  background: #000;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }

/* ---------- Steps ---------- */
.steps-head { margin-bottom: 48px; }
.steps-head .subhead { margin-bottom: 0; }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.steps-grid ul.diamonds {
  max-width: 400px;
  margin: 0 auto;
}

.steps-media video {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  display: block;
  background: #000;
}

/* ---------- Partnership ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.partner-media img {
  width: 100%;
  display: block;
}

/* ---------- Diamond bullet lists ---------- */
ul.diamonds {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.diamonds li {
  position: relative;
  padding-left: 52px;
  margin-bottom: 22px;
}

ul.diamonds li:last-child { margin-bottom: 0; }

ul.diamonds li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 28px;
  height: 28px;
  background-image: url('../assets/bronze-diamond.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

ul.diamonds li strong {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 25px;
  color: var(--white);
  margin-bottom: 0;
}

ul.diamonds li p,
ul.diamonds li span {
  margin: 0;
  color: var(--off-white);
  font-size: 17px;
}

/* Inline variant: "Label: rest of sentence" on one flow (requirements) */
ul.diamonds.inline {
  max-width: none;
  margin: 0 auto;
}

ul.diamonds.inline li strong {
  display: inline;
  font-size: 22px;
  margin: 0;
}

ul.diamonds.inline li { font-size: 17px; white-space: normal; }

/* ---------- CTA ---------- */
.cta .subhead { margin-bottom: 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--white);
  color: #111111;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  padding: 15px 42px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.18);
}

/* ---------- Contact form ---------- */
.nostra-form {
  margin: 0 auto;
  max-width: 640px;
  text-align: left;
}

.nostra-form label {
  display: block;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--off-white);
  margin-bottom: 20px;
}

.nostra-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.nostra-form .form-row label { margin-bottom: 20px; }

.nostra-form input[type="text"],
.nostra-form input[type="email"] {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 22px;
  font-size: 16px;
  font-family: var(--sans);
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--input-line);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.15s ease;
}

.nostra-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 16px 22px;
  font-size: 16px;
  font-family: var(--sans);
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--input-line);
  border-radius: 24px;
  outline: none;
  min-height: 130px;
  resize: vertical;
  transition: border-color 0.15s ease;
}

.nostra-form input::placeholder,
.nostra-form textarea::placeholder { color: rgba(255, 255, 255, 0.35); }

.nostra-form input:focus,
.nostra-form textarea:focus { border-color: var(--white); }

.nostra-form .btn { width: auto; margin-top: 8px; }

.form-success {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 44px 32px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.form-success h2 { margin-bottom: 10px; }
.form-success p { color: var(--muted); }
.form-success a { color: var(--white); }

/* ---------- Divider ---------- */
.bronze-rule { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
}

.site-footer a { color: var(--off-white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.site-footer .foot-nav { margin-bottom: 12px; }
.site-footer .foot-nav a { margin: 0 14px; }

/* ---------- Responsive ---------- */
@media screen and (max-width: 900px) {
  .steps-grid,
  .partner-grid { grid-template-columns: 1fr; gap: 40px; }
  .partner-copy { order: -1; }
  .steps-media { margin-top: 60px; }
  .partner-media { margin-top: 60px; }
  .section { padding: 56px 0; }
}

@media screen and (max-width: 767px) {
  body { font-size: 16px; }
  .hero { height: auto; min-height: 0; aspect-ratio: 6 / 5; }
  .hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 83%; }
  .bronze-rule { display: block; width: 320px; height: 3px; margin: 4px auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
  .brand span { font-size: 17px; }
  .main-nav a { margin-left: 18px; font-size: 13px; }

  ul.diamonds li { padding-left: 38px; margin-bottom: 24px; }
  ul.diamonds li::before {
    width: 20px;
    height: 20px;
    top: 6px;
  }

  .nostra-form .form-row { grid-template-columns: 1fr; }
}
