/*
Theme Name: House of Nyxele Gutenberg
Theme URI: https://www.houseofnyxele.com/
Author: House of Nyxele
Author URI: https://www.houseofnyxele.com/
Description: The editable Gutenberg edition of the approved House of Nyxele digital sanctuary.
Version: 4.0.0
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nyxele
Tags: block-theme, block-patterns, custom-colors, custom-logo, editor-style, featured-images, full-site-editing, full-width-template, one-column, wide-blocks
*/

:root {
  --ink: #f5efe7;
  --blue: #171717;
  --blue-deep: #0b0b0b;
  --blue-night: #050505;
  --cream: #070707;
  --cream-deep: #0d0d0d;
  --paper: #111111;
  --gold: #c8a766;
  --gold-light: #e0c787;
  --sage: #829081;
  --rose: #d89b94;
  --muted: #c8c0b7;
  --white: #fffaf2;
  --border-dark: rgba(245, 238, 224, 0.16);
  --border-light: rgba(255, 250, 242, 0.16);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --max: 1240px;
  --narrow: 780px;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Baskerville", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* House of Nyxele v4 brand system and Full Site Editing layer. */
:root {
  --ink: #d8d5dc;
  --blue: #0a0a0a;
  --blue-deep: #0a0a0a;
  --blue-night: #0a0a0a;
  --cream: #0a0a0a;
  --cream-deep: #111111;
  --paper: #111111;
  --gold: #ffc300;
  --gold-light: #ffd84d;
  --sage: #78986a;
  --rose: #cc2326;
  --muted: #d8d5dc;
  --white: #fff9f7;
  --purple: #ac04e3;
  --deep-rose: #8b1e2d;
  --border-dark: rgba(216, 213, 220, 0.18);
  --border-light: rgba(255, 249, 247, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

a:hover,
a:focus {
  color: var(--gold);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  color: inherit;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.03;
}

h1 {
  font-size: clamp(4.4rem, 10.5vw, 9.8rem);
}

h2 {
  font-size: clamp(3rem, 5.6vw, 5.5rem);
}

h3 {
  font-size: clamp(2rem, 3.2vw, 3.1rem);
}

p {
  margin: 0 0 1.15rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

/* Essential block geometry is kept theme-local for stable rendering across
   WordPress versions and performance plugins that selectively dequeue styles. */
.wp-block-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wp-block-cover__background,
.wp-block-cover__image-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wp-block-cover__background {
  z-index: 1;
}

.wp-block-cover__image-background {
  z-index: 0;
  max-width: none;
  object-fit: cover;
}

.wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
  width: 100%;
  color: inherit;
}

.home-main > .alignfull,
.gutenberg-full-page > .alignfull {
  width: 100%;
  max-width: none;
}

.nyx-wrap {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

.nyx-narrow {
  width: min(calc(100% - 3rem), var(--narrow));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(10, 20, 28, 0.62), transparent);
}

body:not(.home) .site-header {
  position: sticky;
  top: 0;
  color: var(--ink);
  background: rgba(7, 7, 7, 0.94);
  border-color: var(--border-light);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
  align-items: center;
  gap: 1.5rem;
}

.site-branding,
.site-name-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.site-name-link {
  display: grid;
  gap: 0.05rem;
}

.custom-logo-link img {
  max-height: 58px;
  width: auto;
}

.site-title {
  font-family: var(--serif);
  font-size: 1.42rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-description {
  color: rgba(255, 253, 248, 0.68);
  font-size: 0.58rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

body:not(.home) .site-description {
  color: var(--muted);
}

.main-navigation {
  justify-self: center;
}

.main-navigation ul,
.footer-menu ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation a {
  color: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--gold-light);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.home-entry,
.button,
button,
input[type="submit"],
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: var(--gold);
  color: var(--blue-night);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  padding: 0.82rem 1.25rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-entry {
  border-color: rgba(255, 253, 248, 0.5);
  background: transparent;
  color: var(--white);
}

.home-entry:hover,
.button:hover,
button:hover,
input[type="submit"]:hover {
  color: var(--blue-night);
  background: var(--gold-light);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  min-width: 46px;
  padding: 0;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  position: absolute;
  left: 0;
}

.menu-toggle-lines::before { top: -6px; }
.menu-toggle-lines::after { top: 6px; }

.home-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background-color: var(--blue-deep);
  background-image: url("assets/images/house-of-nyxele-estate-pink-sky.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.wp-block-cover.home-hero {
  padding: 0;
}

.home-main > .wp-block-cover,
.home-main > .wp-block-group {
  margin-block-start: 0;
}

.home-hero > .wp-block-cover__background {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(9, 18, 25, 0.1) 8%, rgba(9, 18, 25, 0.22) 42%, rgba(9, 18, 25, 0.9) 100%),
    linear-gradient(90deg, rgba(9, 18, 25, 0.44), transparent 65%);
  opacity: 1;
}

.home-hero > .wp-block-cover__inner-container {
  z-index: 2;
  width: 100%;
  min-height: inherit;
  display: flex;
  align-items: flex-end;
}

.home-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 18, 25, 0.1) 8%, rgba(9, 18, 25, 0.22) 42%, rgba(9, 18, 25, 0.9) 100%),
    linear-gradient(90deg, rgba(9, 18, 25, 0.44), transparent 65%);
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(11rem, 25vh, 18rem) 0 clamp(3.5rem, 8vh, 6.5rem);
  text-align: center;
}

.hero-kicker,
.eyebrow,
.section-number,
.path-type,
.foundation-small {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.27em;
  text-transform: uppercase;
}

.hero-kicker {
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}

.home-hero h1 {
  margin: 0;
  color: var(--white);
  font-weight: 400;
  letter-spacing: -0.035em;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.38);
}

