
:root {
  --ink: #3b2a1a;          
  --walnut: #5c3d24;       
  --umber: #7a5332;        
  --tan: #d9c09a;          
  --parchment: #f1e3c4;    
  --cream: #fbf4e2;        
  --sunflower: #f2b61c;    
  --sunflower-deep: #d99a0b;
  --sunflower-soft: #fbe3a0;

  --font-display: "IM Fell English", "Iowan Old Style", Georgia, serif;
  --font-body: "EB Garamond", Garamond, Georgia, serif;
  --font-hand: "Caveat", "Segoe Print", cursive;

  --radius: 6px;
  --shadow: 0 2px 0 rgba(59, 42, 26, .08), 0 10px 24px -12px rgba(59, 42, 26, .45);
  --max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.65;
  background-color: var(--parchment);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .24 0 0 0 0 .14 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(255, 250, 235, .55) 0%, rgba(255, 250, 235, 0) 60%),
    radial-gradient(ellipse at top left, rgba(122, 83, 50, .18), transparent 45%),
    radial-gradient(ellipse at bottom right, rgba(122, 83, 50, .22), transparent 50%);
}

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

a { color: var(--walnut); text-decoration-color: var(--sunflower-deep); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--ink); text-decoration-color: var(--sunflower); }

:focus-visible { outline: 3px dashed var(--sunflower-deep); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--walnut);
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1em; }

.hand { font-family: var(--font-hand); font-size: 1.5em; color: var(--umber); line-height: 1.2; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--sunflower); color: var(--ink); padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }

.site-header {
  padding: 1.5rem 0 .5rem;
  position: relative;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none; color: var(--walnut);
}
.brand img { width: 64px; height: 64px; transition: transform .4s ease; }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand-name { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-hand); font-size: 1.1rem; color: var(--umber); margin-top: .2rem; }

.nav-toggle {
  display: none;
  background: var(--cream); border: 2px solid var(--walnut); border-radius: var(--radius);
  font: inherit; font-family: var(--font-display); color: var(--walnut);
  padding: .35rem .8rem; cursor: pointer;
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .35rem; flex-wrap: wrap; }
.site-nav a {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--walnut);
  padding: .35rem .9rem;
  border-radius: 999px;
  position: relative;
  transition: background .2s, transform .2s;
}
.site-nav a:hover { background: rgba(242, 182, 28, .22); transform: translateY(-1px) rotate(-1deg); }
.site-nav a[aria-current="page"]::after {
  /* wavy sunflower underline */
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .05rem; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8'%3E%3Cpath d='M0 4 Q6 0 12 4 T24 4' fill='none' stroke='%23d99a0b' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x;
  background-size: 24px 8px;
}

.flourish {
  --print-image: url("assets/foot.svg");
  --print-rotate: 90deg;
  --print-size: 35px;
  --step: .4s;
  --cycle: calc(var(--step) * 12);  

  position: relative;
  max-width: 520px;
  height: 48px;
  margin: 2.5rem auto;
}
.flourish::before {              
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--tan) 15%, var(--umber) 50%, var(--tan) 85%, transparent);
  opacity: .6;
}
.flourish .track {
  position: absolute; inset: 0 8%;
  display: flex; align-items: center; justify-content: space-between;
}
.flourish .track i {
  --flip: 1;                      
  width: var(--print-size); height: var(--print-size);
  background: var(--print-image) center / contain no-repeat;
  rotate: var(--print-rotate);
  translate: 0 7px;
  scale: var(--flip) 1;
  opacity: 0;
  animation: footstep var(--cycle) ease-out infinite;
}
.flourish .track i:nth-child(odd) { --flip: -1; translate: 0 -7px; }

.flourish .track i:nth-child(1) { animation-delay: calc(var(--step) * 0); }
.flourish .track i:nth-child(2) { animation-delay: calc(var(--step) * 1); }
.flourish .track i:nth-child(3) { animation-delay: calc(var(--step) * 2); }
.flourish .track i:nth-child(4) { animation-delay: calc(var(--step) * 3); }
.flourish .track i:nth-child(5) { animation-delay: calc(var(--step) * 4); }
.flourish .track i:nth-child(6) { animation-delay: calc(var(--step) * 5); }
.flourish .track i:nth-child(7) { animation-delay: calc(var(--step) * 6); }
.flourish .track i:nth-child(8) { animation-delay: calc(var(--step) * 7); }
.flourish .track i:nth-child(9) { animation-delay: calc(var(--step) * 8); }

/*test*/
.flourish.reverse .track i {
  rotate: calc(var(--print-rotate) + 180deg);
  translate: 0 -7px;
}
.flourish.reverse .track i:nth-child(odd) { translate: 0 7px; }

