/* Aman Fashions: "Pink Script Nights" */
:root {
  --bg: #111014;
  --surface: #1e1b22;
  --ink: #f6f0f3;
  --muted: #b9aeb6;
  --pink: #e58fb5;
  --gold: #c9a35a;
  --goldline: rgba(201, 163, 90, .5);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Century Gothic", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --max: 76rem;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, p, ul, figure, table { margin: 0; }

a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--pink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--pink); color: var(--bg); padding: .6rem 1rem; text-decoration: none; font-weight: 500;
}
.skip:focus { top: 1rem; color: var(--bg); }

.wrap { max-width: var(--max); margin-inline: auto; }
.band { padding: clamp(3.5rem, 9vw, 7rem) var(--gutter); }

h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 5.2vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -.005em;
  text-wrap: balance;
}
h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--pink);
}
.muted { color: var(--muted); }

/* Buttons: pink with dark text */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .7rem 1.5rem;
  background: var(--pink); color: var(--bg);
  font-family: var(--sans); font-weight: 500; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none; border-radius: 2px;
  transition: background-color .15s ease;
}
.btn:hover { background: #f2a9c8; color: var(--bg); }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.btn-small { min-height: 2.75rem; padding: .5rem .85rem; font-size: 1rem; white-space: nowrap; }

/* Thin gold rule with one sparkle */
.rule {
  display: flex; align-items: center; gap: 1rem;
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
}
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: var(--goldline); }
.rule svg { width: 14px; height: 14px; fill: var(--gold); }

/* Precise crops of the one shopfront photograph (1360 x 1020).
   --cx/--cy: top-left of the crop in source pixels, --cw/--ch: its size. */
.crop { position: relative; overflow: hidden; aspect-ratio: var(--cw) / var(--ch); }
.crop img {
  position: absolute; max-width: none; height: auto;
  width: calc(1360 / var(--cw) * 100%);
  left: calc(var(--cx) / var(--cw) * -100%);
  top: calc(var(--cy) / var(--ch) * -100%);
}

/* Header */
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 1.5rem;
  max-width: var(--max); margin-inline: auto;
  padding: .9rem var(--gutter);
}
.brand {
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(1.15rem, 5vw, 1.35rem);
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.site-nav { order: 3; width: 100%; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem 1.4rem; }
.site-nav a { display: inline-block; padding: .45rem 0; color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--pink); }
@media (min-width: 48rem) {
  .site-nav { order: 0; width: auto; margin-left: auto; }
  .site-nav ul { gap: 2rem; }
}

/* Hero: the lit shopfront at night */
.hero { padding-bottom: clamp(3rem, 8vw, 5.5rem); }
.hero-photo {
  --cx: 340; --cy: 250; --cw: 800; --ch: 480; --side: 7%;
  max-width: 66rem; margin-inline: auto;
}
.hero-photo img { filter: saturate(1.12) contrast(1.06) brightness(.92); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, var(--bg) 0, rgba(17, 16, 20, 0) var(--side), rgba(17, 16, 20, 0) calc(100% - var(--side)), var(--bg) 100%),
    linear-gradient(to bottom, rgba(17, 16, 20, .35) 0, rgba(17, 16, 20, 0) 8%, rgba(17, 16, 20, 0) 66%, var(--bg) 99%),
    radial-gradient(ellipse at 50% 40%, rgba(17, 16, 20, 0) 52%, rgba(17, 16, 20, .7) 100%);
}
.hero-text {
  position: relative; text-align: center;
  margin-top: -1.75rem; padding-inline: var(--gutter);
}
.hero h1 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(4.2rem, 19vw, 8rem); line-height: .95; letter-spacing: -.01em;
  color: var(--pink);
  text-shadow: 0 0 .35em rgba(229, 143, 181, .38);
}
.hero h1 span { display: block; }
.hero-lede {
  max-width: 31rem; margin: 1.4rem auto 0;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem); font-weight: 300; line-height: 1.5;
}
.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .9rem 1.75rem;
  margin-top: 1.75rem;
}
.hero-note { margin-top: 1.25rem; color: var(--muted); font-size: 1rem; }