.hero-tagline {
  margin: 0.5rem 0 1.5rem;
  color: #eadfc9;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  font-style: italic;
}

.hero-intro {
  max-width: 650px;
  margin: 0 auto 2rem;
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.94rem;
}

.hero-intro p {
  margin-bottom: 0.25rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-link span {
  font-size: 1.1rem;
  transition: transform 180ms ease;
}

.hero-link:hover span {
  transform: translateY(4px);
}

.hero-actions-block {
  margin-top: 1.5rem;
}

.hero-text-button .wp-block-button__link {
  min-height: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--white);
  padding: 0;
}

.hero-text-button .wp-block-button__link:hover {
  background: transparent;
  color: var(--gold-light);
  transform: none;
}

.hero-text-button span {
  display: inline-block;
  margin-left: 0.7rem;
}

.section-cream,
.section-dark,
.section-blue {
  position: relative;
}

.section-cream {
  background: var(--cream);
}

.section-dark {
  color: var(--white);
  background: var(--blue-night);
}

.section-blue {
  color: var(--white);
  background: var(--blue-deep);
}

.centered-copy {
  text-align: center;
}

.welcome-note {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background:
    radial-gradient(circle at 50% 0, rgba(170, 135, 81, 0.12), transparent 28rem),
    var(--cream);
}

.ornament {
  display: block;
  margin-bottom: 1.8rem;
  color: var(--gold);
  font-size: 0.85rem;
}

.lead-copy {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  line-height: 1.35;
}

.welcome-note .lead-copy {
  margin-bottom: 1.3rem;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.18;
}

.welcome-note .nyx-narrow > p:last-child {
  max-width: 660px;
  margin-inline: auto;
  color: var(--muted);
}

.foundation-section {
  overflow: hidden;
  padding: clamp(6rem, 11vw, 10rem) 0;
}

.foundation-section::after {
  position: absolute;
  right: -15vw;
  top: -16vw;
  width: 42vw;
  aspect-ratio: 1;
  border: 1px solid rgba(210, 183, 125, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 5vw rgba(210, 183, 125, 0.025), 0 0 0 10vw rgba(210, 183, 125, 0.018);
  content: "";
}

.foundation-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: clamp(4rem, 9vw, 9rem);
}

.foundation-art {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(210, 183, 125, 0.4);
  padding: 2.5rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 45%),
    #182b38;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.28);
}

.foundation-art::before,
.foundation-art::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(210, 183, 125, 0.16);
  content: "";
}

.foundation-art::after {
  inset: 28px;
  border-color: rgba(210, 183, 125, 0.07);
}

