/* Grand House — approved website v2 and brand book v1, 28 October 2026.
   BEM.css is the unchanged shared template; this file owns site overrides. */

:root {
  --navy: #0F2340;
  --gold: #B8945A;
  --ivory: #F6F1E7;
  --slate: #5B6675;
  --ink: #2A3442;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Montserrat",system-ui,sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: var(--navy);
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15,35,64,.97);
  border-bottom: 1px solid rgba(184,148,90,.35);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.brand b {
  font-family: "Cormorant Garamond",serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: .16em;
  color: var(--ivory);
  line-height: 1;
}

.brand span {
  font-size: 9.5px;
  letter-spacing: .42em;
  color: #C9CFD8;
  line-height: 1;
  font-weight: 500;
}

nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

nav a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

nav a:hover,nav a:focus-visible {
  border-bottom-color: var(--gold);
}

.hero {
  background: var(--navy);
  color: var(--ivory);
  padding: 120px 0 128px;
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}

h1,h2,h3 {
  font-family: "Cormorant Garamond",serif;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}

.hero h1 {
  color: var(--ivory);
  font-size: clamp(42px,6vw,76px);
  line-height: 1.05;
  max-width: 16ch;
}

.hero p.lead {
  max-width: 60ch;
  font-size: 19px;
  color: #D9DEE6;
  margin: 30px 0 40px;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 16px 30px;
}

.btn:hover {
  background: #C9A86E;
}

.rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: 0 0 26px;
}

section {
  padding: 104px 0;
}

h2 {
  font-size: clamp(34px,4vw,50px);
  line-height: 1.1;
  margin-bottom: 24px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.2fr);
  gap: 64px;
  align-items: start;
}

.intro p {
  margin: 0 0 18px;
}

.cycle {
  background: #EFE7D8;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 2px;
  margin-top: 48px;
  background: rgba(15,35,64,.12);
}

.step {
  background: var(--ivory);
  padding: 36px 30px 40px;
}

.step .n {
  font-family: "Cormorant Garamond",serif;
  font-size: 44px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 25px;
  margin-bottom: 12px;
}

.step p {
  margin: 0;
  font-size: 15.5px;
  color: var(--slate);
}

.system {
  background: var(--navy);
  color: #D9DEE6;
}

.system h2 {
  color: var(--ivory);
}

.sys {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 64px;
}

.sys ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.sys li {
  padding: 22px 0;
  border-top: 1px solid rgba(184,148,90,.35);
}

.sys li:last-child {
  border-bottom: 1px solid rgba(184,148,90,.35);
}

.sys li strong {
  display: block;
  color: var(--ivory);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 40px;
  margin-top: 40px;
}

.contact-grid h3 {
  font-family: "Montserrat",sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.contact-grid p {
  margin: 0;
  color: var(--ink);
}

.pending {
  color: var(--slate);
  font-style: italic;
}

footer {
  background: var(--navy);
  color: #C9CFD8;
  padding: 48px 0;
  font-size: 13.5px;
  border-top: 1px solid rgba(184,148,90,.35);
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.foot p {
  margin: 0;
}

.ar {
  font-family: "Noto Kufi Arabic",sans-serif;
  font-size: 18px;
  color: var(--ivory);
}

@media (max-width:900px) {
  .intro,.sys {
    grid-template-columns: minmax(0,1fr);
    gap: 32px;
  }

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

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

  section {
    padding: 72px 0;
  }

  .hero {
    padding: 80px 0 88px;
  }

}

@media (max-width:560px) {
  .steps {
    grid-template-columns: minmax(0,1fr);
  }

  .wrap {
    padding: 0 20px;
  }

  nav {
    gap: 18px;
  }

}

/* Integrate the reference with the shared template and preserve accessibility. */

:root {
  --sand: #EFE7D8;
  --on-navy-body: #D9DEE6;
  --on-navy-detail: #C9CFD8;
  --gold-hover: #C9A86E;
  --anchor-offset: 100px;
}

html {
  scroll-padding-top: var(--anchor-offset);
}

body {
  overflow-x: visible;
}

body::before,
.hero::after {
  content: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 45px;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

.brand {
  color: var(--ivory);
}

.btn:focus-visible {
  outline-color: var(--ivory);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 20px;
  z-index: 100;
  padding: 12px 20px;
  transform: translateY(-200%);
  background: var(--ivory);
  color: var(--navy);
  font-weight: 600;
}

.skip-link:focus {
  transform: none;
}

.section-lede {
  max-width: 62ch;
  margin: 0;
}

.steps {
  list-style: none;
}

.contact-grid h3 {
  color: var(--navy);
}

address {
  font-style: normal;
}

.phone-link {
  display: inline-block;
  padding: 7px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.phone-link:hover {
  text-decoration-thickness: 2px;
}

.site-footer .pending {
  color: inherit;
}

.registration {
  max-width: 65ch;
  margin-top: 12px;
}

.ar {
  margin-left: auto;
  text-align: right;
}

@media (max-width: 900px) {
  :root {
    --anchor-offset: 150px;
  }

  .bar {
    gap: 10px 24px;
  }

}

@media (max-width: 560px) {
  :root {
    --anchor-offset: 190px;
  }

  .bar {
    padding-top: 14px;
    padding-bottom: 10px;
  }

  nav {
    gap: 0 18px;
  }

  nav a {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }

}
