/* ============================================================
   Gold Star Dry Cleaning — editorial luxury theme
   Palette: midnight navy · gold leaf · warm cream
   ============================================================ */

:root {
  --ink: #11203f;          /* deep midnight navy */
  --ink-soft: #1b2c4d;
  --gold: #c19a3e;         /* gold leaf — decorative / on dark / borders */
  --gold-bright: #d8b65a;  /* on dark backgrounds */
  --gold-ink: #86671a;     /* AA-compliant gold for small text on light (>=4.7:1) */
  --cream: #f6f1e7;        /* warm paper */
  --cream-deep: #efe7d6;
  --paper: #fbf8f1;
  --char: #20242c;         /* body text on light */
  --muted: #6b6b63;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

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

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

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--char);
  background: var(--paper);
  font-size: 16px;              /* >=16px avoids iOS tap-to-zoom */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(193, 154, 62, 0.25);
  text-rendering: optimizeLegibility;
}

/* Comfortable touch targets on every interactive element */
a, button { touch-action: manipulation; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 em, h2 em { font-style: italic; color: var(--gold); }

a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 0.7rem 1.2rem;
  z-index: 200;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Visible keyboard focus (WCAG 2.4.7 / 2.4.11) ---------- */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Light ring where the element sits on a dark background */
.hero :focus-visible,
.why :focus-visible,
.cta-strip :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold-bright);
}
.skip-link:focus-visible { outline-color: var(--gold-bright); }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-ink);   /* on light backgrounds; overridden to gold-bright on dark */
  margin: 0 0 1rem;
}
.eyebrow-light { color: var(--gold-bright); }

/* ---------- Brand mark ---------- */
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-star { width: 26px; height: 26px; fill: var(--gold); flex: none; }
.brand-text {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
}
.brand-text small {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.7;
  margin-top: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
}
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); }
/* mobile-first: lead with the primary action (call); reveal links on wider screens */
.nav a:not(.nav-cta) { display: none; }
.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;            /* accessible tap target */
  background: var(--ink);
  color: var(--cream) !important;
  padding: 0.55rem 1.05rem;
  border-radius: 100px;
  font-variant-numeric: tabular-nums;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-cta:hover { background: var(--gold); color: var(--ink) !important; transform: translateY(-1px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;            /* accessible tap target */
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95rem 1.7rem;
  border-radius: 100px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

/* mobile-first: CTAs go full-width and stack for easy thumb reach */
.hero-actions .btn,
.cta-inner .btn { width: 100%; }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 8px 30px -12px rgba(193, 154, 62, 0.8);
}
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid color-mix(in srgb, var(--cream) 45%, transparent);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% 0%, var(--ink-soft) 0%, var(--ink) 55%, #0b1730 100%);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}
.hero::before {
  /* faint oversized gold star watermark */
  content: "";
  position: absolute;
  right: -8%;
  top: -12%;
  width: 540px;
  height: 540px;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l2.96 6.32 6.79.86-5.02 4.7 1.32 6.72L12 17.9l-6.05 3.0 1.32-6.72-5.02-4.7 6.79-.86z' fill='%23c19a3e'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.06;
  transform: rotate(8deg);
}
.hero-inner { padding-block: clamp(4.5rem, 12vh, 9rem) clamp(3.5rem, 9vh, 6.5rem); position: relative; }
.hero .eyebrow { color: var(--gold-bright); }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 400;
  max-width: 16ch;
  margin-bottom: 1.6rem;
  font-optical-sizing: auto;
}
.hero-lede {
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: color-mix(in srgb, var(--cream) 82%, transparent);
  margin: 0 0 2.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-marks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  padding: 0;
  margin: clamp(3rem, 7vh, 4.5rem) 0 0;
  border-top: 1px solid color-mix(in srgb, var(--cream) 16%, transparent);
  padding-top: 1.8rem;
}
.hero-marks li {
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--cream) 70%, transparent);
}
.hero-marks span {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold-bright);
  font-weight: 500;
}
.hero-rule { height: 5px; background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%); }

/* ---------- Section heads ---------- */
.section-head { max-width: 40ch; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ---------- Services ---------- */
.services { padding-block: clamp(4rem, 10vw, 7rem); background: var(--paper); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.2rem);
}
.service-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--cream-deep);
  border-radius: 18px;
  padding: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(17, 32, 63, 0.4);
  border-color: var(--gold);
}
.service-card:hover::before { transform: scaleX(1); }
.service-no {
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--gold-ink);
  font-weight: 600;
}
.service-card h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0.6rem 0 1rem;
  color: var(--ink);
}
.service-card p { color: var(--muted); margin: 0 0 1.5rem; }
.service-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--cream-deep); }
.service-list li {
  padding: 0.7rem 0 0.7rem 1.5rem;
  border-bottom: 1px solid var(--cream-deep);
  position: relative;
  font-size: 0.95rem;
  color: var(--char);
}
.service-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
  top: 0.85rem;
}