.foundation-art-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.foundation-mark {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  margin-bottom: 3rem;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 3rem;
  font-style: italic;
}

.foundation-small {
  color: var(--gold-light);
}

.foundation-art strong {
  margin: 0.7rem 0 1.8rem;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.4vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.foundation-art .foundation-art-title {
  margin: 0.7rem 0 1.8rem;
  color: var(--white);
  font-size: clamp(3rem, 5.4vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.foundation-rule {
  width: 80px;
  height: 1px;
  margin-bottom: 1.5rem;
  background: var(--gold);
  border: 0;
}

.foundation-values {
  margin: 0;
  color: rgba(255, 253, 248, 0.7);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.foundation-art em {
  color: rgba(255, 253, 248, 0.7);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.section-number {
  color: var(--gold);
  margin-bottom: 2.3rem;
}

.eyebrow {
  color: var(--gold);
  margin-bottom: 1rem;
}

.foundation-copy h2 {
  font-size: clamp(3.1rem, 5.1vw, 5rem);
}

.foundation-copy > p:last-child {
  color: rgba(255, 253, 248, 0.66);
}

.story-section {
  padding: clamp(6rem, 12vw, 11rem) 0;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(350px, 0.85fr);
  gap: clamp(4rem, 11vw, 11rem);
}

.story-heading {
  position: sticky;
  top: 8rem;
  align-self: start;
}

.story-heading h2 {
  font-size: clamp(4rem, 7vw, 7rem);
}

.story-copy {
  padding-top: 5rem;
  color: var(--muted);
}

.story-copy .lead-copy,
.closing-line {
  color: var(--ink);
}

.closing-line {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
}

.founder-section {
  min-height: 850px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
}

.founder-image {
  min-height: 680px;
  background:
    linear-gradient(180deg, rgba(16, 28, 37, 0.05), rgba(16, 28, 37, 0.6)),
    url("assets/images/house-of-nyxele-estate-pink-sky.png") 28% center / cover no-repeat;
}

.founder-image-block {
  position: relative;
  min-height: 680px;
  margin: 0;
  overflow: hidden;
}

.founder-image-block::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 28, 37, 0.05), rgba(16, 28, 37, 0.6));
  content: "";
  pointer-events: none;
}

.founder-image-block img {
  width: 100%;
  height: 100%;
  min-height: 680px;
  display: block;
  object-fit: cover;
  object-position: 28% center;
}

.founder-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vw, 8rem);
  background:
    linear-gradient(135deg, rgba(170, 135, 81, 0.07), transparent 44%),
    var(--paper);
}

.founder-panel h2 {
  max-width: 650px;
}

.founder-panel > p:not(.eyebrow):not(.section-number):not(.lead-copy):not(.handwritten) {
  max-width: 650px;
  color: var(--muted);
}

.handwritten {
  margin: 1rem 0 1.7rem;
  color: var(--rose);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-style: italic;
}

.paths-section {
  overflow: hidden;
  padding: clamp(6rem, 11vw, 10rem) 0;
  background:
    radial-gradient(circle at 50% 0, rgba(210, 183, 125, 0.11), transparent 31rem),
    var(--blue-deep);
}

.paths-header {
  max-width: 760px;
  margin: 0 auto clamp(4rem, 7vw, 6rem);
}

.paths-header .section-number {
  margin-bottom: 2rem;
}

.paths-header h2 {
  color: var(--white);
}

.paths-header .lead-copy {
  color: rgba(255, 253, 248, 0.66);
  font-style: italic;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
}

.path-card {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  padding: clamp(2.2rem, 5vw, 4.5rem);
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  transition: background 250ms ease;
}

.path-card:hover {
  background: rgba(255, 255, 255, 0.035);
}

.path-number {
  margin-bottom: 4rem;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
}

.path-type {
  color: var(--gold-light);
  font-size: 0.61rem;
}

.path-card h3 {
  color: var(--white);
}

.path-card > p:not(.path-number):not(.path-type) {
  max-width: 500px;
  color: rgba(255, 253, 248, 0.65);
}

