/* ============================================================
   The New World — shared styles
   ============================================================ */

:root {
  --ink: #10202a;
  --ink-soft: #1a2f3c;
  --parchment: #f1ead8;
  --parchment-warm: #ebe2cc;
  --cream: #faf6ec;
  --terracotta: #b27556;
  --terracotta-deep: #8f5a40;
  --rose-dust: #b88a82;
  --line: rgba(241, 234, 216, 0.18);
  --shadow: 0 30px 80px -30px rgba(16, 32, 42, 0.4);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a {
  color: inherit;
  text-decoration: none;
}

img { display: block; max-width: 100%; }

/* ============================================================
   Wave SVG pattern (used in dark sections + accent panels)
   ============================================================ */
.wave-bg {
  position: relative;
  isolation: isolate;
}
.wave-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='160' viewBox='0 0 240 160'><g fill='none' stroke='%23f1ead8' stroke-opacity='0.13' stroke-width='1'><path d='M-20 20 Q40 -10 100 20 T220 20 T340 20'/><path d='M-20 50 Q40 20 100 50 T220 50 T340 50'/><path d='M-20 80 Q40 50 100 80 T220 80 T340 80'/><path d='M-20 110 Q40 80 100 110 T220 110 T340 110'/><path d='M-20 140 Q40 110 100 140 T220 140 T340 140'/></g></svg>");
  background-size: 240px 160px;
  z-index: -1;
  pointer-events: none;
}
.wave-bg.on-cream::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='160' viewBox='0 0 240 160'><g fill='none' stroke='%2310202a' stroke-opacity='0.07' stroke-width='1'><path d='M-20 20 Q40 -10 100 20 T220 20 T340 20'/><path d='M-20 50 Q40 20 100 50 T220 50 T340 50'/><path d='M-20 80 Q40 50 100 80 T220 80 T340 80'/><path d='M-20 110 Q40 80 100 110 T220 110 T340 110'/><path d='M-20 140 Q40 110 100 140 T220 140 T340 140'/></g></svg>");
}

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 28px 56px;
  transition: background 0.5s ease, padding 0.4s ease, color 0.4s ease;
}

body.about-page .site-header {
  position: absolute;
  color: #fff;
}

body.about-page .site-header a,
body.about-page .site-header .nav-toggle,
body.about-page .site-header .menu a,
body.about-page .site-header .brand {
  color: #fff;
}

.site-header.is-scrolled {
  background: rgba(16, 32, 42, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 18px 56px;
  color: var(--parchment);
}

.site-header.theme-dark { color: var(--parchment); }
.site-header.theme-light { color: var(--ink); }
.site-header.is-hidden,
.site-header.is-hidden-by-floorplans,
.site-header.is-hidden-by-community {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.7, 0, 0.2, 1);
}

.nav-toggle {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 32px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.2px;
  background: currentColor;
  transition: transform 0.4s ease, opacity 0.3s ease, width 0.3s ease;
}
.nav-toggle:hover span:nth-child(1) { width: 70%; }
.nav-toggle:hover span:nth-child(3) { width: 85%; }

.site-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: inherit;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.site-logo:hover { transform: scale(1.04); }
.site-logo svg { display: block; }
.site-logo .wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.9;
}

.register-link {
  justify-self: end;
  font-size: 14px;
  letter-spacing: 0.04em;
  position: relative;
  padding: 4px 0;
}
.register-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1);
}
.register-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============================================================
   Full-screen menu overlay
   ============================================================ */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--parchment);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.menu-overlay nav {
  text-align: center;
}
.menu-overlay nav ul,
.menu-overlay nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-overlay a {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  line-height: 1.4;
  font-weight: 300;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease, color 0.3s ease;
}
.menu-overlay.is-open a,
.menu-overlay.is-open li > a {
  opacity: 1;
  transform: translateY(0);
}
.menu-overlay.is-open a:nth-child(1),
.menu-overlay.is-open li:nth-child(1) > a { transition-delay: 0.15s; }
.menu-overlay.is-open a:nth-child(2),
.menu-overlay.is-open li:nth-child(2) > a { transition-delay: 0.25s; }
.menu-overlay.is-open a:nth-child(3),
.menu-overlay.is-open li:nth-child(3) > a { transition-delay: 0.35s; }
.menu-overlay.is-open a:nth-child(4),
.menu-overlay.is-open li:nth-child(4) > a { transition-delay: 0.45s; }
.menu-overlay a:hover { color: var(--terracotta); font-style: italic; }
.menu-overlay a.is-current,
.menu-overlay a.current-menu-item,
.menu-overlay li.current-menu-item > a { color: var(--terracotta); }

