/* Dipped Confections, styled from the business card */
:root {
  --cream: #f7f1ea;
  --field: #fcf9f5;
  --ink: #231a1d;
  --muted: #5f5550;
  --line: #e2d6cc;
  --terracotta: #a3624f;
  --rust: #8a4b3b;
  --blush: #e8d3c8;
  --blush-soft: #f1e4dc;
  --sage: #949e92;
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Instrument Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --script: "Caveat", "Segoe Print", cursive;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rust); text-underline-offset: 0.18em; }
::selection { background: var(--blush); color: var(--ink); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.skip {
  position: absolute; left: 1rem; top: 0; z-index: 20;
  transform: translateY(-120%);
  background: var(--ink); color: var(--cream);
  padding: 0.5rem 0.8rem; text-decoration: none;
}
.skip:focus { transform: none; }
.wrap { width: min(1120px, calc(100% - 4rem)); margin-inline: auto; }

/* Painted-paper wash: one continuous, fixed background behind the whole page.
   Large feathered terracotta, blush and sage tints fade into the cream,
   with a faint paper grain on top. Nothing sits on the photos. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.36  0 0 0 0 0.26  0 0 0 0 0.22  0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    radial-gradient(max(40vw, 300px) max(34vh, 260px) at 4% 8%, rgba(163, 98, 79, 0.17), rgba(163, 98, 79, 0) 72%),
    radial-gradient(max(26vw, 200px) max(24vh, 180px) at 20% 2%, rgba(163, 98, 79, 0.10), rgba(163, 98, 79, 0) 72%),
    radial-gradient(max(34vw, 260px) max(30vh, 230px) at 82% -2%, rgba(214, 172, 156, 0.30), rgba(214, 172, 156, 0) 72%),
    radial-gradient(max(36vw, 280px) max(40vh, 300px) at 102% 46%, rgba(136, 156, 132, 0.26), rgba(136, 156, 132, 0) 72%),
    radial-gradient(max(22vw, 180px) max(26vh, 200px) at 90% 34%, rgba(136, 156, 132, 0.13), rgba(136, 156, 132, 0) 72%),
    radial-gradient(max(30vw, 240px) max(32vh, 250px) at -4% 58%, rgba(136, 156, 132, 0.11), rgba(136, 156, 132, 0) 72%),
    radial-gradient(max(50vw, 360px) max(36vh, 280px) at 8% 100%, rgba(214, 172, 156, 0.34), rgba(214, 172, 156, 0) 72%),
    radial-gradient(max(30vw, 240px) max(26vh, 200px) at 34% 106%, rgba(214, 172, 156, 0.22), rgba(214, 172, 156, 0) 72%),
    radial-gradient(max(30vw, 240px) max(26vh, 210px) at 98% 100%, rgba(163, 98, 79, 0.11), rgba(163, 98, 79, 0) 72%);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
}

/* Leaf sprig mark */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sprig { display: inline-block; width: 1.6rem; height: 1.6rem; color: var(--ink); flex: none; }

.banner {
  margin: 0;
  background: var(--ink); color: var(--cream);
  text-align: center;
  padding: 0.45rem 1rem;
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
}

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 241, 234, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(163, 98, 79, 0.18);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 2rem; min-height: 4.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--serif); font-weight: 600;
  font-size: 1.15rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; line-height: 1;
}
.brand .sprig { width: 1.45rem; height: 1.45rem; }
.nav {
  display: flex; flex-wrap: wrap; justify-content: flex-end;
  gap: 0.35rem 1.4rem;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--rust);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.4em;
}

.kicker {
  margin: 0 0 1rem;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--rust);
}
h1, h2, h3, .month-label {
  font-family: var(--serif); font-weight: 600;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0.08em;
}
h2 {
  margin: 0 0 2rem;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.2;
  letter-spacing: 0.2em;
}
.tagline {
  margin: 0.6rem 0 0;
  font-family: var(--script); font-weight: 500;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.1;
  color: var(--ink);
  transform: rotate(-2deg);
  transform-origin: left center;
}
.lede {
  margin: 0; max-width: 32rem;
  font-size: 1.15rem; line-height: 1.55;
  color: var(--muted);
}
.prose { max-width: 36rem; }
.prose p { margin: 0 0 0.95rem; }
.prose .lede { color: var(--ink); }

