:root {
  --gold: #b38e59;
  --gold-hover: #b3946b;
  --dark-bg: #091613;
  --dark-secondary: #0d1d19;
  --dark-light: #122520;
  --white: #ffffff;
  --text-muted: #bbbebd;
  --paper: #eee6d8;
  --paper-light: #f7f2e9;
  --line: rgba(247, 245, 240, 0.14);
  --line-dark: rgba(27, 29, 30, 0.14);
  --border-color: rgba(179, 142, 89, 0.28);
  --transition: all 0.35s ease;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--dark-bg);
  background: var(--paper-light);
  font-family: "Montserrat", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
  font-family: "Montserrat", sans-serif;
}

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

main,
header,
footer,
section {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.font-serif {
  font-family: "Cormorant Garamond", serif;
}

.text-gold {
  color: var(--gold) !important;
}

.page-shell {
  width: min(100%, 1520px);
  margin-inline: auto;
}

.section-title {
  margin: 0;
  color: var(--dark-bg);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 600;
  line-height: 1.02;
  text-align: center;
}

.title-ornament {
  position: relative;
  width: 76px;
  height: 12px;
  margin: 8px auto 0;
}

.title-ornament::before,
.title-ornament::after {
  position: absolute;
  top: 50%;
  width: 29px;
  height: 1px;
  content: "";
  background: var(--gold);
}

.title-ornament::before {
  left: 0;
}

.title-ornament::after {
  right: 0;
}

.title-ornament span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

.btn-royal {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 25px;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.7px;
  line-height: 1;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn-royal-gold {
  color: var(--dark-bg);
  background: var(--gold);
  border: 1px solid var(--gold);
}

.btn-royal-gold:hover,
.btn-royal-gold:focus {
  color: var(--dark-bg);
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
}

.btn-royal-outline {
  color: var(--white);
  background: rgba(9, 22, 19, 0.45);
  border: 1px solid var(--gold);
}

.btn-royal-outline:hover,
.btn-royal-outline:focus {
  color: var(--dark-bg);
  background: var(--gold);
  transform: translateY(-2px);
}

/* Header */
.royal-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1030;
  width: 100%;
  min-height: 72px;
  background: var(--dark-bg);
  border-bottom: 1px solid rgba(179, 142, 89, 0.12);
  transition: var(--transition);
}

.royal-header.nav-scrolled {
  min-height: 64px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.royal-header-inner {
  min-height: inherit;
  padding-inline: clamp(18px, 3.4vw, 58px);
}

.royal-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--gold);
}

.royal-brand img {
  width: 45px;
  height: auto;
}

.royal-brand-text {
  min-width: 116px;
  color: var(--paper-light);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  line-height: 0.92;
  text-align: center;
  text-transform: uppercase;
}

.royal-brand-text small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Montserrat", sans-serif;
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 2px;
}

.royal-desktop-nav {
  min-width: 0;
  flex: 1 1 auto;
  justify-content: center;
}

.royal-desktop-nav ul {
  gap: clamp(13px, 1.4vw, 25px);
}

.royal-desktop-nav a {
  position: relative;
  display: inline-flex;
  padding: 27px 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.56rem, 0.62vw, 0.7rem);
  font-weight: 500;
  letter-spacing: 0.4px;
  white-space: nowrap;
  text-transform: uppercase;
}

.royal-desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  width: 0;
  height: 1px;
  margin: auto;
  content: "";
  background: var(--gold);
  transition: width 0.28s ease;
}

.royal-desktop-nav a:hover,
.royal-desktop-nav a.active {
  color: var(--gold);
}

.royal-desktop-nav a:hover::after,
.royal-desktop-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.header-consultation {
  min-height: 42px;
  padding: 12px 20px;
  font-size: 0.63rem;
}

.header-whatsapp {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: #1fae5b;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  font-size: 1.25rem;
  box-shadow: 0 0 0 3px rgba(31, 174, 91, 0.18);
}

.header-whatsapp:hover {
  color: var(--white);
  background: #178d49;
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  font-size: 1.05rem;
}

.royal-mobile-menu {
  width: min(390px, 88vw) !important;
  color: var(--white);
  background: var(--dark-bg);
  border-left: 1px solid var(--border-color);
}

.royal-mobile-menu .offcanvas-header {
  min-height: 86px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-brand img {
  width: 43px;
}

.mobile-menu-brand span {
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.mobile-close {
  width: 39px;
  height: 39px;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--border-color);
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 2px;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.76rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.mobile-nav-list a.active,
.mobile-nav-list a:hover {
  color: var(--gold);
  padding-left: 8px;
}

.mobile-menu-cta {
  margin-top: auto;
  padding-top: 24px;
}

/* Shared brand strip */
.fabrics-brand-strip {
  color: var(--white);
  background:
    linear-gradient(rgba(5, 11, 10, 0.92), rgba(5, 11, 10, 0.92)),
    radial-gradient(circle at center, #26312e, #050a09 68%);
  border-top: 1px solid rgba(179, 142, 89, 0.35);
}

.fabrics-brand-strip-title {
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  text-align: center;
}

.brand-name {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  color: #d4b783;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.02rem, 1.55vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.7px;
  line-height: 1;
  text-align: center;
}

.brand-name small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.46);
  font-family: "Montserrat", sans-serif;
  font-size: 0.43rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.royal-copyright {
  padding: 15px 20px;
  color: rgba(255, 255, 255, 0.52);
  background: #050b09;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.64rem;
  letter-spacing: 0.6px;
  text-align: center;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1020;
  display: none;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: #1fae5b;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  font-size: 1.45rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

@media (max-width: 1320px) {
  .royal-desktop-nav ul {
    gap: 14px;
  }

  .royal-brand-text {
    display: none;
  }

  .header-consultation {
    padding-inline: 14px;
  }
}

@media (max-width: 1100px) {
  .royal-desktop-nav,
  .header-consultation,
  .header-whatsapp {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .royal-header,
  .royal-header.nav-scrolled {
    min-height: 70px;
  }

  .royal-brand-text {
    display: block;
  }

  .floating-whatsapp {
    display: inline-flex;
  }
}

/* Keep body copy bright and readable on every dark or image-led section. */
.hero-section p,
.bespoke-intro p,
.process-section p,
.quote-band p,
.cta-band p,
.site-footer p,
.editorial-hero p,
.editorial-section--dark p,
.blog-hero p,
.blog-subscribe p,
.custom-suits-hero p,
.custom-fabrics p,
.custom-consultation p,
.shirts-hero p,
.shirts-dark p,
.shirts-showroom p,
.alterations-hero p,
.alterations-dark p,
.wedding-hero p,
.wedding-styles p,
.wedding-consultation p,
.wedding-fabrics p,
.fc-hero p,
.fc-dark p,
.fabric-page-body .fabric-hero p,
.fabric-page-body .fabric-highlights p,
.fabric-page-body .fabric-cta p,
.fabric-page-body .lp-hero p,
.fabric-page-body .lp-dark p {
  color: rgba(255, 255, 255, 0.92) !important;
}

@media (max-width: 575.98px) {
  .royal-header-inner {
    padding-inline: 14px;
  }

  .royal-brand img {
    width: 39px;
  }

  .royal-brand-text {
    min-width: 98px;
    font-size: 0.92rem;
  }

  .royal-brand-text small {
    font-size: 0.43rem;
  }

  .btn-royal {
    min-height: 45px;
    padding-inline: 18px;
  }

  .floating-whatsapp {
    right: 15px;
    bottom: 15px;
    width: 48px;
    height: 48px;
  }
}
