/* Home page: luxury background surface, header, nav, hero, collections, craft, projects, export, CTA, footer, and responsive breakpoints. */

/* --- Surface & Background --- */

[data-page="home"] .page-shell {
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.25), var(--obsidian) 780px),
    radial-gradient(circle at 16% 18%, rgba(242, 202, 80, 0.08), transparent 22rem),
    linear-gradient(90deg, rgba(212, 175, 55, 0.06) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(rgba(212, 175, 55, 0.035) 1px, transparent 1px) 0 0 / 100% 104px,
    radial-gradient(circle at 78% 8%, rgba(212, 175, 55, 0.1), transparent 24rem),
    var(--obsidian);
}

[data-page="home"] .page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(245, 245, 240, 0.2) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.18) 0 1px, transparent 1px);
  background-size: 32px 32px, 46px 46px;
  mix-blend-mode: overlay;
}

/* --- Header & Navigation --- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  background: rgba(13, 13, 13, 0.48);
  backdrop-filter: blur(22px);
  transition: background 520ms var(--ease), border-color 520ms var(--ease), box-shadow 520ms var(--ease);
}

.site-header.is-scrolled {
  border-color: rgba(212, 175, 55, 0.28);
  background: rgba(13, 13, 13, 0.86);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 32px;
  transition: min-height 520ms var(--ease);
}

.site-header.is-scrolled .nav {
  min-height: 70px;
}

.brand {
  display: inline-grid;
  gap: 2px;
  min-width: max-content;
}

.brand strong {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.16em;
  transition: color 420ms var(--ease), letter-spacing 420ms var(--ease);
}

.brand span,
.eyebrow,
.nav-links a,
.button,
.stat span,
.kicker,
.mini-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.brand span {
  color: var(--gold);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 46px);
  color: rgba(245, 245, 240, 0.68);
}

.nav-links a {
  position: relative;
  padding: 10px 0;
  transition: color 420ms var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 520ms var(--ease-luxury);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold-bright);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:focus-visible {
  outline: 1px solid var(--gold-bright);
  outline-offset: 4px;
  border-radius: 1px;
}

/* --- Buttons --- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 176px;
  padding: 0 28px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--ivory);
  box-shadow: inset 0 0 0 1px rgba(242, 202, 80, 0);
  transition: background 520ms var(--ease), color 520ms var(--ease), border-color 520ms var(--ease), transform 520ms var(--ease), box-shadow 520ms var(--ease);
}

.button:hover {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #211900;
  transform: translateY(-2px);
  box-shadow: inset 0 0 18px rgba(255, 224, 136, 0.34), 0 18px 42px rgba(0, 0, 0, 0.22);
}

.button:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.button.is-subtle {
  border-color: rgba(245, 245, 240, 0.26);
  color: rgba(245, 245, 240, 0.78);
}

/* --- Floating WhatsApp --- */

.floating-whatsapp {
  position: fixed;
  right: clamp(18px, 2.5vw, 34px);
  bottom: clamp(18px, 2.5vw, 34px);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(212, 175, 55, 0.62);
  background: rgba(13, 13, 13, 0.82);
  color: var(--ivory);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34), inset 0 0 20px rgba(212, 175, 55, 0.08);
  transition: transform 520ms var(--ease), border-color 520ms var(--ease), background 520ms var(--ease), color 520ms var(--ease);
}

.floating-whatsapp::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold-bright);
  transform: rotate(45deg);
  box-shadow: 0 0 18px rgba(242, 202, 80, 0.55);
}

.floating-whatsapp span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.floating-whatsapp:hover {
  transform: translateY(-4px);
  border-color: var(--gold-bright);
  background: linear-gradient(135deg, rgba(242, 202, 80, 0.95), rgba(157, 122, 11, 0.95));
  color: #211900;
}

