/*
Theme Name: Yellow Banks Grove
Version: 1.0.0
Text Domain: kit
*/

:root {
  --ink: #2a1c10;
  --mute: rgba(42, 28, 16, .74);
  --quiet: rgba(42, 28, 16, .55);
  --orange: #f28c1e;
  --orange-d: #d86f0a;
  --ruby: #d6455a;
  --leaf: #2f7d3a;
  --sun: #fff5d6;
  --gold: #ffc93c;
  --wrap: 1220px;
  --gap: 24px;
  --head: 'Shrikhand', 'Cooper Black', Georgia, serif;
  --body: 'Red Hat Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --peel: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55) 0 8%, transparent 30%), radial-gradient(circle at 65% 70%, rgba(0,0,0,.12) 0 20%, transparent 60%);
}

body { font: 400 17px/1.6 var(--body); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.02; margin: 0 0 .4em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); color: var(--orange-d); }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }
.kicker { display: inline-block; font: 700 1rem/1.2 var(--body); color: #fff; background: var(--leaf); padding: 6px 12px 6px 30px; border-radius: 999px; margin: 0 0 14px; position: relative; }
.kicker::before { content: ''; position: absolute; left: 10px; top: 50%; width: 12px; height: 8px; margin-top: -4px; background: #9fd37a; border-radius: 0 100% 0 100%; }
.fine { font-size: .9rem; color: var(--quiet); }
.proto-note { margin: 0; padding: 7px var(--gap); background: var(--leaf); color: #fff; font: 500 .88rem/1.3 var(--body); text-align: center; }

.masthead { background: #fff; border-bottom: 4px solid var(--orange); }
.masthead-in { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gap); min-height: 72px; }
.brand-name { display: inline-flex; align-items: center; gap: 10px; font: 400 1.6rem/1 var(--head); color: var(--orange-d); }
.brand-name em { font-style: normal; color: var(--leaf); }
.orb { width: 30px; height: 30px; border-radius: 50%; background: var(--peel), var(--orange); position: relative; box-shadow: inset -3px -4px 0 rgba(0,0,0,.1); }
.orb::after { content: ''; position: absolute; top: -6px; left: 14px; width: 12px; height: 8px; background: var(--leaf); border-radius: 0 100% 0 100%; }
.nav-list a { font: 700 1rem/1 var(--body); color: var(--ink); padding: 8px 0; border-bottom: 3px solid transparent; }
.nav-list a:hover { border-color: var(--orange); }
.nav-call { font: 700 1.05rem/1 var(--body); text-decoration: none; background: var(--orange); color: #fff; padding: 13px 18px; border-radius: 999px; }
.nav-toggle { background: none; border: 2px solid var(--ink); color: var(--ink); border-radius: 999px; padding: 0 14px; font: 700 1rem var(--body); }
.top-call { display: none; }
@media (max-width: 1080px) {
  .site-nav { background: #fff; padding: 8px var(--gap) 22px; border-bottom: 4px solid var(--orange); }
  .nav-list a { font-size: 1.2rem; border-bottom: 1px solid rgba(0,0,0,.08); }
  .top-call { display: inline-flex; align-items: center; margin-left: auto; min-height: 44px; padding: 0 14px; background: var(--orange); color: #fff; font: 700 1rem/1 var(--body); text-decoration: none; border-radius: 999px; }
  .nav-toggle { margin-left: 8px; padding: 0 12px; }
}
@media (max-width: 520px) { .masthead-in { padding: 10px 14px; gap: 8px; } .brand-name { font-size: 1.2rem; } .orb { width: 24px; height: 24px; } }

.btn-solid { display: inline-flex; align-items: center; min-height: 56px; padding: 0 26px; background: var(--orange); color: #fff; font: 700 1.1rem/1 var(--body); text-decoration: none; border: 0; border-radius: 999px; box-shadow: 0 6px 0 var(--orange-d), 0 16px 24px -12px rgba(0,0,0,.4); cursor: pointer; }
.btn-solid:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--orange-d); }
.btn-line { display: inline-flex; align-items: center; min-height: 56px; padding: 0 22px; color: #fff; font: 700 1.1rem/1 var(--body); text-decoration: none; border-radius: 999px; box-shadow: inset 0 0 0 2px #fff; background: rgba(0,0,0,.15); }
.acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* hero: the tree behind, a crate filling with fruit in front */
.yb-hero { position: relative; min-height: calc(100svh - 112px); max-height: 920px; display: flex; align-items: center; overflow: hidden; isolation: isolate; background: var(--leaf); color: #fff; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(30,60,20,.82) 0%, rgba(30,60,20,.5) 48%, rgba(30,60,20,0) 75%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; width: 100%; padding-top: 40px; padding-bottom: 40px; }
.hero-kicker { font: 700 1rem/1.2 var(--body); color: var(--gold); margin: 0 0 14px; }
.yb-hero h1 { font-size: clamp(3rem, 6.6vw, 6.2rem); line-height: .98; text-shadow: 0 4px 0 rgba(0,0,0,.18), 0 10px 30px rgba(0,0,0,.35); margin: 0; }
.yb-hero h1 span { display: block; color: var(--gold); }
.hero-lead { max-width: 30em; margin: 18px 0 0; font-size: 1.15rem; color: rgba(255,255,255,.92); }
.crate { position: relative; justify-self: center; width: min(100%, 400px); aspect-ratio: 1; padding: 18px; background: repeating-linear-gradient(90deg, #c9934f 0 2px, #d9a663 2px 46px, #b9823f 46px 48px); border-radius: 6px; box-shadow: 0 40px 60px -30px rgba(0,0,0,.8), inset 0 0 0 8px #a8722f; transform: rotate(-4deg); }
.crate-in { position: relative; width: 100%; height: 100%; background: #f6e7c8; border-radius: 3px; box-shadow: inset 0 10px 20px rgba(0,0,0,.25); overflow: hidden; }
.crate-label { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%) rotate(2deg); white-space: nowrap; font: 400 1.1rem/1 var(--head); background: var(--ruby); color: #fff; padding: 9px 16px; border-radius: 4px; box-shadow: 0 6px 12px rgba(0,0,0,.3); }
.fruit { position: absolute; left: var(--x); top: var(--y); width: 28%; aspect-ratio: 1; margin: -14% 0 0 -14%; border-radius: 50%; background: var(--peel), var(--orange); box-shadow: inset -6px -8px 0 rgba(0,0,0,.1), 0 6px 10px rgba(0,0,0,.25); animation: drop .7s cubic-bezier(.3,1.5,.5,1) calc(.3s + var(--i) * .16s) both; }
.fruit.r { background: var(--peel), #ef7a6a; }
@keyframes drop { from { transform: translateY(-420%) rotate(-40deg); } }

.band { position: relative; padding: clamp(66px, 9vw, 110px) 0; overflow: hidden; }

/* build a box */
.build { background: var(--sun); background-image: radial-gradient(circle at 10% 20%, rgba(242,140,30,.12) 0 60px, transparent 61px), radial-gradient(circle at 92% 80%, rgba(214,69,90,.1) 0 90px, transparent 91px); }
.bd-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.lbl { font: 700 .95rem var(--body); margin: 22px 0 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts button { min-height: 46px; padding: 0 16px; border-radius: 999px; border: 2px solid #ecd9a9; background: #fff; font: 600 .98rem var(--body); color: var(--ink); cursor: pointer; }
.opts button[aria-checked="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.bd-box { text-align: center; }
.giftbox { margin: 0 auto 20px; max-width: 420px; padding: 16px; background: #fff; border-radius: 10px; box-shadow: 0 30px 50px -28px rgba(42,28,16,.55), inset 0 0 0 4px var(--orange); }
.trays { display: grid; gap: 8px; }
.tray { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; padding: 8px; background: #fbe9c6; border-radius: 6px; }
.tray i { aspect-ratio: 1; border-radius: 50%; background: var(--peel), var(--orange); box-shadow: inset -2px -3px 0 rgba(0,0,0,.1); animation: pop .45s cubic-bezier(.3,1.6,.4,1) both; }
.tray i.r { background: var(--peel), #ef7a6a; }
.tray i.h { background: var(--peel), #f6a43a; border-radius: 50% 50% 46% 46% / 58% 58% 42% 42%; }
@keyframes pop { from { transform: scale(0); } }
.bd-out { display: grid; gap: 2px; margin: 0 0 18px; }
.bd-name { font-weight: 700; font-size: 1.1rem; }
.bd-price { font: 400 3rem/1 var(--head); color: var(--ruby); }
.bd-code { color: var(--quiet); }

/* season */
.season { background: #fff; }
.cal { position: relative; margin: 30px 0 46px; padding: 16px; background: var(--sun); border-radius: 16px; }
.cal-h, .cal-r { display: grid; grid-template-columns: 190px repeat(8, minmax(0, 1fr)); align-items: center; }
.cal-h span { font: 700 .85rem var(--body); text-align: center; color: var(--quiet); }
.cal-r { position: relative; height: 54px; }
.cal-r b { font-weight: 700; }
.bar { position: absolute; left: calc(190px + (100% - 190px) / 8 * (var(--s) - 1)); width: calc((100% - 190px) / 8 * (var(--e) - var(--s))); height: 30px; border-radius: 999px; background: var(--orange); transform-origin: left; transform: scaleX(0); transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.bar.h { background: #f6a43a; transition-delay: .15s; } .bar.r { background: var(--ruby); transition-delay: .3s; }
.cal.in .bar, html:not(.js) .bar { transform: scaleX(1); }
.now { position: absolute; top: 8px; bottom: 8px; left: calc(16px + 190px + (100% - 32px - 190px) / 8 * (var(--m) - .5)); width: 3px; background: var(--leaf); border-radius: 2px; }
.now::before { content: 'Now'; position: absolute; top: -26px; left: 50%; transform: translateX(-50%); font: 700 .8rem var(--body); color: #fff; background: var(--leaf); padding: 2px 8px; border-radius: 999px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.three figure { margin: 0; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 40px -26px rgba(42,28,16,.5); }
.three img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.three figcaption { padding: 16px 18px 20px; color: var(--mute); }
.three figcaption b { display: block; font: 400 1.35rem/1.1 var(--head); color: var(--ink); margin-bottom: 6px; }
.js .three figure { opacity: 0; transform: translateY(40px) rotate(-1.5deg); transition: opacity .7s, transform .9s cubic-bezier(.3,1.4,.5,1); }
.js .three figure:nth-child(2) { transition-delay: .12s; } .js .three figure:nth-child(3) { transition-delay: .24s; }
.js .three figure.in { opacity: 1; transform: none; }

/* deluxe */
.deluxe { background: var(--ruby); color: #fff; }
.deluxe h2 { color: #fff; }
.deluxe .kicker { background: #fff; color: var(--ruby); }
.deluxe .kicker::before { background: var(--leaf); }
.deluxe p { color: rgba(255,255,255,.9); }
.deluxe .fine { color: rgba(255,255,255,.75); }
.dx-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.dx-photo img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; border: 8px solid #fff; transform: rotate(-2deg); box-shadow: 0 30px 50px -24px rgba(0,0,0,.6); }
.px { border-collapse: collapse; margin: 16px 0; font-size: 1.15rem; }
.px td { padding: 8px 24px 8px 0; border-bottom: 1px dashed rgba(255,255,255,.4); }
.px td:last-child { font: 400 1.4rem var(--head); }

/* story */
.story { background: var(--sun); background-image: repeating-linear-gradient(0deg, rgba(160,80,40,.06) 0 14px, transparent 14px 16px), repeating-linear-gradient(90deg, rgba(160,80,40,.06) 0 30px, transparent 30px 32px); }
.st-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.story p { color: var(--mute); }
.tl { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tl li { padding: 10px 14px; background: #fff; border-radius: 12px; box-shadow: 0 10px 20px -14px rgba(42,28,16,.5); font-size: .9rem; color: var(--mute); }
.tl b { display: block; font: 400 1.4rem/1.1 var(--head); color: var(--orange-d); }
.js .tl li { opacity: 0; transform: scale(.6); transition: opacity .5s, transform .6s cubic-bezier(.3,1.6,.4,1); }
.js .tl.in li { opacity: 1; transform: none; }
.js .tl li:nth-child(2) { transition-delay: .1s; } .js .tl li:nth-child(3) { transition-delay: .2s; } .js .tl li:nth-child(4) { transition-delay: .3s; } .js .tl li:nth-child(5) { transition-delay: .4s; }
.st-photos { position: relative; min-height: 380px; }
.st-photos figure { position: absolute; margin: 0; width: 70%; padding: 10px 10px 30px; background: #fff; box-shadow: 0 24px 40px -20px rgba(0,0,0,.5); }
.st-photos img { display: block; width: 100%; aspect-ratio: 300/193; object-fit: cover; }
.st-photos figcaption { position: absolute; bottom: 6px; left: 12px; font: 400 1.1rem var(--head); color: var(--orange-d); }
.p1 { left: 0; top: 0; transform: rotate(-4deg); } .p1 img { filter: sepia(.3); }
.p2 { right: 0; bottom: 0; transform: rotate(3deg); }

/* guarantee */
.promise { background: var(--orange); color: #fff; padding: clamp(50px, 7vw, 84px) 0; background-image: var(--peel); background-size: 70px 70px; }
.pr-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.pr-big { margin: 0; font: 400 clamp(2rem, 4.4vw, 3.4rem)/1.05 var(--head); text-shadow: 0 4px 0 rgba(0,0,0,.12); }
.promise a { font-weight: 700; }

/* visit */
.visit { background: #fff; }
.vs-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.city { font: 400 1.4rem var(--head); color: var(--leaf); margin: -4px 0 16px; }
.hrs { line-height: 1.8; }
.visit p { color: var(--mute); }
.v-call a { font: 400 2rem/1.1 var(--head); color: var(--orange-d); text-decoration: none; }
.map { border-radius: 20px; overflow: hidden; border: 6px solid var(--orange); box-shadow: 0 26px 50px -26px rgba(0,0,0,.5); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* order */
.order { background: var(--sun); }
.rq-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.order p { color: var(--mute); }
.call-big { font: 400 1.6rem/1.2 var(--head); color: var(--ink) !important; }
.call-big a { color: var(--orange-d); text-decoration: none; }
.rq-form { background: #fff; padding: clamp(22px, 3vw, 34px); border-radius: 22px; box-shadow: 0 26px 46px -28px rgba(42,28,16,.5); }
.kit-form label { font-weight: 700; font-size: .95rem; }
.kit-form input, .kit-form select, .kit-form textarea { border: 2px solid #f0dcb0; border-radius: 12px; padding: 10px 14px; background: #fff; color: var(--ink); }
.kit-form input:focus, .kit-form select:focus, .kit-form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,140,30,.25); }
.kit-form input.touched:invalid { border-color: #b3261e; }
.form-note { padding: 12px 14px; border-radius: 12px; font-weight: 600; }
.form-note.ok { background: #e2f3df; color: #24612d; }
.form-note.err { background: #fbe5e3; color: #8a1c14; }

.foot { background: var(--leaf); color: rgba(255,255,255,.82); padding: 48px 0 0; border-top: 6px solid var(--orange); }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.foot-title { font: 400 1.6rem/1.1 var(--head); color: #fff; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--gold); }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-base { max-width: var(--wrap); margin: 36px auto 0; padding: 18px var(--gap) 26px; border-top: 1px solid rgba(255,255,255,.2); font-size: .88rem; }
html { overflow-x: clip; }

@media (max-width: 900px) {
  .yb-hero { min-height: 0; max-height: none; }
  .hero-in { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 54px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(30,60,20,.82), rgba(30,60,20,.55)); }
  .crate { width: 76%; }
  .bd-in, .dx-in, .st-in, .vs-in, .rq-in, .pr-in { grid-template-columns: 1fr; }
  .three { grid-template-columns: 1fr; }
  .cal-h, .cal-r { grid-template-columns: 92px repeat(8, minmax(0, 1fr)); }
  .cal-h span { font-size: .68rem; }
  .cal-r b { font-size: .82rem; line-height: 1.1; }
  .bar { left: calc(92px + (100% - 92px) / 8 * (var(--s) - 1)); width: calc((100% - 92px) / 8 * (var(--e) - var(--s))); height: 22px; }
  .now { left: calc(16px + 92px + (100% - 32px - 92px) / 8 * (var(--m) - .5)); }
  .st-photos { min-height: 300px; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .fruit, .tray i { animation: none; }
  .bar { transform: none; }
  .js .three figure, .js .tl li { opacity: 1; transform: none; }
}
@media (max-width: 520px) {
  .brand-name { font-size: 1rem; gap: 7px; }
  .orb { width: 20px; height: 20px; }
  .orb::after { width: 9px; height: 6px; top: -4px; left: 10px; }
  .top-call, .nav-toggle { padding: 0 10px; font-size: .95rem; }
  .masthead-in { gap: 6px; }
}
.crate { aspect-ratio: 4/3.2; animation: crate-in 1s cubic-bezier(.3,1.4,.5,1) .3s both; }
.crate-in img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
@keyframes crate-in { from { transform: translateY(60px) rotate(-12deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .crate { animation: none; } }
