/* ===== Variables (aligns with your palette) ===== */
:root{
  --bg:#0c0f14; --surface:rgba(20,24,31,.6); --text:#e9edf3; --muted:#b3bdc9;
  --brand:#4ea3ff; --brand-ink:#0a1b2e; --accent:#f59e0b;
  --shadow:0 10px 30px rgba(0,0,0,.35); --radius:16px;
  --cream:#f5f0e3; --ink:#1d2a33;
  --container-pad: clamp(12px, 2.5vw, 24px);
}
*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}

/* =========================
   Global Buttons (Gold + Black Outline on Hover)
   ========================= */

/* Theme tokens (tweak as needed) */
:root{
  --btn-gold: #ffd166;
  --btn-ink:  #2f2310;
}

/* Base: covers <button>, <a class="btn">, <input type="submit">, etc. */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
a.btn,
.btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;

  padding: .65rem 1rem;
  border-radius: 999px;
  border: 2px solid transparent;

  background: var(--btn-gold);
  color: var(--btn-ink);
  font: inherit;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;

  transition: border-color .15s ease, transform .08s ease;
  min-height: 40px; /* comfy target */
}

/* Hover: only add a black outline; keep gold fill */
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
a.btn:hover,
.btn:hover {
  border-color: #000;           /* black outline */
}

/* Focus: accessible, clear ring */
button:focus-visible,
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible,
input[type="reset"]:focus-visible,
a.btn:focus-visible,
.btn:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
}

/* Active: tiny press feedback */
button:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active,
a.btn:active,
.btn:active {
  transform: translateY(1px);
}

/* Disabled */
button:disabled,
input[type="button"]:disabled,
input[type="submit"]:disabled,
input[type="reset"]:disabled,
.btn[aria-disabled="true"],
a.btn[aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Size helpers (optional) */
.btn-sm,
a.btn.btn-sm {
  padding: .5rem .8rem;
  min-height: 36px;
  font-weight: 600;
}

.btn-lg,
a.btn.btn-lg {
  padding: .8rem 1.2rem;
  min-height: 46px;
  font-weight: 800;
}

/* Block (full width) */
.btn-block,
a.btn.btn-block {
  width: 100%;
}

/* Ghost variant (transparent by default; hover gets same black outline) */
.btn-ghost,
a.btn.btn-ghost {
  background: transparent;
  color: var(--btn-ink);
  border-color: transparent;
}
.btn-ghost:hover,
a.btn.btn-ghost:hover {
  border-color: #000;  /* black outline on hover */
}

/* Visible Secondary (light button with strong contrast) */
.btn-secondary,
a.btn.btn-secondary {
  background: #ffffff;
  color: #0b1219;
  border: 2px solid #000;     /* clearly visible at rest */
}
.btn-secondary:hover,
a.btn.btn-secondary:hover {
  /* keep it clean—no fill change, outline already visible via border */
  filter: brightness(1.02);
}



body{
  margin:0; font-family:Poppins,system-ui,-apple-system,Segoe UI,Roboto,Arial,Helvetica,sans-serif;
  color:var(--text); background:#0b0f15; line-height:1.5;
}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
.container{width:min(1200px,94%);margin-inline:auto;padding-inline:var(--container-pad)}

/* Skip link */
.skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:1rem;top:1rem;width:auto;height:auto;background:#000;color:#fff;padding:.5rem .75rem;border-radius:.5rem;z-index:9999}

/* ========= Header (light, compact, 150px logo without negative margins) ========= */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:40;
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.78));
  color:#0b1219;
  backdrop-filter:saturate(120%) blur(8px);
  transition:background .25s ease, box-shadow .25s ease, transform .25s ease;
  padding-top: env(safe-area-inset-top);
  overflow:visible; /* allow visual overhang of the logo */
}
.site-header.scrolled{
  background:rgba(255,255,255,.98);
  box-shadow:0 6px 24px rgba(0,0,0,.08);
}

/* Compact row */
.nav-row{
  --navH: 82px;                 /* compact bar height */
  display:flex; align-items:center; gap:.6rem;
  padding:.2rem 0;
  min-height:var(--navH);
}

/* Brand: reserve width, keep height to nav height, absolutely place logo */
.brand{
  position:relative;
  display:flex; align-items:center;
  gap:.6rem;
  height:var(--navH);          /* keeps header compact */
  min-width:190px;             /* space so nav doesn’t collide with logo */
}

/* Logo: full 150px centered vertically; does not grow header */
.brand-logo{
  position:absolute; left:0; top:50%;
  transform:translateY(-50%);
  height:150px; width:auto; display:block;
}

