/* Patora — editorial florist site. Layout: soft asymmetric splits of image and text on a warm linen ground,
   one sage band per page for the sustainability message, plum footer. */
/* Self-hosted fonts (no third-party font requests; fallbacks sized to match so text doesn't jump when the fonts arrive) */
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("fonts/caveat-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant fallback"; src: local("Georgia"), local("Times New Roman"); size-adjust: 86%; }
@font-face { font-family: "Montserrat fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 112%; }

:root {
  --linen: #EBE6E0;        /* website background */
  --linen-deep: #E1D9D0;   /* alternate bands */
  --paper: #F3EFEA;        /* raised panels */
  --plum: #57424E;         /* primary: headings, icons */
  --sage: #748474;         /* secondary */
  --ink: #272727;          /* body text */
  --gold: #EBCC90;         /* highlight */
  --rule: rgba(87, 66, 78, .22);

  --display: "Cormorant Garamond", "Cormorant fallback", Georgia, serif;
  --body: "Montserrat", "Montserrat fallback", Arial, sans-serif;
  /* Stand-in for Biro Script Plus (Adobe Fonts) until a web kit is added */
  --hand: "Biro Script Plus", "biro-script-plus", "Caveat", "Segoe Print", cursive;

  --wrap: 1180px;
  --measure: 62ch;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- Type ---------- */
h1, h2, h3, .display {
  font-family: var(--display);
  color: var(--plum);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.005em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; font-weight: 500; }
.display-italic { font-style: italic; }
p { margin: 0; max-width: var(--measure); }
.lead { font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.45; color: var(--plum); max-width: 40ch; }
.hand { font-family: var(--hand); font-size: 1.55rem; line-height: 1.2; color: var(--sage); }
.label {
  font-family: var(--body); font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--sage);
}
.stack { display: flex; flex-direction: column; gap: 1.15rem; }
.stack-lg { display: flex; flex-direction: column; gap: 2rem; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--rule); background: var(--linen); position: relative; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand .tag { font-family: var(--hand); color: var(--sage); font-size: 1.15rem; margin-top: 6px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  text-decoration: none; color: var(--ink); font-size: .74rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; padding-block: 6px;
  border-bottom: 1px solid transparent; transition: border-color .2s, color .2s;
}
.nav a:hover { color: var(--plum); border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { color: var(--plum); border-bottom-color: var(--plum); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule); color: var(--plum);
  font: 500 .7rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; padding: 10px 14px; cursor: pointer;
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--linen); border-bottom: 1px solid var(--rule);
    padding: 12px max(20px, env(safe-area-inset-right, 0px)) 22px max(20px, env(safe-area-inset-left, 0px));
  }
  .nav.open { display: flex; }
  .brand .tag { display: none; }
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
  background: var(--plum); color: var(--linen); text-decoration: none;
  font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  padding: 16px 26px; transition: background .2s;
}
.btn:hover { background: #45343E; }
.btn.light { background: var(--linen); color: var(--plum); }
.btn.light:hover { background: var(--gold); }
.text-link {
  font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--plum); border-bottom: 1px solid var(--plum); padding-bottom: 3px;
  align-self: flex-start;
}
.text-link:hover { color: var(--sage); border-color: var(--sage); }
.link-row { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: .4rem; }