/* --- Hero --- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 124px 0 46px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.97) 0%, rgba(13, 13, 13, 0.75) 42%, rgba(13, 13, 13, 0.46) 100%),
    linear-gradient(0deg, var(--obsidian) 0%, rgba(13, 13, 13, 0.24) 48%, rgba(13, 13, 13, 0.82) 100%),
    url("/assets/images/collections/imparator/hero.webp") center / cover no-repeat;
  filter: saturate(0.86) contrast(1.04);
  animation: imageBreath 1800ms var(--ease-luxury) both;
}

.hero .light-layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 18%, rgba(242, 202, 80, 0.09) 34%, transparent 52%),
    radial-gradient(ellipse at 50% 96%, rgba(212, 175, 55, 0.18), transparent 38%);
  mix-blend-mode: screen;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 112px 20px 38px;
  z-index: -1;
  border: 1px solid rgba(212, 175, 55, 0.2);
  pointer-events: none;
  animation: fadeLift 1200ms 220ms var(--ease-luxury) both;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  padding-top: clamp(42px, 6vw, 96px);
}

.hero-mark {
  display: block;
  margin-bottom: 18px;
  color: rgba(245, 245, 240, 0.5);
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  line-height: 1.4;
  text-transform: uppercase;
  animation: fadeLift 900ms var(--ease-luxury) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--gold-bright);
  margin-bottom: 28px;
  animation: fadeLift 900ms var(--ease-luxury) both;
}

.eyebrow::before {
  content: "";
  width: 54px;
  height: 1px;
  background: var(--gold);
  transform-origin: left;
  animation: revealLine 1200ms 420ms var(--ease-luxury) both;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  color: var(--ivory);
}

h1 {
  max-width: 1060px;
  font-size: clamp(4rem, 8.4vw, 9.2rem);
  letter-spacing: 0;
  margin-bottom: clamp(20px, 2.4vw, 34px);
  padding-bottom: clamp(10px, 1.4vw, 24px);
  animation: fadeLift 1100ms var(--ease-luxury) both;
}

h1 span {
  display: block;
  overflow: visible;
}

h1 span em {
  display: block;
  font-style: normal;
  animation: fadeLift 1200ms var(--ease-luxury) both;
}

h1 span:nth-child(2) em {
  animation-delay: 110ms;
}

h1 span:nth-child(3) em {
  animation-delay: 220ms;
}

h2 {
  max-width: 780px;
  font-size: clamp(2.65rem, 6vw, 5.4rem);
  letter-spacing: 0;
  line-height: 1.1;
}

h3 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.1;
}

.hero-copy {
  max-width: 650px;
  margin-top: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  animation: fadeLift 1100ms var(--ease-luxury) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
  animation: fadeLift 1100ms var(--ease-luxury) both;
}

.hero-signature {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: clamp(42px, 8vw, 86px);
  color: rgba(245, 245, 240, 0.58);
  animation: fadeLift 1100ms var(--ease-luxury) both;
}

.hero-signature span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
}

.hero-signature span::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.hero-showcase {
  position: absolute;
  top: clamp(64px, 8vw, 118px);
  right: 0;
  z-index: 1;
  width: min(38vw, 540px);
  min-height: clamp(440px, 60vw, 720px);
  border: 1px solid rgba(212, 175, 55, 0.32);
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.1), rgba(13, 13, 13, 0.72)),
    url("/assets/images/collections/niro/hero.jpg") center / cover,
    rgba(13, 13, 13, 0.42);
  overflow: hidden;
  opacity: 0.9;
  box-shadow: 0 44px 90px rgba(0, 0, 0, 0.36);
  animation: fadeLift 1200ms 130ms var(--ease-luxury) both;
}

.hero-showcase::before,
.hero-showcase::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.hero-showcase::before {
  inset: 18px;
  border: 1px solid rgba(245, 245, 240, 0.12);
}

.hero-showcase::after {
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(0deg, rgba(13, 13, 13, 0.92), transparent);
}

.hero-showcase img {
  opacity: 0.72;
  filter: brightness(0.85) saturate(0.92) contrast(1.05);
  transform: scale(1.035);
  transition: transform 1400ms var(--ease-luxury), filter 1400ms var(--ease-luxury), opacity 1400ms var(--ease-luxury);
}

.hero-showcase:hover img {
  opacity: 1;
  transform: scale(1.075);
  filter: brightness(0.95) saturate(1) contrast(1.08);
}

.showcase-caption {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  z-index: 3;
}

.showcase-caption strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 400;
  line-height: 1;
  color: var(--gold-bright);
}

.showcase-caption span {
  display: block;
  margin-top: 12px;
  color: rgba(245, 245, 240, 0.68);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 1 / -1;
  margin-top: clamp(12px, 2vw, 26px);
  border: 1px solid rgba(212, 175, 55, 0.32);
  background: linear-gradient(180deg, rgba(19, 19, 19, 0.78), rgba(13, 13, 13, 0.66));
  backdrop-filter: blur(20px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  animation: fadeLift 1100ms var(--ease-luxury) both;
}

.hero-panel .stat {
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid rgba(212, 175, 55, 0.16);
  border-bottom: 0;
}

.hero-panel .stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  font-weight: 400;
  line-height: 1;
  color: var(--gold-bright);
  margin-bottom: 10px;
}

.stat span {
  display: block;
  color: rgba(245, 245, 240, 0.68);
}

/* --- Sections --- */