/* Desktop nav tighter to fit beside the big logo */
.nav-desktop{ margin-left:auto; }
.nav-list{
  display:flex; gap:.85rem; list-style:none; padding:0; margin:0;
}
.nav-list a{
  font-size:1rem; line-height:1;
  color:#0e1620; opacity:.9;
  transition:opacity .15s ease, color .15s ease;
}
.nav-list a:hover{ opacity:1; color:#000; }

/* Desktop CTA (compact) */
.nav-cta{ margin-left:.5rem; }
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.4rem;
  padding:.44rem .75rem; border-radius:999px; border:1px solid transparent;
  font-weight:600; min-height:36px;
  transition:transform .12s ease, background .2s ease, border-color .2s ease, filter .2s ease;
}
.btn-cta{ background:#ffd166; color:#2f2310; }

/* Subtle divider under white header */
.site-header::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:1px;
  background:linear-gradient(90deg, transparent, rgba(0,0,0,.06), transparent);
}

/* ========================
   Mobile pill toggle (clean)
   ======================== */
#navToggle.hamburger{
  display:none !important;                 /* shown below ≤1024px */
  background:transparent !important;
  border:2px solid var(--cta, #ffd166);    /* yellow outline */
  border-radius:999px;
  min-height:42px; min-width:60px;
  padding:8px 14px;
  box-shadow:none !important;
  position:relative; z-index:65;
  line-height:0; cursor:pointer;
  -webkit-appearance:none; appearance:none;

  display:inline-flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
}
#navToggle.hamburger .bar{
  width:22px; height:2px;
  background:#0b1219;                      /* dark bars vs light header */
  border-radius:2px; opacity:1 !important; transform:none !important;
}
#navToggle.hamburger:hover{ background:rgba(255,209,102,.08) !important; }
#navToggle.hamburger:active{ transform:translateY(1px); }
#navToggle.hamburger:focus-visible{
  outline:3px solid rgba(255,209,102,.6); outline-offset:2px;
}
#navToggle[aria-expanded="true"] .bar{ transform:none !important; opacity:1 !important; }

/* ========================
   Drawer / Scrim
   ======================== */
.scrim{
  position:fixed; inset:0; background:rgba(0,0,0,.75); backdrop-filter:blur(2px);
  z-index:80; opacity:0; visibility:hidden; transition:opacity .2s ease;
}
.scrim.active{ opacity:1; visibility:visible; }

.drawer{
  position:fixed; top:0; right:0; left:0; width:100vw; height:auto; max-height:100vh; overflow-y:auto;
  background:#0a0f17 !important; color:var(--text, #e8eef6); z-index:90;
  transform:translateX(100%); transition:transform .25s ease;
  display:flex; flex-direction:column; padding-bottom: env(safe-area-inset-bottom);
}
.drawer.open{ transform:translateX(0); }

/* Drawer header: sticky, readable, no logo */
.drawer-header{
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(1rem, env(safe-area-inset-top)) 1.25rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #0a0f17; /* matches drawer bg for seamless stickiness */
  color: #fff;
}

/* Title styling */
.drawer-title{
  font-size: 1rem; font-weight: 700; letter-spacing: .01em;
  line-height: 1; user-select: none;
}

/* Close button: big target, clean focus, hover */
.icon-btn{
  background: transparent; border: 0; color: #fff; cursor: pointer;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 10px; /* 44px min touch target */
  transition: background .15s ease, transform .12s ease;
}
.icon-btn:hover{ background: rgba(255,255,255,.08); }
.icon-btn:active{ transform: translateY(1px); }
.icon-btn:focus-visible{
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255,209,102,.6); /* yellow focus ring to match brand CTA */
}

/* Slightly bolder “X” for legibility on dark bg */
.icon-btn--close span{ font-size: 1.15rem; line-height: 1; }

/* Keep footer logo nicely separated */
.drawer-footer{
  padding: 1rem; border-top: 1px solid rgba(255,255,255,.08);
}
.drawer-footer .drawer-brand{
  display: grid; place-items: center; padding-top: .75rem; opacity: .9;
}
.drawer-footer .drawer-brand .brand-logo--drawer{ height: 40px; }

/* Motion sensitivity */
@media (prefers-reduced-motion: reduce){
  .icon-btn{ transition: none !important; }
}