.flourish.reverse .track i:nth-child(1) { animation-delay: calc(var(--step) * 8); }
.flourish.reverse .track i:nth-child(2) { animation-delay: calc(var(--step) * 7); }
.flourish.reverse .track i:nth-child(3) { animation-delay: calc(var(--step) * 6); }
.flourish.reverse .track i:nth-child(4) { animation-delay: calc(var(--step) * 5); }
.flourish.reverse .track i:nth-child(5) { animation-delay: calc(var(--step) * 4); }
.flourish.reverse .track i:nth-child(6) { animation-delay: calc(var(--step) * 3); }
.flourish.reverse .track i:nth-child(7) { animation-delay: calc(var(--step) * 2); }
.flourish.reverse .track i:nth-child(8) { animation-delay: calc(var(--step) * 1); }
.flourish.reverse .track i:nth-child(9) { animation-delay: calc(var(--step) * 0); }

@keyframes footstep {
  0%   { opacity: 0;   scale: calc(1.35 * var(--flip)) 1.35; }  
  4%   { opacity: 1;   scale: var(--flip) 1; }                   
  38%  { opacity: .85; scale: var(--flip) 1; }                   
  60%  { opacity: 0;   scale: var(--flip) 1; }                  
  100% { opacity: 0;   scale: var(--flip) 1; }
}

@media (prefers-reduced-motion: reduce) {
  .flourish .track i { opacity: .8; }
}

main { flex: 1; padding-bottom: 3rem; }

.page-intro { text-align: center; padding: 2rem 0 .5rem; }
.page-intro p { max-width: 640px; margin-inline: auto; color: var(--umber); }

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--sunflower);
  border: 2px solid var(--walnut);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; /* hand-drawn wobble */
  padding: .55rem 1.4rem;
  box-shadow: 3px 3px 0 var(--walnut);
  transition: transform .15s, box-shadow .15s, background .2s;
  cursor: pointer;
}
.btn:hover { background: var(--sunflower-soft); color: var(--ink); transform: translate(-1px, -1px) rotate(-1deg); box-shadow: 5px 5px 0 var(--walnut); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--walnut); }
.btn.ghost { background: var(--cream); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

.paper {
  background: var(--cream);
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  position: relative;
}

.taped {
  background: var(--cream);
  padding: .8rem .8rem 2.6rem;
  box-shadow: var(--shadow);
  position: relative;
  transform: rotate(-2deg);
}
.taped::before, .taped::after {
  content: ""; position: absolute; width: 90px; height: 26px;
  background: rgba(242, 182, 28, .55);
  border-left: 2px dotted rgba(255,255,255,.5);
  border-right: 2px dotted rgba(255,255,255,.5);
  top: -12px;
}
.taped::before { left: -18px; transform: rotate(-35deg); }
.taped::after  { right: -18px; transform: rotate(35deg); }
.taped figcaption { font-family: var(--font-hand); font-size: 1.35rem; text-align: center; color: var(--umber); margin-top: .5rem; }

.about-hero {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 3.5rem; align-items: center;
  padding-top: 2rem;
}
.about-hero .taped img { aspect-ratio: 4 / 5; object-fit: contain; width: 100%; background: var(--tan); }
.about-hero .eyebrow { margin-bottom: .2rem; }
.about-hero .lede { font-size: 1.3rem; }
.dropcap::first-letter {
  float: left; font-family: var(--font-display); font-size: 3.6em; line-height: .85;
  padding: .1em .12em 0 0; color: var(--sunflower-deep);
}

.three-up { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.note-card { text-align: center; }
.note-card:nth-child(1) { transform: rotate(-1deg); }
.note-card:nth-child(2) { transform: rotate(.8deg); }
.note-card:nth-child(3) { transform: rotate(-.5deg); }
.note-card .icon { font-size: 2.2rem; line-height: 1; margin-bottom: .4rem; }

.peek-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.peek-strip a { display: block; }
.peek-strip .taped { padding-bottom: .8rem; transition: transform .3s; }
.peek-strip a:nth-child(even) .taped { transform: rotate(2deg); }
.peek-strip a:hover .taped { transform: rotate(0) scale(1.04); }
.peek-strip img { aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--tan); }
.peek-strip .taped::after { display: none; }

.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 2rem; }
.filters button {
  font-family: var(--font-display); font-size: 1.05rem;
  background: var(--cream); color: var(--walnut);
  border: 1.5px solid var(--umber); border-radius: 999px;
  padding: .3rem 1rem; cursor: pointer; transition: background .2s, transform .2s;
}
.filters button:hover { transform: rotate(-2deg); }
.filters button[aria-pressed="true"] { background: var(--sunflower); border-color: var(--walnut); box-shadow: 2px 2px 0 var(--walnut); }