section {
  position: relative;
  padding: clamp(82px, 10vw, 146px) 0;
  scroll-margin-top: 82px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: clamp(30px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.section-head p {
  max-width: 520px;
  color: var(--dim);
}

/* --- Collections --- */

.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.collection-card {
  position: relative;
  border: 1px solid rgba(245, 245, 240, 0.1);
  background: var(--charcoal);
  isolation: isolate;
  transition: border-color 700ms var(--ease-luxury), transform 700ms var(--ease-luxury), background 700ms var(--ease-luxury), box-shadow 700ms var(--ease-luxury);
}

.collection-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border: 1px solid rgba(242, 202, 80, 0);
  transform: scale(0.975);
  opacity: 0;
  transition: opacity 700ms var(--ease-luxury), transform 700ms var(--ease-luxury), border-color 700ms var(--ease-luxury);
}

.collection-card:nth-child(even) {
  margin-top: 70px;
}

.collection-card:hover {
  border-color: var(--gold);
  transform: translateY(-10px);
  background: #201f1f;
  box-shadow: 0 34px 76px rgba(0, 0, 0, 0.28);
}

.collection-card:hover::before {
  border-color: rgba(242, 202, 80, 0.35);
  opacity: 1;
  transform: scale(1);
}

.card-media {
  position: relative;
  height: clamp(260px, 33vw, 520px);
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  background: #080808;
  clip-path: inset(0);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.04), rgba(13, 13, 13, 0.44)),
    radial-gradient(circle at 58% 18%, rgba(242, 202, 80, 0.18), transparent 28%);
  mix-blend-mode: soft-light;
}

.card-media img {
  transition: transform 1100ms var(--ease-luxury), filter 1100ms var(--ease-luxury);
  filter: var(--image-grade);
}

.collection-card:hover img {
  transform: scale(1.07);
  filter: var(--image-grade-hover);
}

.card-body {
  position: relative;
  padding: 28px;
}

.card-body::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 202, 80, 0.52), transparent);
  transform: scaleX(0);
  transition: transform 720ms var(--ease-luxury);
}

.collection-card:hover .card-body::before {
  transform: scaleX(1);
}

.card-body p {
  margin-top: 16px;
  color: var(--dim);
  font-size: 0.94rem;
}

.kicker {
  display: block;
  color: var(--gold);
  margin-bottom: 14px;
}

/* --- Craft --- */

.craft {
  background:
    linear-gradient(180deg, rgba(26, 26, 26, 0), rgba(26, 26, 26, 0.82) 18%, rgba(26, 26, 26, 0.82) 84%, rgba(26, 26, 26, 0));
}

.craft-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 110px);
  align-items: center;
}

.craft-image {
  position: relative;
  min-height: 640px;
  border: 1px solid rgba(212, 175, 55, 0.34);
  overflow: hidden;
}

.craft-image img {
  filter: var(--image-grade);
  transition: transform 1200ms var(--ease-luxury), filter 1200ms var(--ease-luxury);
}

.craft-image:hover img {
  transform: scale(1.035);
  filter: var(--image-grade-hover);
}

.craft-image::after {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(245, 245, 240, 0.16);
}

.craft-content p {
  max-width: 640px;
  margin-top: 24px;
  color: var(--dim);
  font-size: 1.02rem;
}

.craft-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(212, 175, 55, 0.18);
}

.craft-list div {
  min-height: 130px;
  padding: 26px;
  background: rgba(13, 13, 13, 0.78);
}

.craft-list strong {
  display: block;
  color: var(--ivory);
  font-weight: 500;
  margin-bottom: 8px;
}

.craft-list span {
  color: rgba(245, 245, 240, 0.54);
  font-size: 0.92rem;
}

/* --- Projects Band --- */

.projects-band {
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.11), transparent 28%),
    #11100f;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(212, 175, 55, 0.18);
}

.project-block {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(26px, 4vw, 46px);
  border-right: 1px solid rgba(212, 175, 55, 0.18);
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.16), rgba(13, 13, 13, 0.9)),
    var(--charcoal);
  transition: background 520ms var(--ease), transform 520ms var(--ease);
}

.project-block:nth-child(1) {
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.24), rgba(13, 13, 13, 0.94)),
    url("/assets/images/collections/niro/room-05.webp") center / cover;
}