/* Links stack and scroll if needed */
.drawer-body{
  display:flex; flex-direction:column; padding:1rem; gap:.25rem;
  background:transparent !important; flex:1 1 auto; /* pushes footer to bottom */
}
.drawer-link{ padding:.9rem 1rem; border-radius:.8rem; opacity:.95; color:#e8eef6; min-height:44px; }
.drawer-link:hover{ background:rgba(255,255,255,.08); opacity:1; }

/* Footer stays at bottom; contains CTA + small logo */
.drawer-footer{
  padding:1rem; border-top:1px solid rgba(255,255,255,.08);
}
.drawer-footer .drawer-brand{
  display:grid; place-items:center; padding-top:.75rem; opacity:.9;
}
.brand-logo--drawer{ height:40px; width:auto; display:block; }

/* ========================
   Responsive
   ======================== */
@media (max-width:1024px){
  #navToggle.hamburger{ display:inline-flex !important; }
  .nav-desktop{ display:none !important; }
  .nav-cta{ display:none !important; }
  .nav-row > #navToggle{ margin-left:auto; } /* push toggle to right on mobile */
}

@media (max-width:560px){
  .nav-row{ --navH: 54px; }
  .brand{ min-width:160px; }
  /* keep 150px; if it crowds, set 130–140px here instead */
  .brand-logo{ height:150px; }
}

/* Screen-reader helper */
.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;
}
/* Slightly smaller logo on small phones */
@media (max-width: 560px){
  .brand-logo{
    height: 106px;      /* was 150px */
    max-height: 140px;  /* gentle cap */
  }
  .brand{ min-width: 150px; } /* keep nav from colliding */
}


/* ===== Contact layout ===== */
.section.cream{background:var(--cream);color:var(--ink)}
.section.cream p,.section.cream label,.section.cream .hint{color:#3b4952}

.contact-wrap{padding:calc(88px + 2.2rem) 0 3rem}
.eyebrow{display:inline-flex;align-items:center;gap:.5rem;font-weight:700;color:#2f6aa5}
.eyebrow::before{content:"";width:.55rem;height:.55rem;border-radius:999px;background:#2f6aa5}
.contact-title{
  font-family:"Playfair Display",serif;font-weight:700;letter-spacing:-.01em;line-height:1.08;
  margin:.35rem 0 1.25rem;color:#1d2a33;font-size:clamp(2.1rem,1.2rem + 3.2vw,3.6rem);
}

.contact-grid{
  display:grid; gap:clamp(1rem,2.5vw,2rem);
  grid-template-columns: minmax(0,1.2fr) minmax(0,.9fr) minmax(0,.75fr);
  align-items:start;
}

/* Form */
.contact-form-col form{margin-top:.5rem}
.field{margin-bottom:1rem}
.field.two{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
label{display:block;font-weight:600;margin:0 0 .35rem}
input, select, textarea{
  width:100%; padding:.85rem 1rem; border-radius:12px; border:1px solid rgba(0,0,0,.12);
  background:#fff; color:#1f2933; outline:none; transition:border-color .15s ease, box-shadow .15s ease;
}
select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#6b7280 50%),linear-gradient(135deg,#6b7280 50%,transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size:6px 6px,6px 6px; background-repeat:no-repeat;
}
input:focus,select:focus,textarea:focus{border-color:#2f6aa5; box-shadow:0 0 0 3px rgba(78,163,255,.25)}
.hint.error{color:#9f2c2c;font-size:.875rem;margin:.35rem 0 0}
.check{display:flex;align-items:flex-start;gap:.6rem;margin:.6rem 0 1rem}
.check input{width:18px;height:18px;margin-top:.2rem}
.legal{font-size:.82rem;color:#66737b;margin:.5rem 0 1rem}
.btn-primary{background:var(--brand);color:var(--brand-ink)}
.form-status{margin-top:.75rem;font-weight:600}

/* Photos (middle) */
.contact-photos{display:grid;gap:1rem}
.shot{border-radius:16px;overflow:hidden;border:1px solid rgba(0,0,0,.08);box-shadow:0 8px 20px rgba(0,0,0,.06)}
.shot img{width:100%;height:100%;object-fit:cover}

/* Summary (right) */
.contact-summary{
  position:sticky; top:96px; align-self:start; background:#0a0f17; color:#e9edf3;
  border:1px solid rgba(255,255,255,.08); border-radius:18px; padding:1.1rem; box-shadow:var(--shadow)
}
.contact-summary .summary-title{
  font-family:"Playfair Display",serif; font-size:1.6rem; margin:.25rem 0 1rem; color:#fff
}
.summary-list{display:grid;grid-template-columns:auto 1fr;column-gap:1rem;row-gap:.5rem;font-size:.95rem}
.summary-list dt{opacity:.75}
.summary-list dd{margin:0}
.contact-summary .alt-submit{margin-top:1rem; width:100%}

/* Responsive */
@media (max-width:1200px){
  .contact-grid{grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); }
  .contact-summary{grid-column:1/-1; position:relative; top:auto}
}
@media (max-width:900px){
  .contact-grid{grid-template-columns:1fr}
  .field.two{grid-template-columns:1fr}
  .contact-photos{order:2}
  .contact-summary{order:3}
}