.path-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-dark);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.path-link span {
  color: var(--gold-light);
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.path-link:hover span {
  transform: translateX(5px);
}

.path-actions {
  width: 100%;
  margin-top: auto;
}

.path-button,
.path-button .wp-block-button__link {
  width: 100%;
}

.path-button .wp-block-button__link {
  min-height: auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 0;
  border: 0;
  border-top: 1px solid var(--border-dark);
  background: transparent;
  box-shadow: none;
  color: var(--white);
}

.path-button .wp-block-button__link:hover {
  background: transparent;
  color: var(--gold-light);
  transform: none;
}

.path-button span {
  color: var(--gold-light);
  font-size: 1.2rem;
}

.guest-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.guest-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(2.5rem, 6vw, 6rem);
  border: 1px solid var(--border-light);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.guest-card h2 {
  font-size: clamp(3rem, 5vw, 5rem);
}

.guest-card > div > p:last-child {
  color: var(--muted);
}

.guest-form label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

.guest-form input {
  min-width: 0;
  min-height: 56px;
  border: 1px solid var(--border-light);
  border-right: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: 0.8rem 1rem;
}

.guest-form button {
  min-height: 56px;
}

.form-note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
}

.farewell-section {
  padding: clamp(7rem, 13vw, 12rem) 0;
  background:
    linear-gradient(rgba(16, 28, 37, 0.88), rgba(16, 28, 37, 0.95)),
    url("assets/images/house-of-nyxele-estate-pink-sky.png") center 42% / cover no-repeat;
}

.wp-block-cover.farewell-section {
  display: flex;
  align-items: center;
}

.farewell-section > .wp-block-cover__background {
  background: linear-gradient(rgba(16, 28, 37, 0.88), rgba(16, 28, 37, 0.95));
  opacity: 1;
}

.farewell-section > .wp-block-cover__inner-container {
  z-index: 2;
  width: 100%;
}

.farewell-section h2 {
  margin-bottom: 2.4rem;
  color: var(--white);
  font-size: clamp(3rem, 5.2vw, 5rem);
}

.farewell-section .nyx-narrow > p:not(.eyebrow):not(.doors-open):not(.farewell-signature) {
  color: rgba(255, 253, 248, 0.66);
}

.doors-open {
  margin-top: 2.5rem;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-style: italic;
}

.farewell-signature {
  display: grid;
  gap: 0.7rem;
  margin-top: 3.8rem;
  color: rgba(255, 253, 248, 0.62);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
}

.farewell-signature strong {
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  font-style: normal;
}

.farewell-signature h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  font-style: normal;
}

.site-footer {
  padding: 2.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0b151c;
  color: rgba(255, 253, 248, 0.6);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
}

