/* Tammy Viterbo — site styles. Colours and fonts match the original Squarespace design. */

:root {
  --cream: #f9f2ec;
  --peach: #ead3c3;
  --lavender: #d8b7d6;
  --gold: #f0ba52;
  --blue: #b4cef6;
  --ink: #1a1418;
  --text: #1a1418;
  --muted: #6b5f63;

  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Fraunces", Georgia, serif;
  --font-title: "Cormorant Garamond", Georgia, serif;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 15px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 17px/1.65 var(--font-body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
h4 { font-size: 1.15rem; }
p, ul, ol { margin: 0 0 1em; }
li > p { margin: 0; }
hr { border: 0; border-top: 1px solid currentColor; opacity: .25; margin: 2rem 0; }
blockquote { margin: 1.5em 0; padding-left: 1em; border-left: 3px solid var(--gold); font-style: italic; }
figure { margin: 0 0 1.25em; }
figure img { border-radius: 6px; width: 100%; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: .4em; }

.align-center { text-align: center; }
.align-right { text-align: right; }
.text-large { font-size: 1.2em; }
.text-small, .small { font-size: .85rem; }
.muted { color: var(--muted); }
.visually-hidden, .menu-toggle {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* ---------- Buttons ---------- */
.button {
  display: inline-block;
  background: var(--ink);
  color: var(--peach);
  border: 0;
  border-radius: var(--radius);
  padding: .8em 1.6em;
  font: 700 .95rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, opacity .15s ease;
}
.button:hover { opacity: .9; transform: translateY(-1px); }
.button--small { padding: .55em 1.1em; font-size: .85rem; }
.button--light { background: var(--peach); color: var(--ink); }
p:has(> .button + .button) { display: flex; flex-wrap: wrap; gap: .6em; }

/* ---------- Sections ("bands") ---------- */
.band { padding: clamp(48px, 8vw, 96px) 0; }
.band--cream { background: var(--cream); }
.band--peach { background: var(--peach); }
.band--lavender { background: var(--lavender); }
.band--gold { background: var(--gold); }
.band--blue { background: var(--blue); }
.band--title { padding: clamp(36px, 6vw, 64px) 0; }
.band--ink { background: var(--ink); color: var(--peach); }
.band--ink .button { background: var(--peach); color: var(--ink); }
.band--photo {
  background-image: linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,.18)), var(--bg);
  background-size: cover; background-position: center;
  color: #fff; min-height: 50vh; display: flex; align-items: center;
}
.band--photo > .wrap { width: 100%; }
.band--photo .button { background: var(--peach); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.split {
  display: grid; gap: clamp(24px, 5vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  align-items: center;
}
.wrap > *:last-child, .split > div > *:last-child, .narrow > *:last-child { margin-bottom: 0; }

.marquee { font-family: var(--font-heading); font-size: clamp(1.3rem, 3vw, 2rem); text-align: center; word-spacing: .4em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter);
  background: var(--cream);
  border-bottom: 1px solid rgba(26, 20, 24, .06);
}
.logo img { width: 72px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.button) { font-family: var(--font-heading); font-size: .95rem; text-decoration: none; }
.site-nav a:not(.button):hover, .site-nav a[aria-current] { text-decoration: underline; }
.menu-button { display: none; }

@media (max-width: 1000px) {
  .menu-button { display: grid; gap: 5px; cursor: pointer; padding: 10px; }
  .menu-button span { display: block; width: 24px; height: 2px; background: var(--ink); }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 16px;
    background: var(--cream); padding: 16px var(--gutter) 28px;
    border-bottom: 1px solid rgba(26, 20, 24, .08);
  }
  .site-nav ul { flex-direction: column; gap: 12px; }
  .site-nav a:not(.button) { font-size: 1.15rem; }
  .menu-toggle:checked ~ .site-nav { display: flex; }
  .menu-toggle:focus-visible + .menu-button { outline: 2px solid var(--ink); }
}

/* ---------- Homepage hero ---------- */
.hero { padding: clamp(32px, 6vw, 72px) 0; }
.hero .split { align-items: center; }
.hero img { border-radius: 12px; }
.site-title {
  font-family: var(--font-title); font-weight: 300;
  font-size: clamp(3rem, 8vw, 5.4rem); line-height: 1; letter-spacing: -.01em; margin: 0 0 .15em;
}
.site-title span:nth-child(6n+1) { color: #d9a441; }
.site-title span:nth-child(6n+2) { color: #c79bc4; }
.site-title span:nth-child(6n+3) { color: #8fb1e6; }
.site-title span:nth-child(6n+4) { color: #e0a98a; }
.site-title span:nth-child(6n+5) { color: #b9a1d8; }
.site-title span:nth-child(6n+6) { color: #e4b94f; }
.hero .lede { font-family: var(--font-title); font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 1.4em; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.quotes blockquote { margin: 0; border: 0; padding: 24px; background: rgba(255,255,255,.55); border-radius: 12px; font-style: normal; }
.quotes cite { display: block; margin-top: .8em; font-style: normal; font-weight: 700; }

/* ---------- Forms ---------- */
.signup { max-width: 560px; margin: 0 auto; text-align: center; }
.site-footer .signup { margin: 12px 0 0; text-align: left; }
.signup-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 1em 0 .5em; }
.site-footer .signup-form { justify-content: flex-start; }
input, textarea {
  font: inherit; width: 100%; padding: .75em 1em;
  border: 1px solid rgba(26, 20, 24, .2); border-radius: 10px; background: #fff; color: var(--text);
}
.signup-form input { flex: 1 1 220px; width: auto; }
input:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
label { display: block; font-size: .9rem; font-weight: 700; margin-bottom: .3em; }
.contact-form { max-width: 640px; }
.field-row { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.form-note { background: #fff; border-radius: 10px; padding: 12px 16px; font-size: .95rem; }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.post-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.post-card img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; width: 100%; }
.post-card-text { display: flex; flex-direction: column; gap: 4px; }
.post-card strong { font-family: var(--font-heading); font-weight: 400; font-size: 1.2rem; line-height: 1.3; }
.post-card:hover strong { text-decoration: underline; }
.post h1 { margin-top: .2em; }
.post-hero img { border-radius: 12px; }
.pager { display: flex; justify-content: space-between; gap: 24px; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(26,20,24,.15); font-size: .95rem; }

/* ---------- Shop ---------- */
.product-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.product-tile { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.product-tile img, .tile-placeholder { aspect-ratio: 1; object-fit: cover; border-radius: 10px; width: 100%; background: var(--peach); }
.tile-placeholder { display: block; background: var(--peach) url(/assets/img/logo-smiley.png) center / 30% no-repeat; }
.product-tile strong { font-family: var(--font-heading); font-weight: 400; font-size: 1.15rem; }
.product-tile:hover strong { text-decoration: underline; }
.price { font-size: 1.3rem; font-weight: 700; }
.split:has(> .gallery) { align-items: start; }
.gallery { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; align-self: start; }
.gallery img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.gallery img:first-child { grid-column: 1 / -1; aspect-ratio: auto; }
.product-card { background: rgba(255,255,255,.55); padding: 24px; border-radius: 12px; }

/* ---------- Footer ---------- */
.site-footer { font-size: .95rem; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.footer-links { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 6px; }
.site-footer h3 { font-size: 1.2rem; }