.menu-tagline {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

.reveal-image {
  overflow: hidden;
  position: relative;
}
.reveal-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform-origin: right;
  transition: transform 1.4s cubic-bezier(0.77, 0, 0.18, 1);
}
.reveal-image.on-dark::after { background: var(--ink); }
.reveal-image.on-rose::after { background: var(--rose-dust); }
.reveal-image.is-in::after {
  transform: scaleX(0);
}
.reveal-image img,
.reveal-image .placeholder-img {
  transition: transform 8s ease-out;
}
.reveal-image.is-in img,
.reveal-image.is-in .placeholder-img {
  transform: scale(1.06);
}

/* ============================================================
   Placeholder imagery
   ============================================================ */
.placeholder-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a3f4d 0%, #1a2f3c 50%, #243845 100%);
  color: rgba(241, 234, 216, 0.5);
  overflow: hidden;
}
.placeholder-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(241,234,216,0.04) 0 2px, transparent 2px 14px);
}
.placeholder-img .ph-label {
  position: relative;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid currentColor;
  border-radius: 2px;
}
.placeholder-img.warm {
  background: linear-gradient(135deg, #c9a08b 0%, #b27556 50%, #9d6242 100%);
  color: rgba(250, 246, 236, 0.7);
}
.placeholder-img.cream {
  background: linear-gradient(135deg, #ddd2b8 0%, #c9bd9f 50%, #ddd2b8 100%);
  color: rgba(16, 32, 42, 0.4);
}
.placeholder-img.dusk {
  background: linear-gradient(180deg, #5a6a76 0%, #2c3f4d 60%, #1a2730 100%);
  color: rgba(241, 234, 216, 0.55);
}
.placeholder-img.green {
  background: linear-gradient(135deg, #4a5e44 0%, #2e3f2a 50%, #1f2d1b 100%);
  color: rgba(241, 234, 216, 0.55);
}
.placeholder-img.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.placeholder-img.has-image::before,
.placeholder-img.has-image .ph-label { display: none; }

/* ============================================================
   Buttons / links
   ============================================================ */
.btn-line {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}
.btn-line::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1);
}
.btn-line:hover::after {
  transform: scaleX(0);
  transform-origin: right;
}
.btn-line .arrow {
  display: inline-block;
  margin-left: 12px;
  transition: transform 0.4s ease;
}
.btn-line:hover .arrow { transform: translateX(8px); }

.btn-solid {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 18px 38px;
  background: var(--ink);
  color: var(--parchment);
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.4s ease, color 0.4s ease, letter-spacing 0.4s ease;
}
.btn-solid:hover {
  background: transparent;
  color: var(--ink);
  letter-spacing: 0.22em;
}
.btn-solid.on-dark {
  background: var(--parchment);
  color: var(--ink);
  border-color: var(--parchment);
}
.btn-solid.on-dark:hover {
  background: transparent;
  color: var(--parchment);
}

/* Eyebrow */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 28px;
  display: inline-block;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--parchment);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg .placeholder-img {
  width: 100%;
  height: 100%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(16, 32, 42, 0.5) 0%,
    rgba(16, 32, 42, 0.3) 35%,
    rgba(16, 32, 42, 0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 40px;
}
.hero-title {
  font-size: clamp(72px, 9vw, 168px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  will-change: letter-spacing;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.hero-title .italic { font-style: italic; font-weight: 300; }
.hero-tagline {
  font-size: 13px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 24px;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.7;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-scroll .line {
  width: 1px;
  height: 60px;
  background: currentColor;
  animation: scrollLine 2.4s ease-in-out infinite;
  transform-origin: top;
}

.hero-jump {
  position: absolute;
  bottom: 40px;
  left: 56px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.hero-jump a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--parchment);
  opacity: 0.85;
  padding: 4px 0;
  position: relative;
  transition: opacity 0.3s ease, color 0.3s ease;
  width: max-content;
}
.hero-jump a::after {
  content: '';
  position: absolute;
  left: 0; right: 32px; bottom: -2px;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.3s ease;
}
.hero-jump a:hover {
  color: var(--terracotta);
  opacity: 1;
}
.hero-jump a:hover::after {
  opacity: 1;
  transform: scaleX(1.04);
}
.hero-jump .arrow {
  display: inline-block;
  transition: transform 0.4s ease;
}
.hero-jump a:hover .arrow { transform: translateX(8px); }
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/* ============================================================
   Split sections
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  position: relative;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split .visual {
  position: relative;
  min-height: 100%;
}
.split .visual .placeholder-img {
  position: absolute;
  inset: 0;
}

.split .copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 96px;
  gap: 32px;
}
.split .copy h2 {
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.05;
  margin-bottom: 8px;
}
.split .copy p {
  font-size: 16px;
  max-width: 480px;
  opacity: 0.85;
}

.split.on-dark {
  background: var(--ink);
  color: var(--parchment);
}
.split.on-rose {
  background: var(--rose-dust);
  color: var(--cream);
}

/* ============================================================
   Editorial / intro sections
   ============================================================ */
.section {
  padding: 140px 96px;
  position: relative;
}
.section.tight { padding: 100px 96px; }

.intro {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.intro h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  margin-bottom: 32px;
}
.intro p {
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto;
  opacity: 0.8;
}

/* Section divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 auto 40px;
  max-width: 200px;
}
.divider .line {
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.3;
}
.divider .dot {
  width: 6px;
  height: 6px;
  background: var(--terracotta);
  transform: rotate(45deg);
}

/* ============================================================
   Collection grid
   ============================================================ */
.collection {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 0 4px 4px;
}
.collection-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}
.collection-card .placeholder-img {
  position: absolute;
  inset: 0;
  transition: transform 1.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.collection-card:hover .placeholder-img { transform: scale(1.06); }
.collection-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(16, 32, 42, 0.7));
  pointer-events: none;
}
.collection-card .label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px 36px;
  z-index: 2;
  color: var(--parchment);
}
.collection-card .label h3 {
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 4px;
}
.collection-card .label .meta {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ============================================================
   Stats / values strip
   ============================================================ */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.value-item {
  padding: 64px 40px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.value-item:last-child { border-right: none; }
.value-item .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 300;
  font-style: italic;
  color: var(--terracotta);
  margin-bottom: 16px;
  line-height: 1;
}
.value-item .label {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--parchment);
  padding: 120px 96px 56px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 80px;
  position: relative;
  z-index: 1;
}
.footer-grid h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 24px;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { opacity: 0.85; transition: opacity 0.3s, color 0.3s; }
.footer-grid a:hover { opacity: 1; color: var(--terracotta); }
.footer-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  line-height: 1;
  margin-bottom: 16px;
  font-weight: 300;
}
.footer-wordmark .italic { font-style: italic; }
.footer-tagline {
  font-size: 13px;
  opacity: 0.7;
  max-width: 280px;
  letter-spacing: 0.04em;
}
.footer-legal {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* ============================================================
   About page specifics
   ============================================================ */
.about-hero {
  min-height: 80vh;
  padding: 200px 96px 120px;
  background: var(--cream);
  color: var(--ink);
}
.about-hero .eyebrow { color: var(--terracotta); opacity: 1; }
.about-hero h1 {
  font-size: clamp(60px, 7vw, 128px);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 40px;
  max-width: 1100px;
}
.about-hero h1 .italic { font-style: italic; }
.about-hero .lede {
  font-size: 20px;
  max-width: 580px;
  line-height: 1.55;
  opacity: 0.8;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  padding: 120px 96px;
  align-items: center;
}
.story-grid .img-tall {
  aspect-ratio: 3/4;
  position: relative;
}
.story-grid .img-tall .placeholder-img {
  position: absolute;
  inset: 0;
}
.story-grid .text h2 {
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 24px;
}
.story-grid .text p {
  margin-bottom: 20px;
  font-size: 16px;
  opacity: 0.85;
  max-width: 520px;
}

.principles {
  padding: 140px 96px;
  background: var(--ink);
  color: var(--parchment);
  position: relative;
}
.principles-header {
  max-width: 920px;
  margin: 0 auto 80px;
  text-align: center;
}
.principles-header h2 {
  font-size: clamp(40px, 5vw, 72px);
  margin-bottom: 24px;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}
.principle {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.principle .num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--terracotta);
  display: block;
  margin-bottom: 24px;
}
.principle h3 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 18px;
}
.principle p {
  font-size: 15px;
  opacity: 0.78;
  line-height: 1.65;
}