.footer-menu a {
  color: inherit;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

/* Interior WordPress content remains quiet and subordinate. */
.page-hero {
  padding: clamp(7rem, 12vw, 10rem) 0 4rem;
  background: var(--blue-deep);
  color: var(--white);
}

.page-content {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.entry-content > * {
  max-width: 820px;
}

.entry-content > .alignwide { max-width: var(--max); }
.entry-content > .alignfull { max-width: none; width: 100%; }

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.content-card,
.service-card,
.collection-card {
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  background: var(--paper);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: gentle-reveal 700ms both;
  }

  @keyframes gentle-reveal {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 1020px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .menu-toggle {
    display: inline-flex;
    background: transparent;
    border-color: currentColor;
    color: inherit;
  }

  .main-navigation {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: none;
    padding-bottom: 1rem;
  }

  .main-navigation.is-open {
    display: block;
  }

  .main-navigation ul {
    display: grid;
    gap: 0;
  }

  .main-navigation a {
    display: block;
    padding: 0.75rem 0;
  }

  .foundation-grid,
  .story-grid,
  .guest-card {
    gap: 4rem;
  }

  .foundation-art {
    min-height: 520px;
  }

  .founder-panel {
    padding: 4rem;
  }

  .path-card {
    min-height: 560px;
  }
}

@media (max-width: 780px) {
  .nyx-wrap,
  .nyx-narrow {
    width: min(calc(100% - 2rem), var(--max));
  }

  .header-inner {
    min-height: 76px;
  }

  .site-title {
    font-size: 1.05rem;
  }

  .site-description,
  .home-entry {
    display: none;
  }

  .home-hero {
    min-height: 900px;
    background-position: 58% center;
  }

  .home-hero-inner {
    padding-bottom: 3.2rem;
  }

  .foundation-grid,
  .story-grid,
  .founder-section,
  .guest-card {
    grid-template-columns: 1fr;
  }

  .foundation-grid {
    gap: 3.5rem;
  }

  .foundation-art {
    min-height: 480px;
    padding: 2rem;
  }

  .story-grid {
    gap: 1rem;
  }

  .story-heading {
    position: static;
  }

  .story-copy {
    padding-top: 1rem;
  }

  .founder-section {
    min-height: auto;
  }

  .founder-image {
    min-height: 500px;
    background-position: center;
  }

  .founder-image-block,
  .founder-image-block img {
    min-height: 500px;
  }

  .founder-image-block img {
    object-position: center;
  }

  .founder-panel {
    padding: 4rem 1.5rem;
  }

  .path-grid {
    grid-template-columns: 1fr;
  }

  .path-card {
    min-height: 500px;
  }

  .guest-card {
    padding: 2rem 1.35rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .guest-form input {
    border-right: 1px solid var(--border-light);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-menu ul {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .home-hero h1 {
    font-size: clamp(4.1rem, 22vw, 6rem);
  }

  .hero-intro {
    font-size: 0.86rem;
  }

  .foundation-art {
    min-height: 420px;
  }

  .foundation-mark {
    width: 72px;
    height: 72px;
    margin-bottom: 2rem;
    font-size: 2.4rem;
  }

  .foundation-art em {
    font-size: 0.78rem;
  }

  .path-card {
    min-height: 530px;
    padding: 2rem 1.35rem;
  }
}

/* Nyxele destination page — editable Gutenberg presentation. */
body.page-template-template-nyxele .site-header {
  position: absolute;
  inset: 0 0 auto;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(10, 18, 23, 0.68), transparent);
  backdrop-filter: none;
}

body.page-template-template-nyxele .site-description {
  color: rgba(255, 253, 248, 0.68);
}

.nyxele-destination-main > .alignfull {
  width: 100%;
  max-width: none;
  margin-block-start: 0;
}

.nyxele-destination-hero {
  min-height: 100svh;
  padding: 0;
  color: var(--white);
}

.nyxele-destination-hero > .wp-block-cover__background {
  background:
    linear-gradient(180deg, rgba(11, 19, 25, 0.12) 0%, rgba(11, 19, 25, 0.1) 42%, rgba(11, 19, 25, 0.88) 88%, rgba(11, 19, 25, 0.96) 100%),
    linear-gradient(90deg, rgba(11, 19, 25, 0.16), transparent 35%, transparent 65%, rgba(11, 19, 25, 0.16));
  opacity: 1;
}

.nyxele-destination-hero > .wp-block-cover__inner-container {
  min-height: inherit;
  display: flex;
  align-items: flex-end;
}

.nyxele-hero-logo {
  position: absolute;
  z-index: 3;
  top: clamp(7rem, 12vh, 9rem);
  left: 50%;
  width: clamp(150px, 15vw, 235px);
  margin: 0;
  padding: 5px;
  transform: translateX(-50%);
  border: 1px solid rgba(210, 183, 125, 0.72);
  background: #000;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
}

.nyxele-hero-logo img {
  width: 100%;
  display: block;
}

.nyxele-hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(23rem, 58vh, 39rem) 0 clamp(3.5rem, 8vh, 6rem);
  text-align: center;
}

.nyxele-hero-copy h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(4.5rem, 10vw, 9rem);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.58);
}

.nyxele-hero-service {
  margin: 0.5rem 0 1rem;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 2.25rem);
  font-style: italic;
}

.nyxele-hero-intro {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 253, 248, 0.84);
}

.nyxele-hero-actions,
.nyxele-service-actions {
  margin-top: 1.8rem;
}

.nyxele-destination-main .is-style-outline .wp-block-button__link {
  border-color: rgba(255, 253, 248, 0.55);
  background: transparent;
  color: var(--white);
}

.nyxele-destination-main .is-style-outline .wp-block-button__link:hover {
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, 0.07);
  color: var(--gold-light);
}

