/* ==========================================================================
   Flowers by Ann — styles
   Design system reproduced from the original Claude design mock-up:
   bold display type, thick ink borders, hard offset shadows, playful pills.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Instrument+Sans:wght@400..700&display=swap');

:root {
  --cream:    #FFF6EC;
  --ink:      #231A1E;
  --magenta:  #C81E6E;
  --amber:    #F7B32B;
  --orange:   #E8590C;
  --green:    #6AA839;
  --muted:    #4A3B41;
  --pink-soft:#FFE3EF;
  --cream-2:  #E8DAD0;

  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, sans-serif;

  --border: 3px solid var(--ink);
  --radius: 22px;
  --maxw: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Ensure the `hidden` attribute always wins over display rules below. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -1px; line-height: 1.02; text-wrap: balance; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: 6vw; }

.accent { color: var(--magenta); }

/* --- Buttons & pills ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 17px;
  padding: 14px 26px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease, background .15s ease, color .15s ease;
}
.btn--primary { background: var(--magenta); color: var(--cream); box-shadow: 4px 4px 0 var(--ink); }
.btn--primary:hover { background: var(--orange); box-shadow: 2px 2px 0 var(--ink); transform: translate(2px, 2px); }
.btn--ghost { background: var(--cream); color: var(--ink); }
.btn--ghost:hover { background: var(--amber); }
.btn--amber { background: var(--amber); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn--amber:hover { background: var(--orange); color: var(--cream); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 600;
  font-size: 14px;
  background: var(--amber);
}

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 6vw;
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.5px;
}
.brand span { color: var(--magenta); }

.nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 15px; }
.nav a { transition: color .15s ease; }
.nav a:hover { color: var(--magenta); }

.nav-toggle {
  display: none;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 12px;
  width: 44px; height: 44px;
  cursor: pointer;
  font-size: 20px;
  align-items: center;
  justify-content: center;
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: 40px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 6vw 72px;
}
.hero__copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero .badge { transform: rotate(-2deg); }
.hero h1 { font-size: clamp(40px, 6.5vw, 84px); letter-spacing: -2px; }
.hero p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; max-width: 46ch; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__media { position: relative; justify-self: center; width: min(100%, 520px); }
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: 260px 260px 28px 28px;
  border: var(--border);
  box-shadow: 10px 10px 0 var(--amber);
}
.float-tag {
  position: absolute;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 14px;
  color: var(--cream);
}
.float-tag--1 { top: 18px; left: -14px; background: var(--green); transform: rotate(-6deg); }
.float-tag--2 { bottom: 26px; right: -10px; background: var(--orange); transform: rotate(4deg); }

/* --- Marquee -------------------------------------------------------------- */
.marquee {
  border-top: var(--border);
  border-bottom: var(--border);
  background: var(--magenta);
  color: var(--cream);
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track {
  display: inline-block;
  padding: 12px 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  animation: marquee 28s linear infinite;
}
.marquee__track span { padding: 0 20px; }
.marquee__track span::after { content: '✿'; color: var(--amber); padding-left: 40px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* --- Section headings ----------------------------------------------------- */
.section { padding: 72px 0; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section h2 { font-size: clamp(32px, 4.5vw, 58px); letter-spacing: -1.5px; }
.section__lead { font-size: 18px; color: var(--muted); max-width: 60ch; margin-top: 12px; }

/* --- Gallery -------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  cursor: pointer;
  background: var(--cream);
  color: var(--ink);
  transition: background .15s ease, color .15s ease;
}
.filter:hover { background: var(--amber); }
.filter.is-active { background: var(--magenta); color: var(--cream); }

/* Masonry via real flex columns (not CSS `columns:`) so that lazy-loaded
   images inside them load reliably — lazy images in a multi-column container
   are not observed by the browser and never appear. */
.gallery { display: flex; align-items: flex-start; gap: 22px; }
.gallery__col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; border-radius: 18px; border: var(--border); }
.gallery figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 10px 4px 0;
}
.gallery figcaption .title { font-weight: 600; font-size: 15px; }
.gallery figcaption .cat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--magenta);
  white-space: nowrap;
}
.gallery figure[hidden] { display: none; }

/* --- About ---------------------------------------------------------------- */
.about { background: var(--ink); color: var(--cream); padding: 80px 6vw; }
.about__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: center;
}
.about img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
  border: 3px solid var(--cream);
  box-shadow: 8px 8px 0 var(--magenta);
  transform: rotate(-1.5deg);
}
.about__copy { display: flex; flex-direction: column; gap: 18px; }
.eyebrow { font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--amber); }
.about h2 { font-size: clamp(28px, 3.6vw, 46px); }
.about p { font-size: 17px; line-height: 1.65; color: var(--cream-2); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 13px; color: var(--cream); }
.chip--magenta { background: var(--magenta); }
.chip--orange { background: var(--orange); }
.chip--green { background: var(--green); }
.chip--amber { background: var(--amber); color: var(--ink); }

/* --- Services ------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.service-card {
  border: var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 6px 6px 0 var(--ink);
}
.service-card .num { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.service-card h3 { font-size: 25px; letter-spacing: -0.5px; }
.service-card p { line-height: 1.6; font-size: 15px; }
.service-card--amber   { background: var(--amber); color: var(--ink); }
.service-card--magenta { background: var(--magenta); color: var(--cream); }
.service-card--orange  { background: var(--orange); color: var(--cream); }
.service-card--green   { background: var(--green); color: var(--cream); }

/* --- Enquiry / booking ---------------------------------------------------- */
.book { background: var(--magenta); border-top: var(--border); padding: 80px 6vw; }
.book__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: start;
}
.book__intro { color: var(--cream); display: flex; flex-direction: column; gap: 16px; }
.book__intro h2 { font-size: clamp(32px, 4.5vw, 56px); }
.book__intro p { font-size: 17px; line-height: 1.6; color: var(--pink-soft); }
.contact-list { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 16px; }
.contact-list a:hover { color: var(--amber); }
.contact-list li { list-style: none; }
.contact-list li::before { content: '✿ '; color: var(--amber); }

.form {
  background: var(--cream);
  border: var(--border);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 8px 8px 0 var(--ink);
}
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 13px; }
.form input, .form select, .form textarea {
  font-family: var(--body);
  font-size: 15px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.form textarea { resize: vertical; }
.form button { align-self: flex-start; }
.form__hint { margin: -4px 0 0; font-size: 13px; color: var(--muted); }
.form__success {
  background: var(--cream);
  border: var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 8px 8px 0 var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.form__success h3 { font-size: 28px; }
.form__success p { color: var(--muted); }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 48px 6vw; }
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}
.site-footer h4 { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.5px; }
.site-footer h4 span { color: var(--amber); }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer-col .label { font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; color: var(--amber); }
.footer-col a:hover { color: var(--amber); }
.footer-note { color: #B8A5AC; font-size: 14px; max-width: 34ch; line-height: 1.5; }
.footer-copy { align-self: end; color: #6E5C63; font-size: 13px; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: var(--border);
    padding: 8px 6vw 16px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--cream-2); }
  .nav a.btn { margin-top: 10px; justify-content: center; border-bottom: 2px solid var(--ink); }
  .site-header { position: sticky; }
  .hero { padding-top: 40px; }
  .gallery { gap: 14px; }
  .gallery__col { gap: 14px; }
}