/* ---------- Sections ---------- */
section { padding-block: clamp(64px, 9vw, 120px); }
.band-deep { background: var(--linen-deep); }
.band-sage { background: var(--sage); color: #F6F3EE; }
.band-sage h2, .band-sage h3, .band-sage .lead { color: #FBF8F3; }
.band-sage .label { color: var(--gold); }
.band-sage .hand { color: var(--gold); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split.wide-img { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split.reverse > :first-child { order: 2; }
@media (max-width: 820px) {
  .split, .split.wide-img { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > :first-child { order: 0; }
}

.frame { position: relative; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.portrait { aspect-ratio: 4 / 5; }
.frame.landscape { aspect-ratio: 3 / 2; }
.frame.arch img { border-radius: 999px 999px 0 0; }
.frame figcaption { margin-top: 12px; }

/* ---------- Home hero ---------- */
.hero { padding: 0; }
.hero-image { width: 100%; aspect-ratio: 16 / 9; max-height: 820px; object-fit: cover; object-position: center 30%; display: block; }
@media (max-width: 700px) { .hero-image { aspect-ratio: 4 / 3; max-height: none; object-position: 35% center; } }
.hero-text .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px 80px; align-items: end; padding-block: clamp(48px, 7vw, 96px); }
.hero-text h1 { font-size: clamp(3rem, 7.4vw, 6rem); font-style: italic; line-height: 1.02; }
.hero-text .wordmark { display: flex; flex-direction: column; gap: 6px; margin-bottom: 26px; }
.hero-text .wordmark img { width: min(240px, 60vw); }
@media (max-width: 820px) { .hero-text .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 7vw, 110px); }
.pillar { display: flex; flex-direction: column; gap: 1.3rem; }
.pillar:nth-child(2) { margin-top: clamp(0px, 8vw, 120px); }
@media (max-width: 760px) { .pillars { grid-template-columns: minmax(0, 1fr); } .pillar:nth-child(2) { margin-top: 0; } }

/* ---------- Page head ---------- */
.page-head { padding-block: clamp(56px, 8vw, 104px) clamp(36px, 5vw, 64px); }
.page-head .wrap { display: flex; flex-direction: column; gap: 1.1rem; }
.page-head p { max-width: 54ch; }

/* ---------- Offer grid (sectors, parts of the day) ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); margin-top: 2.6rem; }
.offer { padding: 34px 34px 38px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: .8rem; }
.offer:nth-child(2n) { padding-left: 34px; padding-right: 0; border-left: 1px solid var(--rule); }
.offer .mark { width: 22px; height: 22px; opacity: .9; }
@media (max-width: 700px) {
  .offer-grid { grid-template-columns: minmax(0, 1fr); }
  .offer, .offer:nth-child(2n) { padding: 28px 0; border-left: 0; }
}

/* ---------- Occasions list (events) ---------- */
.occasions { list-style: none; margin: 2.4rem 0 0; padding: 0; border-top: 1px solid var(--rule); }
.occasions li { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 10px 40px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.occasions h3 { font-size: 1.45rem; }
@media (max-width: 700px) { .occasions li { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Promises ---------- */
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.promises li { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid rgba(251, 248, 243, .35); padding-top: 22px; }
.promises.on-light li { border-top-color: var(--rule); }
.promises img { width: 26px; height: 26px; }
@media (max-width: 820px) { .promises { grid-template-columns: minmax(0, 1fr); gap: 26px; } }

/* ---------- Pricing ---------- */
.pricing { background: var(--paper); padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 1.4rem; }
.price-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 56px; }
.price-list li { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px dotted var(--rule); break-inside: avoid; }
.price-list .item { font-family: var(--display); font-size: 1.25rem; color: var(--plum); }
.price-list .amount { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .9rem; }
.price-list .amount small { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-right: 6px; }
.fine { font-size: .8rem; color: #5a5552; }
@media (max-width: 700px) { .price-list { columns: 1; } }

/* ---------- Pull quote ---------- */
.pull { font-family: var(--display); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.25; color: var(--plum); max-width: 26ch; }

/* ---------- Enquiry CTA ---------- */
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 90px; align-items: start; }
.cta .contact-lines { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }
.cta .contact-lines a { text-decoration: none; }
@media (max-width: 820px) { .cta .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Coming soon ---------- */
.soon { min-height: 58vh; display: flex; align-items: center; }
.soon .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.2rem; }
.soon img.icon { width: 64px; height: 64px; }
.soon p { margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: #EDE6E1; font-size: .85rem; }
.site-footer .wrap { padding-block: 72px 36px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.site-footer img.logo { width: 150px; filter: brightness(0) invert(.94); }
.site-footer .hand { color: var(--gold); }
.site-footer a { color: #F5EFEA; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .col { display: flex; flex-direction: column; gap: 8px; }
.site-footer .label { color: var(--gold); margin-bottom: 6px; }
.site-footer .base { grid-column: 1 / -1; border-top: 1px solid rgba(237, 230, 225, .2); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .74rem; letter-spacing: .06em; color: #CFC4C9; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Journal ---------- */
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 40px; }
.journal-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.journal-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.journal-card h2 { font-size: 1.7rem; transition: color .2s; }
.journal-card:hover h2 { color: var(--sage); }
.journal-card .frame img { transition: transform .6s ease; }
.journal-card .frame { overflow: hidden; }
.journal-card:hover .frame img { transform: scale(1.03); }
@media (max-width: 960px) { .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .journal-grid, .journal-grid.two { grid-template-columns: minmax(0, 1fr); } }

.post { padding-block: clamp(48px, 7vw, 96px); }
.post-head { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 1rem; margin-bottom: clamp(32px, 5vw, 56px); }
.post-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.back { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--sage); }
.back:hover { color: var(--plum); }
.post-image { max-width: 1000px; margin-inline: auto !important; }
.post-body { max-width: 680px; margin: clamp(36px, 5vw, 64px) auto 0; display: flex; flex-direction: column; gap: 1.2rem; font-size: 1rem; }
.post-body h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.4rem; }
.post-body h2 .months { font-family: var(--body); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-left: .6rem; vertical-align: middle; }
.post-body ul { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .7rem; max-width: var(--measure); }
.post-body li::marker { color: var(--sage); }
.post-body strong { color: var(--plum); font-weight: 500; }
/* keep faces and key detail in frame when photos are cropped */
img[src$="wedding-bride.jpg"] { object-position: center 30%; }
img[src$="autumn-tablescape.jpg"] { object-position: center 40%; }

/* ---------- Enquiry form ---------- */
.enquiry-form { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--plum); }
.field input, .field textarea {
  font: 400 .95rem/1.5 var(--body); color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule); border-radius: 0; padding: 12px 14px; width: 100%;
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--plum); background: #FBF9F6; }
.field input::placeholder, .field textarea::placeholder { color: #9a918d; }
.enquiry-form .btn { border: 0; cursor: pointer; font-family: var(--body); }
.enquiry-form .btn:disabled { opacity: .6; cursor: progress; }
.form-status { font-size: .88rem; min-height: 1.4em; margin: 0; }
.form-status.ok { color: var(--sage); font-weight: 500; }
.form-status.error { color: #8a3b3b; }
.gotcha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Photo galleries ---------- */
.gallery { display: grid; gap: clamp(16px, 2.6vw, 34px); align-items: start; }
.gallery.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-item { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.gallery-item:nth-child(even) { margin-top: clamp(0px, 4vw, 56px); }
.gallery-item .frame { aspect-ratio: 4 / 5; overflow: hidden; }
.gallery-item .frame img { transition: transform .6s ease; }
.gallery-item:hover .frame img { transform: scale(1.03); }
.gallery-item figcaption { font-family: var(--display); font-style: italic; font-size: 1.08rem; line-height: 1.35; color: var(--plum); }
img[src$="sarah-apron-bouquet.jpg"] { object-position: center 70%; }
img[src$="sarah-wreath.jpg"] { object-position: center 30%; }
@media (max-width: 900px) { .gallery.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery.g4 .gallery-item:nth-child(even) { margin-top: 32px; } }
@media (max-width: 640px) {
  .gallery.g3 { grid-template-columns: minmax(0, 1fr); }
  .gallery.g3 .gallery-item:nth-child(even) { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .gallery-item:hover .frame img { transform: none; } }
.wide-photo { aspect-ratio: 16 / 8 !important; }
.wide-photo img { object-position: center 45%; }
.wide-figure figcaption { font-family: var(--display); font-style: italic; font-size: 1.08rem; color: var(--plum); margin-top: 12px; }
@media (max-width: 640px) { .wide-photo { aspect-ratio: 4 / 3 !important; } }

.wide-photo.horse img { object-position: center 30%; }

/* ---------- Instagram preview ---------- */
.insta { padding-block: clamp(56px, 8vw, 104px); }
.insta-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 60px; }
.insta-head p { max-width: 52ch; }
.insta-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.insta-tile { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--linen-deep); }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.insta-tile:hover img { transform: scale(1.05); opacity: .9; }
@media (max-width: 800px) { .insta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .insta-tile:hover img { transform: none; } }

/* Live Instagram feed (SnapWidget) — scales with the page */
.insta-feed { width: 100%; }
.insta-feed iframe { display: block; width: 100%; aspect-ratio: 1080 / 380; height: auto; border: 0; overflow: hidden; }

/* Touch screens: no hover zooms (they stick on tap and add work while scrolling) */
@media (hover: none) {
  .gallery-item:hover .frame img, .journal-card:hover .frame img, .insta-tile:hover img { transform: none; }
  .gallery-item .frame img, .journal-card .frame img, .insta-tile img { transition: none; }
}