.nyxele-welcome,
.nyxele-for-you,
.nyxele-support,
.nyxele-services,
.nyxele-about,
.nyxele-boundaries,
.nyxele-return {
  padding: clamp(6rem, 11vw, 10rem) 0;
}

.nyxele-welcome {
  background:
    radial-gradient(circle at 50% 0, rgba(170, 135, 81, 0.13), transparent 30rem),
    var(--cream);
}

.nyxele-welcome h2 {
  font-size: clamp(3.2rem, 6vw, 5.5rem);
}

.nyxele-welcome .ornament {
  font-family: var(--serif);
  font-size: 1.5rem;
}

.nyxele-section-heading {
  max-width: 850px;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.nyxele-section-heading.centered-copy {
  margin-inline: auto;
}

.nyxele-section-heading h2 {
  font-size: clamp(3.2rem, 5.8vw, 5.5rem);
}

.nyxele-for-you {
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 0, rgba(170, 135, 81, 0.11), transparent 30rem),
    var(--blue-night);
}

.nyxele-for-you h2,
.nyxele-for-you h3,
.nyxele-services h2,
.nyxele-services h3,
.nyxele-return h2 {
  color: var(--white);
}

.nyxele-for-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
}

.nyxele-for-card {
  min-height: 380px;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.nyxele-for-card p:last-child,
.nyxele-services p {
  color: rgba(255, 253, 248, 0.66);
}

.nyxele-card-symbol,
.nyxele-service-index {
  color: var(--gold-light) !important;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
}

.nyxele-support {
  background:
    linear-gradient(145deg, rgba(170, 135, 81, 0.06), transparent 38%),
    var(--cream);
}

.nyxele-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.nyxele-support-card {
  position: relative;
  min-height: 310px;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--border-light);
  background: var(--paper);
  box-shadow: 0 18px 55px rgba(18, 31, 41, 0.08);
}

.nyxele-support-card-wide {
  grid-column: 1 / -1;
  min-height: auto;
}

.nyxele-support-card h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.nyxele-support-card p:last-child {
  max-width: 650px;
  color: var(--muted);
}

.nyxele-service-mark {
  color: var(--rose);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.nyxele-experience {
  min-height: 900px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
}

.nyxele-experience-image {
  position: relative;
  min-height: 760px;
  margin: 0;
  overflow: hidden;
}

.nyxele-experience-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 28, 37, 0.06), rgba(16, 28, 37, 0.45));
  content: "";
}

.nyxele-experience-image img {
  width: 100%;
  height: 100%;
  min-height: 760px;
  display: block;
  object-fit: cover;
  object-position: 20% center;
}

.nyxele-experience-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vw, 8rem);
}

.nyxele-experience-panel > h2 {
  font-size: clamp(3.2rem, 5vw, 5rem);
}

.nyxele-experience-step {
  display: grid;
  grid-template-columns: minmax(120px, 0.38fr) 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--border-light);
}

.nyxele-experience-step h3 {
  margin: 0;
  color: var(--rose);
  font-size: 1.65rem;
  font-style: italic;
}

.nyxele-experience-step p {
  margin: 0;
  color: var(--muted);
}

.nyxele-services {
  background:
    radial-gradient(circle at 50% 0, rgba(210, 183, 125, 0.1), transparent 34rem),
    var(--blue-deep);
}

.nyxele-service-list {
  border-top: 1px solid var(--border-dark);
}

.nyxele-service-row {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) 1fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-bottom: 1px solid var(--border-dark);
}

.nyxele-service-row h3 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.nyxele-about {
  background: var(--cream);
}

.nyxele-about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(350px, 0.85fr);
  gap: clamp(4rem, 10vw, 10rem);
}

.nyxele-about-heading h2 {
  font-size: clamp(3.2rem, 5.4vw, 5.2rem);
}

.nyxele-about-copy {
  padding-top: 5rem;
  color: var(--muted);
}

.nyxele-boundaries {
  border-block: 1px solid var(--border-light);
  background:
    linear-gradient(135deg, rgba(170, 135, 81, 0.09), transparent 42%),
    var(--paper);
}

.nyxele-boundaries .nyx-narrow {
  padding-left: clamp(1.5rem, 4vw, 3rem);
  border-left: 2px solid var(--gold);
}