.text-btn, button[type="submit"] {
  display: inline-block; justify-self: start;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  background: var(--ink); color: var(--cream);
  border: 1px solid var(--ink); border-radius: 0;
  padding: 1rem 1.4rem; cursor: pointer;
}
.text-btn:hover, button[type="submit"]:hover { background: var(--rust); border-color: var(--rust); color: var(--cream); }

/* Hero */
.hero { position: relative; padding: 3.5rem 0 3.5rem; }
.hero-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 2rem; align-items: center;
}
.hero-text { grid-column: 1 / span 6; position: relative; z-index: 2; }
.hero-text > .sprig { display: block; width: 2.3rem; height: 2.3rem; margin-bottom: 1.1rem; }
.hero .lede { margin-top: 1.6rem; }
.hero .text-btn { margin-top: 1.9rem; }
.hero-photo { grid-column: 7 / -1; margin: 1.5rem 0 0.5rem; }
.hero-photo img { width: 100%; max-width: 540px; margin-left: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.hero-photo figcaption {
  max-width: 540px; margin: 0.9rem 0 0 auto;
  color: var(--muted); font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}

section { position: relative; padding: 5rem 0; }
.rule { border: 0; border-top: 1px solid rgba(163, 98, 79, 0.2); margin: 0; }

/* Offerings */
.offerings {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2.75rem;
}
.offerings > div { padding-top: 1.25rem; border-top: 1px solid var(--terracotta); }
.offerings h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem; line-height: 1.25; letter-spacing: 0.12em;
}
.offerings p { margin: 0; color: var(--muted); }

/* Gallery */
.gallery {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4.5rem 2rem; align-items: start; counter-reset: shot;
}
.shot { margin: 0; counter-increment: shot; }
.shot a { display: block; color: inherit; text-decoration: none; }
.shot img { width: 100%; transition: opacity 0.4s ease; }
.shot a:hover img { opacity: 0.88; }
.shot figcaption {
  margin-top: 0.85rem;
  display: grid; grid-template-columns: 2.25rem 1fr; column-gap: 0.5rem; row-gap: 0.1rem;
}
.shot figcaption::before {
  content: counter(shot, decimal-leading-zero);
  grid-row: 1 / span 2; padding-top: 0.45rem;
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.14em;
  color: var(--rust);
}
.shot-title {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.45rem; line-height: 1.15;
}
.shot-date { color: var(--muted); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.shot:nth-child(1) { grid-column: 1 / span 7; }
.shot:nth-child(2) { grid-column: 9 / span 4; margin-top: 9rem; }
.shot:nth-child(3) { grid-column: 2 / span 4; }
.shot:nth-child(4) { grid-column: 7 / span 6; margin-top: 5rem; }
.shot:nth-child(5) { grid-column: 1 / span 6; }
.shot:nth-child(6) { grid-column: 8 / span 5; margin-top: 11rem; }
.shot:nth-child(7) { grid-column: 3 / span 5; }
.shot:nth-child(8) { grid-column: 9 / span 4; margin-top: 7rem; }

/* Ordering */
.steps {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 2.5rem;
}
.steps li {
  display: grid; align-content: start; gap: 0.75rem;
  padding-top: 1.25rem; border-top: 1px solid var(--terracotta);
}
.steps p { margin: 0; color: var(--muted); }
.steps span {
  font-family: var(--serif); font-weight: 500;
  font-size: 2.4rem; line-height: 1; color: var(--terracotta);
}

/* Forms */
form { max-width: 40rem; display: grid; gap: 1.2rem; scroll-margin-top: 6rem; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: end; }
label {
  display: block;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.optional, .hint {
  font-size: 0.92rem; font-weight: 400;
  letter-spacing: 0.02em; text-transform: none; color: var(--muted);
}
.hint { display: block; margin: 0.45rem 0 0; }
input, select, textarea {
  display: block; width: 100%; margin-top: 0.45rem;
  font-family: var(--sans); font-size: 1rem; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: inherit;
  background: rgba(252, 249, 245, 0.85);
  border: 1px solid #d8cabf; border-radius: 0;
  padding: 0.8rem 0.75rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--rust); }
textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.preview-note { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.95rem; }
.back { display: inline-block; margin-top: 2.25rem; font-size: 0.95rem; }

/* Inner pages */
.page { padding: 4.25rem 0 5rem; }
.page > .wrap > .sprig { display: block; width: 2.3rem; height: 2.3rem; margin-bottom: 1.1rem; }
.page h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
.page .lede { margin-top: 1.5rem; }
.page-layout {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.05fr);
  gap: 3rem 4.5rem; align-items: start;
}