.team {
  padding: 140px 96px;
  background: var(--parchment);
}
.team-header {
  margin-bottom: 80px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
}
.team-header h2 {
  font-size: clamp(40px, 5vw, 72px);
}
.team-header p {
  max-width: 380px;
  opacity: 0.8;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.team-card .photo {
  aspect-ratio: 3/4;
  position: relative;
  margin-bottom: 24px;
  overflow: hidden;
}
.team-card .photo .placeholder-img {
  position: absolute;
  inset: 0;
  transition: transform 1.4s ease;
}
.team-card:hover .photo .placeholder-img { transform: scale(1.04); }
.team-card .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  margin-bottom: 4px;
}
.team-card .role {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-page {
  background: var(--ink);
  color: var(--parchment);
  min-height: 100vh;
}
.contact-hero {
  padding: 200px 96px 80px;
  position: relative;
}
.contact-hero .eyebrow { color: var(--terracotta); opacity: 1; }
.contact-hero h1 {
  font-size: clamp(56px, 6.5vw, 112px);
  font-weight: 300;
  max-width: 1100px;
  line-height: 1.02;
}
.contact-hero h1 .italic { font-style: italic; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 100px;
  padding: 0 96px 140px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}
.field { position: relative; grid-column: span 1; }
.field.full { grid-column: span 2; }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(241, 234, 216, 0.3);
  color: var(--parchment);
  padding: 24px 0 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.4s ease;
  appearance: none;
  border-radius: 0;
}
.field textarea { resize: none; min-height: 120px; padding-top: 28px; }
.field select { cursor: pointer; }
.field select option { background: var(--ink); color: var(--parchment); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--terracotta);
}
.field label {
  position: absolute;
  top: 24px;
  left: 0;
  font-size: 15px;
  font-weight: 300;
  opacity: 0.7;
  pointer-events: none;
  transition: transform 0.3s ease, font-size 0.3s ease, opacity 0.3s ease, color 0.3s ease;
  transform-origin: left;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field select:focus + label,
.field select.has-value + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-20px) scale(0.72);
  opacity: 1;
  color: var(--terracotta);
  letter-spacing: 0.06em;
}
.field .arrow-down {
  position: absolute;
  right: 0;
  top: 32px;
  pointer-events: none;
  opacity: 0.6;
}
.submit-row {
  grid-column: span 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}