.nyxele-boundaries h2 {
  font-size: clamp(2.8rem, 4.8vw, 4.5rem);
}

.nyxele-boundaries p {
  color: var(--muted);
}

.nyxele-closing {
  padding: clamp(7rem, 12vw, 11rem) 0;
  color: var(--white);
}

.nyxele-closing > .wp-block-cover__background {
  background: linear-gradient(rgba(16, 28, 37, 0.76), rgba(16, 28, 37, 0.94));
  opacity: 1;
}

.nyxele-closing h2 {
  color: var(--white);
  font-size: clamp(3.2rem, 5.8vw, 5.5rem);
}

.nyxele-closing .lead-copy {
  color: rgba(255, 253, 248, 0.72);
}

.nyxele-return {
  padding-block: 4rem;
  border-top: 1px solid var(--border-dark);
}

.nyxele-return-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nyxele-return h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
}

@media (max-width: 980px) {
  .nyxele-for-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nyxele-experience-panel {
    padding: 4rem;
  }
}

@media (max-width: 780px) {
  .nyxele-destination-hero {
    min-height: 900px;
  }

  .nyxele-destination-hero .wp-block-cover__image-background {
    object-position: center;
  }

  .nyxele-hero-logo {
    top: 6rem;
    width: 145px;
  }

  .nyxele-hero-copy {
    padding: 24rem 1rem 3.5rem;
  }

  .nyxele-for-grid,
  .nyxele-support-grid,
  .nyxele-experience,
  .nyxele-about-grid {
    grid-template-columns: 1fr;
  }

  .nyxele-for-card {
    min-height: 310px;
  }

  .nyxele-support-card-wide {
    grid-column: auto;
  }

  .nyxele-experience {
    min-height: auto;
  }

  .nyxele-experience-image,
  .nyxele-experience-image img {
    min-height: 500px;
  }

  .nyxele-experience-image img {
    object-position: center;
  }

  .nyxele-experience-panel {
    padding: 4rem 1.5rem;
  }

  .nyxele-service-row,
  .nyxele-experience-step {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .nyxele-about-copy {
    padding-top: 0;
  }

  .nyxele-return-inner {
    display: grid;
  }
}

@media (max-width: 480px) {
  .nyxele-destination-hero .wp-block-cover__image-background {
    object-position: 50% center;
  }

  .nyxele-hero-copy h1 {
    font-size: 4.8rem;
  }

  .nyxele-for-grid {
    grid-template-columns: 1fr;
  }

  .nyxele-for-card {
    min-height: auto;
  }
}

/* v4 editable block-theme components */
.site-header.wp-block-group {
  width: 100%;
  padding: 0 1.5rem;
}

.site-header .header-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
}

.site-header .wp-block-site-title,
.site-header .wp-block-site-tagline {
  margin: 0;
}

.site-header .wp-block-navigation,
.site-header .wp-block-navigation-item__content {
  color: var(--white);
}

.site-header .wp-block-navigation-item__content {
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-header .wp-block-navigation-item__content:hover,
.site-header .current-menu-item > .wp-block-navigation-item__content {
  color: var(--purple);
}

.site-header .wp-block-navigation__submenu-container {
  min-width: 250px !important;
  border: 1px solid var(--gold) !important;
  background: #0a0a0a !important;
  color: var(--white) !important;
  padding: 0.65rem !important;
}

.wp-block-navigation__responsive-container.is-menu-open {
  background: #0a0a0a !important;
  color: var(--white) !important;
  padding: 2rem !important;
}

a:not(.wp-block-button__link) {
  color: var(--purple);
}

a:not(.wp-block-button__link):hover,
a:not(.wp-block-button__link):focus {
  color: var(--rose);
}

.wp-block-button__link,
button,
input[type="submit"] {
  border-color: var(--rose);
  background: var(--rose);
  color: var(--white);
}

.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
  border-color: var(--deep-rose);
  background: var(--deep-rose);
  color: var(--white);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  border-color: var(--gold);
  background: #0a0a0a;
  color: var(--ink);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--purple);
}

.hero-text-button .wp-block-button__link {
  background: transparent;
}

.foundation-section {
  background: #0a0a0a;
}

.foundation-image-block {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(255, 195, 0, 0.36);
  box-shadow: 0 30px 80px rgba(172, 4, 227, 0.14);
}