/* Footer */
.site-footer {
  background: transparent;
  border-top: 1px solid rgba(163, 98, 79, 0.2);
  padding: 2.75rem 0;
  color: var(--muted);
  font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.footer-mark { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.75rem; }
.footer-mark .tagline { margin: 0; font-size: 1.6rem; text-transform: none; letter-spacing: 0; }
.site-footer .wrap.footer-row {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; justify-content: space-between;
  padding-top: 1.25rem; border-top: 1px solid rgba(163, 98, 79, 0.16);
}
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--rust); text-decoration: underline; text-underline-offset: 0.25em; }

/* Lightbox */
.lightbox { display: none; }
.lightbox:target {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 40;
  padding: 4rem 1.5rem 2rem;
}
.lightbox-dismiss { position: absolute; inset: 0; background: rgba(35, 26, 29, 0.94); }
.lightbox-figure { position: relative; z-index: 1; margin: 0; width: min(760px, 100%); }
.lightbox-figure img { width: 100%; }
.lightbox-figure figcaption {
  margin-top: 0.85rem; color: var(--cream);
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--serif); font-style: italic; font-size: 1.3rem;
}
.lightbox-figure figcaption span:last-child {
  font-family: var(--sans); font-style: normal; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; align-self: center;
}
.lightbox-close {
  position: absolute; z-index: 2; top: 1.1rem; right: 1.25rem;
  color: var(--cream); text-decoration: none;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
}

/* Calendar */
.cal-bar {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 1rem; margin: 3rem 0 1.25rem;
}
.month-label {
  margin: 0; text-align: center;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: 0.16em;
}
.month-btn {
  font: inherit; font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: transparent; color: var(--ink);
  border: 0; border-bottom: 1px solid var(--ink);
  padding: 0.15rem 0 0.2rem; cursor: pointer;
}
.month-btn:hover { color: var(--rust); border-bottom-color: var(--rust); }
.weekdays, .cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.weekdays { border-bottom: 1px solid var(--terracotta); }
.weekday {
  padding: 0.55rem 0.35rem 0.7rem;
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); text-align: center;
}
.cal { border-bottom: 1px solid var(--line); background: rgba(252, 249, 245, 0.45); }
.day { min-height: 6.25rem; padding: 0.55rem 0.45rem 0.7rem; border-top: 1px solid var(--line); }
.cal > .day:nth-child(-n+7) { border-top: 0; }
.day-num { font-variant-numeric: tabular-nums; font-size: 0.92rem; }
.is-today .day-num {
  display: inline-grid; place-items: center;
  width: 1.75rem; height: 1.75rem; margin: -0.2rem 0 0 -0.25rem;
  border-radius: 50%; background: var(--terracotta); color: var(--cream);
}
.has-event { background: rgba(241, 228, 220, 0.8); }
.day-title {
  display: block; margin-top: 0.4rem;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1rem; line-height: 1.2; color: var(--ink);
}
.event-list { margin-top: 2rem; max-width: 40rem; }
.empty {
  margin: 0; padding: 1.1rem 0;
  color: var(--muted);
  font-family: var(--serif); font-style: italic; font-size: 1.35rem;
  border-top: 1px solid var(--line);
}
.event-items { list-style: none; margin: 0; padding: 0; }
.event-items li { display: grid; gap: 0.2rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.event-date { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.event-title { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: 0.06em; text-transform: uppercase; }
.event-kind { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); }
.event-note { color: var(--muted); }

/* Photos page: category filters and grid */
.filters {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem;
  margin: 2.75rem 0 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(163, 98, 79, 0.2);
}
.filter-btn {
  display: inline-flex; align-items: baseline; gap: 0.45rem;
  font: inherit; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  background: transparent; border: 0; border-bottom: 1px solid transparent;
  padding: 0.35rem 0 0.3rem; cursor: pointer;
}
.filter-btn:hover { color: var(--ink); }
.filter-btn[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--rust); }
.filter-count { font-size: 0.66rem; letter-spacing: 0.08em; color: var(--rust); font-variant-numeric: tabular-nums; }
.filters { margin-bottom: 2.75rem; }
.filter-status {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.photo-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.25rem 2rem;
}
.tile { margin: 0; }
.tile a { display: block; }
.tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: opacity 0.4s ease; }
.tile a:hover img { opacity: 0.88; }
.tile figcaption { margin-top: 0.85rem; display: grid; gap: 0.15rem; }
.tile-cat {
  margin-top: 0.2rem;
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rust);
}
.photos-empty { grid-column: 1 / -1; max-width: 40rem; border-top: 0; padding-top: 0.25rem; }
.photos-empty a { font-family: var(--sans); font-style: normal; font-size: 0.95rem; }
.see-all { margin: 4rem 0 0; text-align: right; }
.see-all a {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--rust); padding-bottom: 0.2rem;
}
.see-all a:hover { color: var(--rust); }

