/* Anna's Tailor and Alterations — static marketing site.
   Palette drawn from the storefront: forest-green trim, warm wood, cream walls,
   with an antique-gold frame. Display type: Playfair Display; body: Lato. */

:root {
  --cream: #f6f1e7;
  --cream-deep: #efe7d6;
  --ink: #232f28;
  --muted: #6a6357;
  --green: #2f4a3a;
  --green-soft: #5b7a63;
  --gold: #b08d57;
  --gold-soft: #caa76e;
  --line: #e3d9c6;
  --surface: #fffdf8;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  line-height: 1.7;
  font-size: 19px;
}

/* One typeface throughout — EB Garamond for headings AND body. Headings stand
   apart by size, weight, and color rather than by a different family. */
.font-display {
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
}

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

/* ------------------------------------------------------------------ Hero */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  overflow: hidden;
}

/* Blurred storefront photo. Scaled up so the blur's soft edges never reveal
   the frame of the viewport. */
.hero__bg {
  position: absolute;
  inset: 0;
  background: url('assets/annas-tailor.jpeg') center 40% / cover no-repeat;
  filter: blur(3px) brightness(1.04) saturate(1.04);
  transform: scale(1.06);
  z-index: 0;
}

/* Soft cream veil — keeps the mood light and airy while giving the card a
   clean field to sit on. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 252, 246, 0.5) 0%, rgba(244, 238, 228, 0.66) 100%);
  z-index: 1;
}

/* ------------------------------------------------------------------ Card */

.card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 470px;
  background: rgba(255, 253, 248, 0.97);
  border: 1px solid var(--gold);
  outline: 1px solid var(--gold);
  outline-offset: 7px;
  border-radius: 26px;
  padding: 46px 40px 40px;
  text-align: center;
  box-shadow: 0 26px 56px rgba(70, 58, 38, 0.24);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.card h1 {
  margin: 0;
  font-size: clamp(2.1rem, 7vw, 2.9rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--green);
}
.card h1 .amp {
  display: block;
  font-size: 0.6em;
  font-style: italic;
  font-weight: 500;
  color: var(--green-soft);
  margin-top: 2px;
}

.tagline {
  margin: 12px 0 0;
  font-style: italic;
  color: var(--muted);
  font-size: 1.02rem;
}

/* Gold rule with a small diamond — a tailor's finishing touch. */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
}
.ornament::before,
.ornament::after {
  content: '';
  height: 1px;
  width: 60px;
  background: linear-gradient(to var(--dir, right), transparent, var(--gold));
}
.ornament::after { --dir: left; }
.ornament span {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--gold);
}

/* Detail rows */
.details {
  margin: 0;
  display: grid;
  gap: 18px;
  text-align: center;
}
.details div { display: grid; gap: 3px; }
.details dt {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.details dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
}
.details dd a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold-soft); }
.details dd a:hover { color: var(--green); }

/* Button */
.btn {
  display: inline-block;
  margin-top: 30px;
  background: var(--green);
  color: var(--cream);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: #263c30; transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* --------------------------------------------------------------- Footer */

footer {
  background: var(--cream-deep);
  color: var(--ink);
  text-align: center;
  padding: 44px 24px;
  border-top: 1px solid var(--gold);
}
footer .links {
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  justify-content: center;
}
footer .links a {
  color: var(--green);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border-bottom: 1px solid transparent;
}
footer .links a:hover { border-bottom-color: var(--gold); }
footer .copy { color: var(--muted); font-size: 0.82rem; margin: 8px 0 0; }

/* ---------------------------------------------------------- Legal pages */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}
.legal h1 {
  font-size: clamp(1.8rem, 5vw, 2.3rem);
  color: var(--green);
  margin: 0 0 4px;
}
.legal .updated { color: var(--muted); font-size: 0.9rem; margin: 0 0 28px; }
.legal h2 {
  font-size: 1.2rem;
  color: var(--ink);
  margin: 30px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--green); }
.back {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
}

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 20px 0;
  font-weight: 500;
}

@media (max-width: 480px) {
  .card { padding: 40px 26px 34px; outline-offset: 5px; }
}
