/* Homepage — The Tray. Desktop first viewport is measured from the approved comp (1536 x 1024 frame). */

/* ---------- Hero ---------- */
.tg-hero { position: relative; width: calc(1536 * var(--u)); height: calc(745 * var(--u)); margin: 0 auto; }
.hero-copy { position: absolute; left: calc(44 * var(--u)); top: calc(26 * var(--u)); width: calc(534 * var(--u)); }
.hero-copy h1 { font: 400 calc(91 * var(--u))/1 var(--poster); text-transform: uppercase; letter-spacing: .026em; margin: calc(4 * var(--u)) 0 0 calc(-1 * var(--u)); }
.hero-lede { margin-top: calc(7 * var(--u)); max-width: calc(480 * var(--u)); font: 400 calc(24 * var(--u))/calc(29 * var(--u)) var(--sans); }
.hero-offer { margin-top: calc(14 * var(--u)); padding-top: calc(8 * var(--u)); border-top: var(--line); }
.hero-price { font: 700 calc(30.5 * var(--u))/calc(42 * var(--u)) var(--sans); letter-spacing: -.018em; white-space: nowrap; }
.hero-price .sep { margin: 0 .3em; }
.hero-when { font: 400 calc(20 * var(--u))/calc(30 * var(--u)) var(--sans); white-space: nowrap; }
.hero-cta { display: flex; width: 100%; min-height: calc(70 * var(--u)); margin-top: calc(8 * var(--u)); font-size: calc(32 * var(--u)); font-weight: 700; }
.hero-stub { margin-top: calc(22 * var(--u)); min-height: calc(166 * var(--u)); }
.hero-stub .stub-icon { flex: none; width: calc(118 * var(--u)); display: grid; place-items: center; border-right: var(--line); margin: calc(20 * var(--u)) 0; }
.hero-stub .stub-icon svg { width: calc(52 * var(--u)); height: auto; }
.hero-stub .stub-body { padding: calc(14 * var(--u)) calc(24 * var(--u)) calc(16 * var(--u)) calc(30 * var(--u)); }
.hero-stub p { font: 400 calc(20 * var(--u))/calc(29 * var(--u)) var(--sans); }
.hero-stub p b { font-weight: 700; }
.hero-stub .tg-link { margin-top: calc(8 * var(--u)); font-size: calc(20 * var(--u)); }

/* ---------- The tray ---------- */
.tray { position: absolute; left: calc(604 * var(--u)); top: 0; width: calc(772 * var(--u)); aspect-ratio: 1544 / 1448; margin: 0; }
.tray picture { display: block; }
.tray-plate img { width: 100%; height: auto; }
.sprout { position: absolute; left: var(--x); top: var(--y); width: 24%; margin: 0; transform-origin: 50% 94%; }
.sprout img { width: 100%; height: auto; }
.jar picture, .guide-art picture { display: block; }
.jar picture img { width: 100%; height: auto; }
.guide-art picture { width: 100%; height: 100%; padding: 6% 0 0; }
.guide-art img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.tag { position: absolute; left: var(--tx); top: var(--ty); width: var(--tw); height: var(--th); transform: translate(-50%, -50%) rotate(var(--tr)); display: grid; place-items: center; background: var(--white); border: 2px solid var(--ink); border-radius: 4px; font: 700 calc(var(--fs, 12.5) * var(--u))/1 var(--hand); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; color: var(--ink); }