.gallery { columns: 3 280px; column-gap: 1.5rem; }
.gallery-item {
  break-inside: avoid; margin: 0 0 1.5rem;
  background: var(--cream); padding: .6rem .6rem .4rem;
  box-shadow: var(--shadow); border: 1px solid var(--tan);
  transition: transform .3s ease, box-shadow .3s ease;
  animation: fadeUp .5s ease both;
}
.gallery-item:nth-child(3n+1) { transform: rotate(-1deg); }
.gallery-item:nth-child(3n+2) { transform: rotate(.8deg); }
.gallery-item:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 16px 30px -14px rgba(59,42,26,.6); }
.gallery-item button { all: unset; cursor: zoom-in; display: block; width: 100%; }
.gallery-item button:focus-visible { outline: 3px dashed var(--sunflower-deep); outline-offset: 3px; }
.gallery-item img { width: 100%; height: auto; background: var(--tan); min-height: 120px; }
.gallery-item figcaption { font-family: var(--font-hand); font-size: 1.25rem; color: var(--umber); padding: .3rem .2rem 0; display: flex; justify-content: space-between; gap: .5rem; }
.gallery-item figcaption a { font-family: var(--font-body); font-size: .85rem; white-space: nowrap; align-self: center; }
.gallery-item.hidden { display: none; }
.gallery-empty { text-align: center; color: var(--umber); font-style: italic; }
@keyframes fadeUp { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }

img.img-missing { min-height: 200px; object-fit: none; background: repeating-linear-gradient(45deg, var(--tan), var(--tan) 10px, #e5d1ad 10px, #e5d1ad 20px); }

.lightbox {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(40, 27, 15, .88);
  display: none; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.open { display: flex; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); background: var(--cream); padding: .8rem .8rem .5rem; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; }
.lightbox figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .4rem; font-family: var(--font-hand); font-size: 1.5rem; color: var(--walnut); }
.lightbox figcaption a { font-family: var(--font-body); font-size: .95rem; }
.lb-btn {
  position: absolute; background: var(--sunflower); color: var(--ink);
  border: 2px solid var(--walnut); border-radius: 50%; width: 48px; height: 48px;
  font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 2px 2px 0 var(--walnut);
}
.lb-btn:hover { background: var(--sunflower-soft); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; align-items: stretch; margin-top: 1rem; }
.price-card { display: flex; flex-direction: column; text-align: center; }
.price-card .price { font-family: var(--font-display); font-size: 2.6rem; color: var(--ink); line-height: 1; margin: .3rem 0 .2rem; }
.price-card .price small { font-size: 1rem; color: var(--umber); }
.price-card ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; text-align: left; flex: 1; }
.price-card li { padding: .35rem 0 .35rem 1.8rem; border-bottom: 1px dashed var(--tan); position: relative; }
.price-card li::before {
  content: ""; position: absolute; left: 0; top: .65rem; width: 1.1rem; height: 1.1rem;
  background: url("assets/sunflower.svg") center / contain no-repeat;
}
.price-card .btn { align-self: center; }
.price-card.featured { border: 2px solid var(--sunflower-deep); transform: translateY(-10px); }
.badge {
  position: absolute; top: -18px; right: -14px;
  background: var(--sunflower); border: 2px solid var(--walnut); color: var(--ink);
  font-family: var(--font-hand); font-size: 1.3rem; padding: .1rem .9rem;
  border-radius: 999px; transform: rotate(8deg); box-shadow: 2px 2px 0 var(--walnut);
}

.addons { columns: 2; column-gap: 2.5rem; padding: 0; list-style: none; }
.addons li { break-inside: avoid; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dotted var(--umber); padding: .4rem 0; }
.addons li span:last-child { font-family: var(--font-display); white-space: nowrap; }

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
label { font-family: var(--font-display); color: var(--walnut); margin-bottom: .2rem; }
input, select, textarea {
  font: inherit; font-size: 1.05rem; color: var(--ink);
  background: #fffaf0; border: 1.5px solid var(--tan); border-radius: var(--radius);
  padding: .55rem .7rem; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sunflower-deep); box-shadow: 0 0 0 3px rgba(242, 182, 28, .35); }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -5000px; } /* spam honeypot */
.form-status { margin-top: 1rem; font-family: var(--font-hand); font-size: 1.4rem; }
.form-status.ok { color: #4f6b2a; }
.form-status.err { color: #9b3b1e; }

.contact-aside ul { list-style: none; padding: 0; margin: 0; }
.contact-aside li { padding: .4rem 0; }

details { border-bottom: 1px dashed var(--tan); padding: .6rem 0; }
summary { cursor: pointer; font-family: var(--font-display); font-size: 1.2rem; color: var(--walnut); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "✿ "; color: var(--sunflower-deep); }
details[open] summary::before { content: "❀ "; }
details p { margin: .5rem 0 0 1.4rem; }

.site-footer {
  border-top: 2px solid var(--tan);
  padding: 1.5rem 0 2rem; text-align: center; color: var(--umber); font-size: 1rem;
  background: linear-gradient(to bottom, rgba(217, 192, 154, .25), transparent);
}
.site-footer .social { display: flex; justify-content: center; gap: 1.25rem; margin-bottom: .4rem; }

@media (max-width: 860px) {
  .about-hero, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-hero .taped { max-width: 360px; margin-inline: auto; }
  .three-up, .pricing { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .peek-strip { grid-template-columns: repeat(2, 1fr); }
  .addons { columns: 1; }
}
@media (max-width: 640px) {
  body { font-size: 1.08rem; }
  .nav-toggle { display: inline-block; }
  .site-nav { width: 100%; display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: .5rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .paper { padding: 1.4rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; translate: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