.submit-row .fine-print {
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0.55;
  max-width: 360px;
  line-height: 1.6;
}

.contact-info {
  padding-top: 24px;
}
.contact-info h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 16px;
  font-weight: 500;
}
.contact-info p {
  font-size: 17px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.contact-info a:hover { color: var(--terracotta); }

.success-state {
  grid-column: span 2;
  padding: 60px 0;
  text-align: center;
  display: none;
}
.success-state.is-visible { display: block; }
.success-state h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 300;
  margin-bottom: 16px;
}
.success-state h3 .italic { font-style: italic; }
.success-state p { opacity: 0.7; }

/* ============================================================
   Page transition
   ============================================================ */
.page-curtain {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 1000;
  pointer-events: none;
  transform: translateY(-100%);
}
.page-curtain.entering {
  animation: curtainIn 0.9s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}
.page-curtain.leaving {
  animation: curtainOut 1s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}
@keyframes curtainIn {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}
@keyframes curtainOut {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

/* ============================================================
   Inspirations page
   ============================================================ */
.inspirations-group {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 40px;
}
.inspirations-group:last-of-type { margin-bottom: 40px; }

.inspirations-category {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.inspirations-category .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0.5;
}

.inspirations-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 48px;
}
@media (max-width: 760px) {
  .inspirations-list { grid-template-columns: 1fr; gap: 28px; }
  .inspirations-group { padding: 0 24px; }
  .inspirations-category { font-size: 26px; }
}

.inspiration {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.inspiration-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  padding-bottom: 6px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.inspiration-link:hover {
  border-color: currentColor;
}
.inspiration-link:hover .inspiration-host {
  opacity: 1;
  transform: translateX(2px);
}
.inspiration-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 22px;
  font-style: italic;
}
.inspiration-host {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0.55;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
.inspiration-note {
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.78;
  margin: 0;
}