.foundation-image-block img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.follow-house-section,
.latest-from-house {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.follow-house-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 15%, rgba(172, 4, 227, 0.2), transparent 42%), #0a0a0a;
}

.follow-house-section::before {
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
}

.house-social-links {
  margin-top: 2rem;
}

.social-feed-placeholder {
  margin-top: 2.5rem;
  padding: clamp(2.5rem, 6vw, 5rem);
  border: 1px solid var(--purple);
  background: linear-gradient(145deg, rgba(172, 4, 227, 0.09), rgba(204, 35, 38, 0.07));
  text-align: center;
}

.social-feed-placeholder strong,
.footer-placeholder {
  color: var(--purple);
  letter-spacing: 0.08em;
}

.house-page {
  background: #0a0a0a;
  color: var(--ink);
}

.house-page-hero {
  min-height: min(70vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(9rem, 18vw, 14rem) max(1.5rem, calc((100vw - 1240px) / 2)) clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid rgba(255, 195, 0, 0.32);
  background: radial-gradient(circle at 80% 25%, rgba(172, 4, 227, 0.18), transparent 34%), linear-gradient(135deg, #0a0a0a, #170411 75%, #0a0a0a);
}

.house-page-hero h1 {
  max-width: 1000px;
  color: var(--white);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
}

.house-page-hero .lead-copy {
  max-width: 800px;
  color: var(--ink);
}

.house-section {
  width: min(calc(100% - 3rem), 1060px);
  margin-inline: auto !important;
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: 1px solid rgba(216, 213, 220, 0.14);
}

.house-section:nth-of-type(even) {
  border-left: 2px solid var(--purple);
  padding-left: clamp(1.5rem, 5vw, 5rem);
}

.house-section h2 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.house-section p:last-child {
  max-width: 800px;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.house-section--purple {
  border-color: var(--purple);
  background: linear-gradient(90deg, rgba(172, 4, 227, 0.09), transparent 70%);
}

.house-section--sage {
  border-color: var(--sage);
  background: linear-gradient(90deg, rgba(120, 152, 106, 0.12), transparent 70%);
}

.house-cta {
  width: min(calc(100% - 3rem), var(--max));
  margin: clamp(4rem, 8vw, 8rem) auto !important;
  padding: clamp(3rem, 7vw, 6rem);
  border: 1px solid var(--gold);
  background: radial-gradient(circle at 90% 20%, rgba(172, 4, 227, 0.22), transparent 32%), #111;
}

.archive-main,
.article-main,
.policy-main {
  padding: clamp(9rem, 15vw, 13rem) 1.5rem clamp(5rem, 9vw, 8rem);
}

.site-footer.wp-block-group {
  padding: clamp(4rem, 8vw, 7rem) 1.5rem 2rem;
  border-top: 1px solid var(--gold);
  background: #050505;
}

.footer-columns {
  width: min(100%, var(--max));
  gap: clamp(2rem, 5vw, 5rem);
}

.site-footer h3 {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer .footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-links li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--purple);
}

.footer-rule,
.footer-bottom {
  width: min(100%, var(--max));
  margin-inline: auto !important;
}

.footer-rule {
  margin-top: 3rem !important;
  border-color: rgba(255, 195, 0, 0.3);
}

.footer-bottom {
  padding-top: 1.5rem;
  color: rgba(216, 213, 220, 0.7);
  font-size: 0.76rem;
}

@media (max-width: 900px) {
  .site-header .header-inner {
    min-height: 76px;
  }

  .site-header .site-description {
    display: none;
  }

  .foundation-grid {
    grid-template-columns: 1fr;
  }

  .foundation-image-block {
    max-width: 820px;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .site-header.wp-block-group {
    padding-inline: 1rem;
  }

  .site-title {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }

  .house-page-hero {
    min-height: 60vh;
    padding-inline: 1.25rem;
  }

  .house-section {
    width: min(calc(100% - 2.5rem), 1060px);
  }

  .house-section:nth-of-type(even) {
    padding-left: 1.25rem;
  }

  .foundation-image-block {
    border: 0;
  }

  .footer-columns {
    gap: 2.5rem;
  }
}