.project-block:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.2), rgba(13, 13, 13, 0.94)),
    url("/assets/images/collections/imparator/room-02.webp") center / cover;
}

.project-block:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.2), rgba(13, 13, 13, 0.94)),
    url("/assets/images/collections/royal/hero.webp") center / cover;
}

.project-block:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(242, 202, 80, 0.3);
}

.project-block:last-child {
  border-right: 0;
}

.project-block p {
  margin-top: 18px;
  color: var(--dim);
}

/* --- Export --- */

.export-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 106px);
  align-items: center;
}

.export-map {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background:
    linear-gradient(rgba(212, 175, 55, 0.12) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(212, 175, 55, 0.12) 1px, transparent 1px) 0 0 / 64px 64px,
    radial-gradient(circle at 50% 52%, rgba(212, 175, 55, 0.2), transparent 36%),
    #111;
  overflow: hidden;
}

.export-map::before,
.export-map::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(212, 175, 55, 0.42);
}

.export-map::before {
  inset: 14%;
}

.export-map::after {
  inset: 28% 20%;
}

.route {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 11px;
  height: 11px;
  background: var(--gold-bright);
  box-shadow: 0 0 0 12px rgba(212, 175, 55, 0.12), 0 0 34px rgba(212, 175, 55, 0.56);
  animation: pulseRoute 2600ms var(--ease) infinite;
}

@keyframes pulseRoute {
  0%, 100% {
    box-shadow: 0 0 0 9px rgba(212, 175, 55, 0.08), 0 0 30px rgba(212, 175, 55, 0.44);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(212, 175, 55, 0.15), 0 0 48px rgba(212, 175, 55, 0.64);
  }
}

.export-list {
  display: grid;
  gap: 18px;
  margin-top: 40px;
}

.export-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-top: 1px solid rgba(245, 245, 240, 0.12);
}

.export-item strong {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold-bright);
}

.export-item p {
  color: var(--dim);
}

/* --- CTA & Contact --- */

.cta {
  padding-bottom: clamp(42px, 7vw, 90px);
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: end;
  min-height: 620px;
  padding: clamp(34px, 7vw, 82px);
  border: 1px solid rgba(212, 175, 55, 0.42);
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.96) 0%, rgba(13, 13, 13, 0.82) 54%, rgba(13, 13, 13, 0.5) 100%),
    radial-gradient(circle at 82% 18%, rgba(242, 202, 80, 0.12), transparent 20rem),
    url("/assets/images/collections/niro/hero.jpg") center / cover no-repeat;
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(245, 245, 240, 0.13);
  pointer-events: none;
}

.cta-content,
.contact-card {
  position: relative;
  z-index: 1;
}

.cta-content p {
  max-width: 620px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 780px;
  margin-top: 42px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(212, 175, 55, 0.18);
}

.cta-points span {
  display: block;
  min-height: 96px;
  padding: 22px;
  background: rgba(13, 13, 13, 0.72);
  color: rgba(245, 245, 240, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card {
  border: 1px solid rgba(212, 175, 55, 0.34);
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.82), rgba(26, 26, 26, 0.68));
  backdrop-filter: blur(16px);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.36);
}

.contact-card a:not(.button) {
  display: block;
  color: var(--ivory);
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.3vw, 2.6rem);
  line-height: 1.05;
}

.contact-card .button {
  width: 100%;
  margin-top: 28px;
}

.contact-note {
  margin-top: 24px;
  color: rgba(245, 245, 240, 0.54);
  font-size: 0.9rem;
}

/* --- Footer --- */

.site-footer {
  padding: clamp(76px, 9vw, 132px) 0 38px;
  color: rgba(245, 245, 240, 0.56);
  border-top: 1px solid rgba(245, 245, 240, 0.1);
  background:
    radial-gradient(circle at 18% 0%, rgba(212, 175, 55, 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(19, 19, 19, 0), rgba(19, 19, 19, 0.84)),
    var(--obsidian);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) repeat(3, minmax(150px, 0.36fr));
  gap: clamp(42px, 7vw, 104px);
  padding-bottom: clamp(52px, 7vw, 84px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-brand strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  font-weight: 400;
  line-height: 0.95;
  color: var(--ivory);
}

.footer-brand p {
  max-width: 560px;
  margin-top: 32px;
  color: var(--muted);
}

.footer-column h4 {
  margin-bottom: 18px;
  color: var(--gold-bright);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  display: block;
  margin-top: 12px;
  color: rgba(245, 245, 240, 0.62);
  font-size: 0.92rem;
  transition: color 360ms var(--ease), transform 360ms var(--ease);
}

.footer-column a:hover {
  color: var(--gold-bright);
  transform: translateX(4px);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 34px;
  color: rgba(245, 245, 240, 0.42);
  font-size: 0.8rem;
}

/* --- Scroll Reveal --- */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  clip-path: inset(0 0 12% 0);
  transition: opacity 900ms var(--ease-luxury), transform 900ms var(--ease-luxury), clip-path 1100ms var(--ease-luxury);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0);
}

