/* Ashford Concierge — royal British / Irish luxury */

:root {
  --ink: #0f1410;
  --ink-soft: #1c2620;
  --forest: #0d2818;
  --forest-mid: #143524;
  --moss: #1e4d32;
  --gold: #c9a962;
  --gold-bright: #e4c77a;
  --gold-dim: rgba(201, 169, 98, 0.35);
  --cream: #f7f2ea;
  --cream-dark: #e8dfd2;
  --ivory: #fdfbf7;
  --text: #e8e4dc;
  --text-muted: rgba(232, 228, 220, 0.72);
  --font-display: "Cinzel", serif;
  --font-body: "Cormorant Garamond", Georgia, serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--text);
  background: var(--forest);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, #1a3f28 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(30, 77, 50, 0.45) 0%, transparent 45%),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(13, 40, 24, 0.9) 0%, transparent 50%),
    linear-gradient(170deg, var(--forest) 0%, #0a1f14 100%);
}

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

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem max(1.25rem, env(safe-area-inset-right, 0px)) 1rem
    max(1.25rem, env(safe-area-inset-left, 0px));
  min-height: var(--header-h);
  background: rgba(13, 40, 24, 0.94);
  border-bottom: 1px solid rgba(201, 169, 98, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: visible;
}

.logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

.logo span {
  font-weight: 400;
  color: var(--gold);
}

.logo:hover {
  color: var(--gold-bright);
}

.nav {
  display: none;
  gap: 2rem;
  align-items: center;
}

.nav a {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}

.nav a:hover {
  color: var(--gold);
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--gold-dim);
  color: var(--gold) !important;
}

.nav-cta:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 98, 0.08);
}

.nav-toggle {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* [hidden] must win: a bare `display: flex` overrides the hidden attribute in many browsers. */
/* Stay inside header padding box — negative left + overflow-x on html clips the first letters. */
.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem 1.25rem 1.375rem;
  background: rgba(10, 31, 20, 0.98);
  border-bottom: 1px solid var(--gold-dim);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  padding: 1rem 0.35rem 1rem 0.35rem;
  border-bottom: 1px solid rgba(201, 169, 98, 0.12);
  box-sizing: border-box;
}

.mobile-nav a:last-child {
  border-bottom: none;
  margin-top: 0.5rem;
  color: var(--gold);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
}

.hero-crest {
  margin-bottom: 2rem;
  opacity: 0.85;
}

.crest-svg {
  width: clamp(72px, 12vw, 100px);
  height: auto;
  filter: drop-shadow(0 0 20px rgba(201, 169, 98, 0.15));
}

.crest-shield {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  opacity: 0.9;
}

.crest-inner {
  fill: rgba(201, 169, 98, 0.06);
  stroke: var(--gold-dim);
  stroke-width: 1;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 7vw, 4rem);
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: var(--ivory);
  margin: 0 0 1.25rem;
  max-width: min(36rem, 90vw);
}

.hero-lead {
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 28rem;
  margin: 0 0 2.5rem;
  font-style: italic;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.75rem;
  border: 1px solid transparent;
  transition:
    background 0.3s var(--ease-out),
    color 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    transform 0.25s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(145deg, var(--gold-bright), var(--gold));
  color: var(--forest);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(201, 169, 98, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(145deg, #f0d58a, var(--gold-bright));
  color: var(--ink);
}

.btn-ghost {
  border-color: var(--gold-dim);
  color: var(--cream);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-wide {
  display: inline-block;
  text-align: center;
}

/* Sections */
.section {
  position: relative;
  padding: clamp(4rem, 10vw, 6.5rem) 1.5rem;
}

.section-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

.section-head h2,
.about-copy h2,
.contact-panel h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: 0.08em;
  color: var(--ivory);
  margin: 0 0 1rem;
}

.section-deck {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.15rem;
  font-style: italic;
}

/* Craft */
.craft {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 50%,
    transparent 100%
  );
}

.craft-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .craft-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.craft-card {
  position: relative;
  padding: 2rem 1.75rem 2.25rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  border: 1px solid rgba(201, 169, 98, 0.18);
  border-radius: 2px;
  transition:
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.craft-card:hover {
  border-color: rgba(201, 169, 98, 0.4);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

.craft-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.7;
  display: block;
  margin-bottom: 1rem;
}

.craft-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 0.75rem;
}

.craft-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* About */
.about {
  padding-left: 0;
  padding-right: 0;
}

.about-layout {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: center;
  padding: 0 1.5rem;
}

@media (min-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    padding: 0 2rem;
  }
}

.about-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-monogram {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 8rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(201, 169, 98, 0.12);
  line-height: 1;
  user-select: none;
}

.about-frame {
  position: absolute;
  inset: 8%;
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
  pointer-events: none;
}

.about-frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 169, 98, 0.12);
}

.about-copy {
  padding-bottom: 0.5rem;
}

.about-copy .section-eyebrow {
  text-align: left;
}

.about-lead {
  font-size: 1.25rem;
  color: var(--cream);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.about-copy p:not(.about-lead):not(.about-signoff):not(.section-eyebrow) {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.about-signoff {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2rem 0 0 !important;
  opacity: 0.9;
}

/* Contact */
.contact {
  display: flex;
  justify-content: center;
  padding-bottom: 5rem;
}

.contact-panel {
  text-align: center;
  max-width: 36rem;
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.5rem, 5vw, 3rem);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(201, 169, 98, 0.25);
  border-radius: 2px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.25);
}

.contact-deck {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Footer */
.site-footer {
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid rgba(201, 169, 98, 0.15);
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  text-align: center;
}

.footer-mark {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
}

.footer-rule {
  display: none;
  width: 48px;
  height: 1px;
  background: var(--gold-dim);
}

@media (min-width: 600px) {
  .footer-rule {
    display: block;
  }
}

.footer-tag {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn:hover {
    transform: none;
  }
}
