/* =========================================================
   Noah Berridge Magic
   Dark green + gold. Mobile-first.
   Layout unchanged — colour/type system only.
   ========================================================= */

:root {
  --green:        #0B1F1B;   /* page background */
  --green-2:      #0F2620;   /* cards, form fields */
  --green-3:      #143029;   /* hover / raised */
  --green-deep:   #081916;   /* footer */

  --ivory:        #EFE9DA;   /* primary text */
  --ivory-soft:   #C7D0C1;   /* secondary/body text */
  --ivory-faint:  #6F7C74;   /* labels, meta */

  --gold:         #C9A227;   /* accent */
  --gold-bright:  #E4C687;   /* hover / highlight */
  --gold-soft:    #9A8656;   /* muted gold */
  --gold-faint:   rgba(201, 162, 39, 0.13);

  --line:         rgba(201, 162, 39, 0.22);
  --line-soft:    rgba(201, 162, 39, 0.12);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "Work Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --wrap: 68rem;
  --pad:  clamp(1.25rem, 5vw, 3rem);
  --radius:    12px;   /* inputs, small elements */
  --radius-lg: 18px;   /* cards, photo frame */
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--green);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.visually-hidden,
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 0.75rem; left: 0.75rem;
  width: auto; height: auto; clip: auto;
  background: var(--gold); color: var(--green);
  padding: 0.6rem 1rem; border-radius: var(--radius);
  z-index: 200; font-weight: 500;
}

/* ---------- focus visibility ---------- */
:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =========================================================
   NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 31, 27, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ivory);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}
.nav__suit { color: var(--gold); font-size: 0.9em; }

.nav__menu {
  list-style: none;
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.4rem);
  margin: 0; padding: 0;
}
.nav__menu a {
  text-decoration: none;
  color: var(--ivory-soft);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0.15rem;
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 1px;
  background: var(--gold);
  transition: right 0.35s var(--ease);
}
.nav__menu a:hover,
.nav__menu a:focus-visible { color: var(--gold-bright); }
.nav__menu a:hover::after,
.nav__menu a:focus-visible::after { right: 0; }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 46px; height: 42px;
  cursor: pointer;
  position: relative;
}
.nav__toggle-bar,
.nav__toggle-bar::before,
.nav__toggle-bar::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 1.5px;
  background: var(--gold-bright);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s linear;
}
.nav__toggle-bar::before { transform: translate(-50%, -8px); }
.nav__toggle-bar::after  { transform: translate(-50%, 6px); }

/* ---------- mobile nav ---------- */
@media (max-width: 640px) {
  .nav__toggle { display: inline-block; }
  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #0A1D19;
    box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 0.25rem var(--pad) 0.75rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s var(--ease), opacity 0.25s linear;
  }
  .nav__menu.is-open { max-height: 60vh; opacity: 1; }
  .nav__menu a {
    display: block;
    padding: 0.9rem 0.15rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__menu li:last-child a { border-bottom: 0; }

  .nav__toggle[aria-expanded="true"] .nav__toggle-bar { background: transparent; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar::before { transform: translate(-50%, 0) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar::after  { transform: translate(-50%, 0) rotate(-45deg); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
/* faint card-lattice */
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,  var(--gold-faint) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(-45deg, var(--gold-faint) 0 1px, transparent 1px 24px);
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(120% 100% at 70% 0%, #000 0%, transparent 72%);
          mask-image: radial-gradient(120% 100% at 70% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(3rem, 9vw, 6rem) var(--pad) clamp(3.5rem, 9vw, 6.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 3.5rem);
  align-items: center;
}
.hero__eyebrow {
  margin: 0 0 1.2rem;
  font-size: 0.76rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.hero__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 10vw, 5.4rem);
  line-height: 1.03;
  margin: 0 0 1.5rem;
  letter-spacing: 0.01em;
  color: var(--ivory);
}
.hero__bio {
  margin: 0 0 2.2rem;
  max-width: 64ch;
  color: var(--ivory-soft);
  font-size: 1rem;
  line-height: 1.8;
  text-wrap: pretty;
}
.hero__cta { font-size: 0.85rem; }

.hero__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 460px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-2);
  box-shadow: 0 0 0 6px var(--green-2), 0 24px 48px -28px rgba(0, 0, 0, 0.7);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  filter: saturate(0.94);
}

@media (min-width: 760px) {
  .hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .hero__photo { max-width: 340px; margin-left: auto; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  padding: 1rem 2.4rem;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease),
              transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn--primary {
  background: transparent;
  color: var(--gold-bright);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 28px 2px rgba(201, 162, 39, 0.45),
              0 14px 30px -18px rgba(201, 162, 39, 0.7);
}

/* =========================================================
   SECTIONS (shared)
   ========================================================= */
.section {
  padding: clamp(3.5rem, 9vw, 6rem) 0;
  border-bottom: 1px solid var(--line-soft);
}
.section__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section__eyebrow span {
  font-size: 1.3em;
}
.section__heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.14;
  margin: 0 0 2.4rem;
  max-width: 22ch;
  color: var(--ivory);
}
#contact-heading {
  max-width: none;
}

/* ---------- Services ---------- */
.cards {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 860px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
.card {
  position: relative;
  background: var(--green-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 2rem 1.7rem 1.7rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.card:hover,
.card:focus-within {
  transform: translateY(-3px);
  border-color: var(--line);
  background: var(--green-3);
}
.card__suit {
  font-size: 1.75rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.1rem;
}
.card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0 0 0.6rem;
  color: var(--ivory);
}
.card__text {
  margin: 0 0 1.5rem;
  color: var(--ivory-soft);
  font-size: 0.96rem;
  flex: 1;
}
.card__link {
  align-self: flex-start;
  text-decoration: none;
  color: var(--gold-bright);
  font-weight: 500;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card__link:hover,
.card__link:focus-visible { color: var(--gold-bright); border-bottom-color: var(--gold); }

/* ---------- Bottom CTA band ---------- */
.cta-band {
  text-align: center;
}
.cta-band__inner {
  display: flex;
  justify-content: center;
}

/* ---------- Contact ---------- */
.contact__lede {
  max-width: 52ch;
  color: var(--ivory-soft);
  margin: 0 0 2.8rem;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 780px) {
  .contact__grid { grid-template-columns: 1.4fr 0.9fr; gap: 3.5rem; }
}

.form__row { margin-bottom: 1.25rem; }
.form label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.55rem;
  font-weight: 500;
}
.form input,
.form textarea {
  width: 100%;
  background: var(--green-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--green-3);
}
.form .btn { margin-top: 0.6rem; }
.form__status {
  margin: 1.1rem 0 0;
  font-size: 0.95rem;
  color: var(--gold-bright);
  min-height: 1.2em;
}

.contact__details-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0 0 1.4rem;
  color: var(--ivory);
}
.contact__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 1.4rem;
}
.contact__list li { display: flex; flex-direction: column; gap: 0.25rem; }
.contact__label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
}
.contact__list a {
  color: var(--gold-bright);
  text-decoration: none;
  font-size: 1.02rem;
  word-break: break-word;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.contact__list a:hover,
.contact__list a:focus-visible { border-bottom-color: var(--gold); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  padding: 2.8rem 0;
  background: var(--green-deep);
}
.site-footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ivory);
}
.site-footer__copy {
  margin: 0;
  color: var(--ivory-faint);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: 100%;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line-soft);
}