@media (min-width: 56rem) {
  .hero-photo { --cy: 252; --ch: 410; --side: 14%; }
  .hero-text { margin-top: -4.25rem; }
  .hero h1 { font-size: clamp(5rem, 11.5vw, 10rem); }
  .hero h1 span { display: inline; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { animation: lights-up 1.8s ease-out both; }
  .hero h1 { animation: sign-on 1.5s .3s steps(1, end) both; }
}
@keyframes lights-up {
  from { filter: saturate(.5) contrast(1) brightness(.28); }
  to { filter: saturate(1.12) contrast(1.06) brightness(.92); }
}
@keyframes sign-on {
  0% { opacity: .18; text-shadow: none; }
  20% { opacity: 1; }
  27% { opacity: .3; text-shadow: none; }
  36% { opacity: 1; }
  44% { opacity: .55; }
  50%, 100% { opacity: 1; }
}

/* Statement */
.statement { text-align: center; }
.statement p {
  max-width: 24em; margin-inline: auto;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.45rem, 3.4vw, 2.25rem); line-height: 1.35;
  text-wrap: balance;
}
.statement .statement-sign {
  margin-top: 1.5rem;
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--muted);
  max-width: 30rem;
}

/* Collections: five window panes */
.section-head { max-width: 40rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head p { margin-top: .9rem; color: var(--muted); max-width: 34rem; }

.tiles { list-style: none; padding: 0; display: grid; border-top: 1px solid var(--goldline); }
.tile { padding: 1.35rem 0 1.45rem; border-bottom: 1px solid var(--goldline); }
.tile p { margin-top: .35rem; color: var(--muted); max-width: 30rem; }
.tile a { display: inline-block; margin-top: .5rem; padding: .25rem 0; }

@media (min-width: 40rem) and (max-width: 63.99rem) {
  .tile { display: grid; grid-template-columns: 13rem 1fr; gap: 0 1.5rem; align-items: baseline; }
  .tile p { margin-top: 0; }
  .tile a { grid-column: 2; justify-self: start; }
}
@media (min-width: 64rem) {
  .tiles { grid-template-columns: repeat(5, 1fr); border: 1px solid var(--goldline); }
  .tile {
    display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 21rem; padding: 1.5rem 1.35rem 1.6rem;
    border-bottom: 0; border-right: 1px solid var(--goldline);
    background:
      radial-gradient(120% 55% at 50% 0, rgba(229, 143, 181, .13), rgba(229, 143, 181, 0) 70%),
      var(--surface);
  }
  .tile:last-child { border-right: 0; }
  .tile p { margin-top: .6rem; font-size: 1rem; line-height: 1.55; }
}

/* The window: framed crops */
.window-grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.window-text p { margin-top: 1.1rem; max-width: 33rem; }
.window-text p + p { color: var(--muted); }
.frames {
  display: grid; gap: .9rem;
  grid-template-columns: 9fr 11fr;
  grid-template-areas: "sign sign" "left right";
  align-items: start;
}
.frame { border: 1px solid var(--gold); padding: 5px; background: var(--bg); }
.frame figcaption { padding: .5rem .35rem .3rem; font-size: .9rem; line-height: 1.4; color: var(--muted); }
.frame-sign { grid-area: sign; }
.frame-left { grid-area: left; }
.frame-right { grid-area: right; }
.frame-sign .crop { --cx: 470; --cy: 275; --cw: 560; --ch: 150; }
.frame-left .crop { --cx: 378; --cy: 540; --cw: 200; --ch: 260; }
.frame-right .crop { --cx: 752; --cy: 520; --cw: 216; --ch: 172; }
@media (min-width: 56rem) {
  .window-grid { grid-template-columns: 5fr 6fr; }
  .frames { grid-template-areas: "left sign" "left right"; max-width: 34rem; justify-self: end; width: 100%; }
}

/* Bridal choora */
.choora { background: var(--surface); }
.choora-grid { display: grid; gap: 2rem clamp(2rem, 6vw, 5rem); align-items: center; }
.choora-art { width: min(11rem, 50%); height: auto; }
.choora-text p { margin-top: 1.1rem; max-width: 33rem; }
.choora-text .btn { margin-top: 1.75rem; }
@media (min-width: 48rem) {
  .choora-grid { grid-template-columns: auto 1fr; }
  .choora-art { width: clamp(11rem, 20vw, 16rem); }
}

/* Services: centred */
.services { text-align: center; }
.services h2 { max-width: 16em; margin-inline: auto; }
.service-list { list-style: none; padding: 0; display: grid; margin-top: clamp(2rem, 5vw, 3.5rem); }
.service { padding: 1.75rem 0; border-top: 1px solid var(--goldline); }
.service:last-child { border-bottom: 1px solid var(--goldline); }
.service p { margin: .6rem auto 0; max-width: 21rem; color: var(--muted); }
@media (min-width: 56rem) {
  .service-list { grid-template-columns: repeat(3, 1fr); }
  .service { padding: .5rem 2rem; border-top: 0; border-left: 1px solid var(--goldline); }
  .service:first-child { border-left: 0; }
  .service:last-child { border-bottom: 0; }
}
.services-cta { margin-top: clamp(2rem, 5vw, 3.25rem); }

/* Visit */
.visit-grid { display: grid; gap: 2.5rem clamp(2rem, 6vw, 5rem); }
.visit-grid address { font-style: normal; margin-top: 1.25rem; font-size: 1.2rem; line-height: 1.5; }
.visit-grid address + p { margin-top: .6rem; color: var(--muted); max-width: 30rem; }
.visit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.75rem; margin-top: 1.75rem; }
.hours { width: 100%; max-width: 26rem; border-collapse: collapse; font-size: 1.15rem; }
.hours caption {
  text-align: left; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--pink);
  padding-bottom: .9rem;
}
.hours th, .hours td { padding: .85rem 0; border-top: 1px solid var(--goldline); font-weight: 400; text-align: left; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--goldline); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours-note { margin-top: 1rem; color: var(--muted); max-width: 26rem; }
@media (min-width: 56rem) {
  .visit-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .hours { justify-self: end; }
  .visit-hours { justify-self: end; width: 100%; max-width: 26rem; }
}