@media (min-width: 901px) {
  .page-layout > div:first-child { position: sticky; top: 6.5rem; }
}
@media (max-width: 900px) {
  .wrap { width: min(1120px, calc(100% - 2.5rem)); }
  .hero-grid { grid-template-columns: 1fr; gap: 1rem; }
  .hero-text, .hero-photo { grid-column: 1 / -1; }
  .hero-photo { margin: 2.5rem 0 1rem; }
  .hero-photo img, .hero-photo figcaption { max-width: none; }
  .offerings, .steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .page-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 1.25rem; }
  .shot:nth-child(n) { grid-column: auto; margin-top: 0; }
  .shot:nth-child(3n+1) { grid-column: 1 / -1; }
  .shot:nth-child(even) { margin-top: 3rem; }
  .fields-2 { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.25rem; }
  .day { min-height: 4.4rem; }
  .day-title { font-size: 0.85rem; }
}
@media (max-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 1.5rem)); }
  .site-header .wrap {
    flex-direction: column; align-items: flex-start;
    gap: 0.7rem; padding: 0.9rem 0 1rem; min-height: 0;
  }
  .brand { font-size: 1.05rem; letter-spacing: 0.14em; }
  .nav { justify-content: flex-start; gap: 0.6rem 0.85rem; font-size: 0.68rem; letter-spacing: 0.1em; }
  .hero { padding-top: 2.5rem; }
  h1 { letter-spacing: 0.06em; }
  section { padding: 3.5rem 0; }
  .page { padding-top: 2.5rem; }
  .gallery { grid-template-columns: 1fr; gap: 2.75rem; }
  .shot:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .weekday { letter-spacing: 0.04em; font-size: 0.62rem; }
  .day { min-height: 3.4rem; padding: 0.35rem 0.2rem 0.45rem; }
  .day-num { font-size: 0.8rem; }
  .is-today .day-num { width: 1.45rem; height: 1.45rem; margin: -0.15rem 0 0 -0.1rem; }
  .day-title { font-size: 0.7rem; }
  .lightbox-figure figcaption { flex-direction: column; gap: 0.35rem; }
  .filters { gap: 0.4rem 1.1rem; margin-top: 2rem; }
  .filter-btn { letter-spacing: 0.12em; }
  .photo-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .see-all { margin-top: 2.75rem; text-align: left; }
  .footer-mark .tagline { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shot img { transition: none; }
}