/* --- Responsive: Tablet wide (≤1100px) --- */

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .section-head,
  .craft-grid,
  .export-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 860px;
    font-size: clamp(3.35rem, 8.4vw, 5.9rem);
  }

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

  .hero-showcase {
    position: relative;
    top: auto;
    right: auto;
    z-index: 2;
    width: 100%;
    min-height: 440px;
    opacity: 1;
  }

  .cta-points {
    grid-template-columns: 1fr;
  }

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

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

  .project-block {
    min-height: 310px;
    border-right: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  }

  .project-block:last-child {
    border-bottom: 0;
  }
}

/* --- Responsive: Mid-tablet (≤960px) --- */

@media (max-width: 960px) {
  .craft-image {
    min-height: 460px;
  }

  .export-map {
    min-height: 400px;
  }

  .export-item {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }

  .hero-showcase {
    min-height: 380px;
  }

  .cta-panel {
    min-height: 0;
    padding: clamp(34px, 5vw, 60px);
  }

  .footer-inner {
    gap: clamp(28px, 4vw, 52px);
  }
}

/* --- Responsive: Mobile (≤720px) --- */

@media (max-width: 720px) {
  [data-page="home"] .page-shell {
    background:
      radial-gradient(circle at 80% 5%, rgba(212, 175, 55, 0.1), transparent 18rem),
      var(--obsidian);
  }

  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header {
    position: sticky;
  }

  .nav {
    min-height: 72px;
  }

  .nav .button {
    display: none;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    min-height: 48px;
    padding: 0 14px;
  }

  .floating-whatsapp span {
    max-width: 9ch;
    font-size: 0.62rem;
    line-height: 1.2;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 48px;
  }

  .hero::after {
    inset: 86px 14px 22px;
  }

  h1 {
    font-size: clamp(2.95rem, 15.5vw, 5rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(2.2rem, 11.5vw, 3.35rem);
  }

  h3 {
    font-size: clamp(1.55rem, 8vw, 2.05rem);
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand span {
    font-size: 0.52rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .hero-signature {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .eyebrow {
    gap: 12px;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

  .eyebrow::before {
    width: 34px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-panel .stat {
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  }

  .hero-panel .stat:last-child {
    border-bottom: 0;
  }

  section {
    padding: 68px 0;
  }

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

  .collection-card:nth-child(even) {
    margin-top: 0;
  }

  .craft-image,
  .export-map {
    min-height: 320px;
  }

  .craft-list {
    grid-template-columns: 1fr;
  }

  .export-item {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    padding: 28px;
    min-height: 0;
  }

  .contact-card {
    padding: 24px;
  }

  .contact-card a:not(.button) {
    overflow-wrap: anywhere;
  }

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

  .footer-base {
    flex-direction: column;
  }
}

/* --- RTL Layout Fixes --- */

/* Floating WhatsApp: move to the left side in RTL */
[dir="rtl"] .floating-whatsapp {
  right: auto;
  left: clamp(18px, 2.5vw, 34px);
}

/* Hero showcase: flip to left side so Arabic text has the right side (reading start) */
@media (min-width: 1101px) {
  [dir="rtl"] .hero-showcase {
    right: auto;
    left: 0;
  }
}

/* Craft grid: put content on the right (RTL reading start), image on the left */
@media (min-width: 1101px) {
  [dir="rtl"] .craft-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  }

  [dir="rtl"] .craft-content {
    grid-column: 1;
    grid-row: 1;
  }

  [dir="rtl"] .craft-image {
    grid-column: 2;
    grid-row: 1;
  }
}

/* Export grid: text is already in column 1 which becomes the right side in RTL — correct */

/* Mobile RTL: floating WhatsApp stays on left */
@media (max-width: 720px) {
  [dir="rtl"] .floating-whatsapp {
    right: auto;
    left: 16px;
  }
}

/* --- Accessibility --- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    clip-path: inset(0);
  }
}