/* Footer: the shop sign */
.site-footer { padding: 0 var(--gutter) 2.5rem; }
.signboard {
  position: relative; max-width: var(--max); margin-inline: auto;
  padding: 3.4rem 1rem 2rem; text-align: center;
  border: 1px solid var(--gold);
  background:
    linear-gradient(168deg, rgba(255, 255, 255, .09) 0, rgba(255, 255, 255, .02) 34%, rgba(255, 255, 255, 0) 34.2%),
    #000;
  box-shadow: inset 0 0 0 4px #000, inset 0 0 0 5px rgba(201, 163, 90, .35);
}
.sign-tel, .sign-no { position: absolute; top: .85rem; font-size: .95rem; color: var(--ink); }
.sign-tel { left: 1.1rem; }
.sign-tel a { text-decoration: none; display: inline-block; padding: .2rem 0; }
.sign-no { right: 1.1rem; font-weight: 500; padding: .2rem 0; }
.sign-name {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(2.2rem, 10.5vw, 6.5rem); line-height: 1.05; color: var(--pink);
  text-shadow: 0 0 .4em rgba(229, 143, 181, .3);
}
.sign-line { margin-top: .6rem; font-weight: 500; font-size: clamp(.95rem, 1.9vw, 1.3rem); line-height: 1.35; text-wrap: balance; }
@media (min-width: 48rem) { .signboard { padding: 3.5rem 2rem 2.75rem; } }

.footer-cols {
  max-width: var(--max); margin: 2.25rem auto 0;
  display: grid; gap: 1.75rem 2.5rem;
}
.footer-cols h2 { font-family: var(--sans); font-style: normal; font-weight: 500; font-size: 1rem; line-height: 1.4; color: var(--gold); letter-spacing: 0; }
.footer-cols p, .footer-cols address { font-style: normal; color: var(--muted); margin-top: .3rem; }
.footer-cols a { display: inline-block; padding: .2rem 0; }
@media (min-width: 48rem) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-small {
  max-width: var(--max); margin: 2.25rem auto 0; padding-top: 1.25rem;
  border-top: 1px solid var(--goldline);
  color: var(--muted); font-size: .95rem;
  display: flex; flex-wrap: wrap; gap: .25rem 2rem; justify-content: space-between;
}