/* ---------- Pricing ---------- */
.pricing { padding-block: clamp(4rem, 10vw, 7rem); background: var(--cream); }
.price-groups {
  display: grid;
  grid-template-columns: 1fr;          /* mobile-first: single column */
  gap: clamp(2rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
}
.price-block { break-inside: avoid; }
.price-cat {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-ink);
  margin: 0 0 0.6rem;
}
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--cream-deep);
}
.price-list .item { font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.price-list .dots {
  flex: 1;
  border-bottom: 1.5px dotted color-mix(in srgb, var(--ink) 28%, transparent);
  transform: translateY(-3px);
}
.price-list .price {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-note {
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 60ch;
}

/* ---------- Why ---------- */
.why {
  background: var(--ink);
  color: var(--cream);
  padding-block: clamp(4rem, 10vw, 7rem);
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr;          /* mobile-first: single column */
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.why-copy h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1.2rem; }
.why-copy p { color: color-mix(in srgb, var(--cream) 78%, transparent); font-size: 1.1rem; margin: 0; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 1px; background: color-mix(in srgb, var(--cream) 14%, transparent); border: 1px solid color-mix(in srgb, var(--cream) 14%, transparent); border-radius: 14px; overflow: hidden; }
.why-list li { background: var(--ink); padding: 1.8rem; transition: background 0.35s var(--ease); }
.why-list li:hover { background: var(--ink-soft); }
.why-list h3 { font-size: 1.2rem; color: var(--gold-bright); margin-bottom: 0.5rem; }
.why-list p { font-size: 0.95rem; color: color-mix(in srgb, var(--cream) 70%, transparent); margin: 0; }

/* ---------- Visit ---------- */
.visit { padding-block: clamp(4rem, 10vw, 7rem); background: var(--cream); }
.visit-grid {
  display: grid;
  grid-template-columns: 1fr;          /* mobile-first: stack info over map */
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.visit-info h2 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--ink); margin-bottom: 2.5rem; }
.info-block { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--cream-deep); }
.info-block:last-child { border-bottom: 0; }
.info-block h3 {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--gold-ink);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.info-block address { font-style: normal; font-size: 1.2rem; color: var(--ink); font-family: var(--serif); }
.text-link {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 1px;
  transition: color 0.3s var(--ease);
}
.text-link:hover { color: var(--gold-ink); }
.hours { border-collapse: collapse; width: 100%; max-width: 340px; }
.hours th, .hours td { text-align: left; padding: 0.45rem 0; font-size: 1rem; }
.hours th { font-weight: 500; color: var(--ink); width: 45%; }
.hours td { color: var(--muted); font-variant-numeric: tabular-nums; }
.hours .closed { color: #a8392f; font-weight: 600; }
.visit-map {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--cream-deep);
  min-height: 300px;
  box-shadow: 0 30px 60px -35px rgba(17, 32, 63, 0.45);
}
.visit-map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; filter: grayscale(0.2) contrast(1.02); }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--cream);
  text-align: center;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}
.cta-inner h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 0.8rem; }
.cta-inner h2::after { content: " ★"; color: var(--gold); }
.cta-inner p { color: color-mix(in srgb, var(--cream) 75%, transparent); margin: 0 0 2rem; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1730; color: color-mix(in srgb, var(--cream) 75%, transparent); padding-block: clamp(3rem, 6vw, 4rem); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.footer-brand .brand-star { width: 30px; height: 30px; margin-bottom: 0.8rem; }
.footer-brand .brand-text { font-family: var(--serif); font-size: 1.25rem; color: var(--cream); font-weight: 600; }
.footer-tag { font-size: 0.92rem; margin: 0.6rem 0 0; max-width: 30ch; }
.footer-nav { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-nav a { text-decoration: none; font-size: 0.95rem; transition: color 0.3s var(--ease); }
.footer-nav a:hover { color: var(--gold-bright); }
.footer-meta address { font-style: normal; font-size: 0.95rem; margin-bottom: 0.8rem; color: var(--cream); }
.footer-meta p { font-size: 0.82rem; margin: 0; opacity: 0.7; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); animation: rise 0.9s var(--ease) forwards; }
.reveal:nth-child(1) { animation-delay: 0.05s; }
.reveal:nth-child(2) { animation-delay: 0.18s; }
.reveal:nth-child(3) { animation-delay: 0.32s; }
.reveal:nth-child(4) { animation-delay: 0.46s; }
.reveal:nth-child(5) { animation-delay: 0.6s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.in-view { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.in-view.shown { opacity: 1; transform: translateY(0); }

/* ---------- Responsive (mobile-first: enhance upward) ---------- */

/* Small phones: keep the brand sub-label out of the way */
@media (max-width: 380px) {
  .brand-text small { display: none; }
}

/* Large phone / small tablet */
@media (min-width: 560px) {
  .why-list { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: auto; }
}

/* Tablet: bring back the in-page nav and multi-column footer */
@media (min-width: 720px) {
  .nav a:not(.nav-cta) { display: inline-flex; align-items: center; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1.4fr; gap: 2.5rem; }
  .cta-inner .btn { width: auto; }
}

/* Large phone / small tablet: price list goes two-up */
@media (min-width: 600px) {
  .price-groups { grid-template-columns: 1fr 1fr; }
}

/* Small desktop: two-column editorial layouts */
@media (min-width: 768px) {
  .why-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}

/* Wide: price list goes three-up */
@media (min-width: 1040px) {
  .price-groups { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 880px) {
  .visit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .visit-map, .visit-map iframe { min-height: 380px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .in-view { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