/* Signature moment: the tray settles, then each variety pushes up out of its cell. */
.tg-motion .tg-hero .tray-plate { animation: tray-settle .9s var(--ease-out) both; }
.tray--full .sprout { animation: none !important; }
.tg-motion .sprout { animation: sprout-up 1.15s var(--ease-out) both; animation-delay: calc(.35s + var(--i) * .16s); }
.tg-motion .tag { animation: stake-in .55s var(--ease-out) both; animation-delay: calc(1.1s + var(--i) * .16s); }
@keyframes tray-settle { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes sprout-up { 0% { transform: scale(.55, .04); opacity: 0; } 18% { opacity: 1; } 62% { transform: scale(1.02, 1.07) rotate(-1.2deg); } 100% { transform: none; } }
@keyframes stake-in { from { opacity: 0; transform: translate(-50%, -20%) rotate(calc(var(--tr) - 6deg)); } }
@media (hover: hover) { .tg-motion .sprout:hover { animation: sway 1.4s ease-in-out; } }
@keyframes sway { 30% { transform: rotate(2.2deg); } 65% { transform: rotate(-1.4deg); } }

/* ---------- Day 10 · Harvest ---------- */
.harvest { border-top: var(--line); }
.harvest-in { position: relative; width: calc(1536 * var(--u)); margin: 0 auto; display: grid; grid-template-columns: calc(502 * var(--u)) 1fr; column-gap: calc(0 * var(--u)); padding-bottom: var(--space-section); }
.harvest-head { padding: calc(30 * var(--u)) 0 0 var(--gutter); }
.harvest-head .tg-h2 { font-size: calc(78 * var(--u)); white-space: nowrap; }
.harvest-copy { margin-top: calc(40 * var(--u)); max-width: 40ch; color: var(--ink-2); font-size: calc(19 * var(--u)); }
.harvest-copy + .harvest-copy { margin-top: 14px; }
.harvest-copy strong { color: var(--ink); }
.harvest-head .tg-btn { margin-top: calc(30 * var(--u)); }
.jars { display: grid; grid-template-columns: 306fr 332fr 340fr; gap: calc(4 * var(--u)) ; padding: calc(13 * var(--u)) calc(6 * var(--u)) 0 calc(44 * var(--u)); list-style: none; margin: 0; }
.jar { display: flex; flex-direction: column; }
.jar > img { width: 100%; height: auto; }
.jar-band { margin: 0 calc(12 * var(--u)); background: var(--ink); color: var(--white); padding: 12px 16px 13px; border-radius: 0 0 4px 4px; }
.jar-band .profile { margin-top: 6px; font: 500 15px/1.3 var(--sans); color: #f1f1ec; }
.jar-band h3 { font: 900 32px/.95 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.jar-text { margin: 16px calc(12 * var(--u)) 0; font-size: 17px; color: var(--ink-2); }
.jar .tg-link { margin: 12px calc(12 * var(--u)) 0; font-size: 17px; align-self: flex-start; }
.varieties { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 6px 18px; font: 700 15px/1.3 var(--hand); text-transform: uppercase; letter-spacing: .03em; }

/* ---------- Friday · Delivered ---------- */
.delivered { border-top: var(--line); }
.delivered .tg-section { display: grid; grid-template-columns: 1.15fr 1fr; gap: calc(80 * var(--u)); align-items: start; }
.big-line { margin-top: 22px; font: 700 clamp(28px, calc(44 * var(--u)), 56px)/1.12 var(--sans); letter-spacing: -.015em; color: var(--ink); max-width: 18ch; }
.big-line em { font-style: normal; color: var(--kelly); }
.week { margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border: var(--line); border-radius: 4px; }
.week li { padding: 20px 20px 22px; }
.week li + li { border-left: var(--line); }
.week .day { font: 900 30px/1 var(--display); text-transform: uppercase; }
.week p { margin-top: 8px; font-size: 16px; color: var(--ink-2); }
.delivered .tg-link { margin-top: 22px; }
.stores h3 { font: 900 40px/.95 var(--display); text-transform: uppercase; }
.stores > p { margin-top: 10px; color: var(--ink-2); }
.store { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: end; padding: 18px 0; border-bottom: var(--line); }
.store:first-of-type { margin-top: 18px; border-top: var(--line); }
.store b { font: 900 26px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.store span { grid-column: 1; color: var(--ink-2); }
.store a { grid-row: 1 / span 2; grid-column: 2; font-size: 16px; }
.hours { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.wholesale { margin-top: 36px; padding: 20px 22px; border: var(--line); border-radius: 4px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.wholesale p { font-weight: 600; }

/* ---------- Day 1 · Plant your own ---------- */
.plant { border-top: var(--line); }
.plant-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.plant-head p { max-width: 46ch; color: var(--ink-2); }
.class-ticket { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.class-ticket .tg-photo { width: 100%; height: 100%; min-height: 420px; object-position: 30% 62%; border: 0; border-right: var(--line); border-radius: 2px 0 0 2px; }
.ticket-body { padding: clamp(24px, calc(44 * var(--u)), 56px); }
.ticket-body h3 { font: 900 clamp(48px, calc(72 * var(--u)), 96px)/.9 var(--display); text-transform: uppercase; }
.ticket-body .lead { margin-top: 18px; font-size: 19px; max-width: 42ch; }
.ticket-facts { margin: 26px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; }
.ticket-facts dt { font: 700 14px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.ticket-facts dd { margin: 0; }
.ticket-note { margin-top: 22px; padding-top: 16px; border-top: 2px dashed var(--ink); font-size: 16px; }
.ticket-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.kits { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--line); }
.kit { padding: 28px 28px 8px 0; }
.kit + .kit { padding-left: 28px; border-left: var(--line); }
.kit .tg-photo { width: 100%; aspect-ratio: 4 / 3; }
.kit .price { margin-top: 18px; font: 900 44px/1 var(--display); }
.kit h3 { margin-top: 4px; font: 800 24px/1.2 var(--sans); }
.kit p { margin-top: 8px; font-size: 16px; color: var(--ink-2); }
.kit .tg-link { margin-top: 14px; font-size: 17px; }
.guide-art { width: 100%; aspect-ratio: 4 / 3; border: var(--line); border-radius: 4px; display: grid; place-items: end center; background: var(--white); overflow: hidden; }
.guide-art img { width: 62%; }
.xmas { margin-top: 36px; }
.xmas .stub-icon { flex: none; width: 92px; display: grid; place-items: center; border-right: 2px dashed var(--ink); margin: 14px 0; }
.xmas .stub-icon svg { width: 40px; }
.xmas p { padding: 18px 26px; font-size: 17px; }

/* ---------- The grower ---------- */
.grower { border-top: var(--line); }
.grower .tg-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: calc(80 * var(--u)); align-items: center; }
.grower .tg-photo { width: 100%; aspect-ratio: 3 / 4; }
.grower-copy p { margin-top: 16px; font-size: 19px; max-width: 52ch; color: var(--ink-2); }
.grower-copy p.first { margin-top: 28px; font-size: 24px; line-height: 1.4; color: var(--ink); }
.social { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.social a { min-height: 48px; padding: 0 18px; gap: 10px; font-size: 17px; }
.social svg { width: 20px; height: 20px; }

/* ---------- Questions ---------- */
.faq { border-top: var(--line); }
.faq .tg-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: calc(80 * var(--u)); }
.faq-list details { border-bottom: var(--line); }
.faq-list details:first-child { border-top: var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font: 800 21px/1.3 var(--sans); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 22px; height: 22px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2.5px 100% no-repeat; transition: transform .3s var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 22px; max-width: 60ch; color: var(--ink-2); }
.learn { margin-top: 34px; display: grid; gap: 0; }
.learn a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 0; border-bottom: 1px solid #0b0b0b33; text-decoration: none; }
.learn a b { font-weight: 800; font-size: 19px; }
.learn a span { grid-column: 1; color: var(--ink-2); font-size: 16px; }
.learn a svg { grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 22px; transition: transform .25s var(--ease-out); }
.learn a:hover b { text-decoration: underline; text-underline-offset: .2em; }
.learn a:hover svg { transform: translateX(4px); }

/* ---------- Close: the full tray ---------- */
.close { border-top: var(--line); overflow: hidden; }
.close .tg-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: calc(64 * var(--u)); align-items: center; }
.close h2 { font: 900 clamp(56px, calc(116 * var(--u)), 150px)/.88 var(--display); text-transform: uppercase; }
.close p { margin-top: 22px; font-size: 20px; max-width: 40ch; }
.close .tg-btn { margin-top: 28px; min-height: 64px; font-size: 22px; padding: 0 36px; }
.tray--full { position: relative; left: auto; top: auto; width: 100%; }
.tray--full .sprout { width: 21%; }
.tray--full .tag { display: none; }

/* ---------- Tablet & phone ---------- */
@media (max-width: 999px) {
  .hero-price, .hero-when, .harvest-head .tg-h2 { white-space: normal; }
  .tg-hero { width: auto; height: auto; padding: 22px var(--gutter) 0; display: flex; flex-direction: column; }
  .hero-copy { position: static; width: auto; display: contents; }
  .hero-copy h1 { order: 1; font-size: clamp(52px, 15.5vw, 96px); line-height: .95; margin: 0; }
  .hero-lede { order: 2; font-size: 19px; line-height: 1.45; max-width: 36ch; margin-top: 12px; }
  .tray { order: 3; position: relative; left: auto; width: min(100%, 560px); margin: 18px auto 0; }
  .hero-offer { order: 4; margin-top: 18px; padding-top: 12px; }
  .hero-price { font-size: 23px; line-height: 1.3; }
  .hero-when { font-size: 17px; line-height: 1.45; margin-top: 2px; }
  .hero-cta { order: 5; min-height: 58px; font-size: 21px; margin-top: 14px; }
  .hero-stub { order: 7; margin: 22px 0 44px; min-height: 0; }
  .hero-stub .stub-icon { width: 74px; margin: 16px 0; }
  .hero-stub .stub-icon svg { width: 38px; }
  .hero-stub .stub-body { padding: 14px 18px 16px 18px; }
  .hero-stub p, .hero-stub .tg-link { font-size: 17px; line-height: 1.45; }
  .tag { font-size: calc(var(--fs, 12.5) / 772 * min(92vw, 560px)); border-width: 1.5px; }

  .harvest-in { width: auto; display: block; padding: 40px var(--gutter) 64px; }
  .harvest-head { padding: 0; }
  .harvest-head .tg-h2 { font-size: clamp(46px, 12vw, 64px); }
  .harvest-copy { font-size: 17px; margin-top: 20px; }
  .jars { grid-template-columns: 1fr; gap: 36px; padding: 32px 0 0; }
  .jar > img { width: 92%; margin: 0 auto; }
  .jar-band, .jar-text, .jar .tg-link { margin-left: 4%; margin-right: 4%; }

  .delivered .tg-section, .grower .tg-section, .faq .tg-section, .close .tg-section { grid-template-columns: 1fr; gap: 44px; }
  .week { grid-template-columns: 1fr; }
  .week li + li { border-left: 0; border-top: var(--line); }
  .class-ticket { grid-template-columns: 1fr; }
  .class-ticket .tg-photo { min-height: 0; aspect-ratio: 4 / 3; border-right: 0; border-bottom: var(--line); border-radius: 2px 2px 0 0; }
  .kits { grid-template-columns: 1fr; }
  .kit, .kit + .kit { padding: 26px 0 18px; border-left: 0; }
  .kit + .kit { border-top: var(--line); }
  .grower .tg-photo { aspect-ratio: 4 / 3; }
  .close h2 { font-size: clamp(52px, 14vw, 80px); }
}
@media (max-width: 760px) { body { padding-bottom: 84px; } }
@media (max-width: 999px) { .hero-stub br.d { display: none; } }

/* Photos keep their set aspect instead of the img height attribute */
.kit .tg-photo, .grower .tg-photo { height: auto; }
@media (max-width: 999px) { .big-line { font-size: clamp(26px, 7vw, 36px); } }
.kit .guide-photo { object-position: 50% 0; }

/* Social proof under the hero links: real follower counts (owner-supplied, Dec 2026) */
.hero-social { display: flex; flex-wrap: wrap; gap: 6px calc(22 * var(--u)); margin-top: calc(12 * var(--u)); font-size: calc(17 * var(--u)); line-height: 1.3; }
.hero-social a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.hero-social a:hover span { text-decoration: underline; text-underline-offset: .2em; }
.hero-social svg { width: 1.3em; height: 1.3em; flex: none; }
.hero-social b { font-weight: 800; }
.hero-stub { margin-top: calc(16 * var(--u)); }
@media (max-width: 999px) { .hero-social { order: 6; font-size: 16px; margin-top: 16px; } }

/* Hero spacing: button, follower counts and class stub each get room (Dec 3) */
.tg-hero .hero-social { margin-top: calc(22 * var(--u)); }
.tg-hero .hero-stub { margin-top: calc(30 * var(--u)); }
@media (max-width: 999px) {
  .tg-hero .hero-social { margin-top: 20px; }
  .tg-hero .hero-stub { margin-top: 26px; }
}

/* Class card: height follows the text, the photo crops to fit (Dec 3) */
@media (min-width: 1000px) {
  .class-ticket { position: relative; min-height: 480px; }
  .class-ticket .tg-photo { position: absolute; top: 0; left: 0; bottom: 0; width: calc(100% * 1.05 / 2.05); height: 100%; min-height: 0; }
  .class-ticket .ticket-body { grid-column: 2; align-self: center; }
  .class-ticket::before, .class-ticket::after { z-index: 1; }
}

/* Closing section: Brooke's container photo instead of a second tray (Dec 3) */
.close .close-photo { width: 100%; height: auto; aspect-ratio: 1200 / 630; }
