/* Additions to the owner's stylesheet for Options B and C: real photographs and video in his layout,
   draft notes, the review bar, the age gate behaviour, and Option C's media layout. His tokens are reused. */

/* Images carry width and height attributes for layout stability; the owner's stylesheet has no reset, so add one. */
img { max-width: 100%; height: auto; }

/* ---- photographs in the owner's slots ---- */
.hero-image.is-photo img, .hero-image.is-video video { padding: 0; object-fit: cover; object-position: center 35%; width: 100%; height: 100%; position: absolute; inset: 0; }
.hero-image.is-photo:after, .hero-image.is-video:after { display: block; content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #04190bdd); z-index: 1; }
.hero-image.is-photo .image-label { opacity: .55; color: var(--paper); z-index: 1; }
.hero-image.is-video .image-label { opacity: .9; color: var(--paper); z-index: 1; }
.hero-image.is-video:before { content: ''; position: absolute; inset: 0 0 70%; background: linear-gradient(#04190bcc, transparent); z-index: 1; pointer-events: none; }
.hero-image.is-photo figcaption, .hero-image.is-video figcaption { z-index: 2; text-shadow: 0 1px 2px #000a; }
.hero-image video { background: #0b1d14; }
.hero-image .vid { position: absolute; inset: 0; }
.hero-image.is-video .vid__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-image.is-video .vid__pause { right: 28px; bottom: 28px; }
/* gradients and labels over a video must not swallow the tap that starts or stops it */
.hero-image.is-video:after, .hero-image.is-video .image-label, .hero-image.is-video .specimen-caption, .c-hero:before, .c-hero__bottom { pointer-events: none; }
.flower-stage.is-photo img { object-fit: cover; object-position: center 30%; }
.flower-stage.is-blank { display: grid; place-items: center; background: #dfe3d4; border: 1px dashed #8a9a86; padding: 20px; }
.notes-hidden .flower-stage.is-blank { height: 0; min-height: 0; margin: 0; border: 0; padding: 0; overflow: hidden; }
.detail-flower.is-photo { height: auto; background: var(--ink); padding: 0; display: block; }
.detail-flower.is-photo img { width: 100%; height: 360px; object-fit: cover; padding: 0; display: block; }
.detail-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 25px; }
.detail-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.detail-blank { background: #e6e8dc; border: 1px dashed #8a9a86; padding: 22px; margin: 20px 0 25px; }
.grower-portrait.is-media { margin: 0; }
.grower-portrait.is-media > img, .grower-portrait.is-media video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border: 1px solid var(--ink); background: var(--dark); }
.grower-portrait.is-media .vid { aspect-ratio: 4 / 5; }
.grower-portrait.is-media .vid video { height: 100%; }

/* ---- video blocks (muted, looping, with a pause control) ---- */
.vid { position: relative; background: var(--dark); line-height: 0; }
.vid video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.vid__pause { position: absolute; right: 14px; bottom: 14px; z-index: 3; font: 700 12px/1 'Courier New', monospace; letter-spacing: .06em; background: #0b1d14cc; color: var(--paper); border: 1px solid #a5be91; padding: 9px 12px; min-height: 36px; cursor: pointer; }
.vid__pause:hover { background: #10251e; }
.grow-video { grid-column: 1 / -1; margin-top: 50px; border-top: 1px solid #496254; padding-top: 30px; }
.grow-video .vid { aspect-ratio: 16 / 9; }
.vid .vid__poster { display: none; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .vid video { display: none; } .vid .vid__poster { display: block; } .vid__pause { display: none; } }

/* ---- draft notes for the owner ---- */
.note { background: #fff3a6; color: #3a3000; padding: .05em .4em; border-radius: 2px; font: 400 13px/1.45 'DM Sans', sans-serif; letter-spacing: 0; text-transform: none; display: inline; box-decoration-break: clone; }
.note-block { display: inline-block; padding: .3rem .6rem; margin: .5rem 0 0; border-left: 3px solid #e2c200; max-width: 60ch; }
.notes-hidden .note { display: none; }

/* ---- review bar (mock-up chrome) ---- */
.review-bar { background: #1f1f1f; color: #f3f3f3; font: 14px/1.3 system-ui, sans-serif; display: flex; gap: 1rem; align-items: center; justify-content: center; padding: .5rem 1rem; flex-wrap: wrap; position: relative; z-index: 11; }
.review-bar a { color: #fff; text-decoration: underline; }
.review-bar button { font: inherit; background: #fff; color: #111; border: 0; border-radius: 3px; padding: .35rem .75rem; cursor: pointer; min-height: 32px; }

/* ---- age gate: content hidden until confirmed; 'under 19' is a link that leaves the site ---- */
#site[hidden] { display: none; }
#site[inert] { pointer-events: none; user-select: none; } /* launch site: content stays rendered under the gate for crawlers; inert blocks focus and clicks */
.age-ok #site[hidden] { display: block; }
.age-ok #age { display: none; }
#age { display: block; position: fixed; inset: 0; margin: auto; z-index: 50; height: max-content; max-height: 100vh; max-height: 100dvh; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; } /* scrolls inside itself on short screens */
@media (max-width: 760px) { #age { padding: 28px 22px; } #age .age-content img { width: 70%; margin-bottom: 22px; } }
#age .age-actions { display: grid; gap: 10px; margin-top: 10px; }
#age .button.outline { background: none; color: var(--ink); border-color: var(--ink); }
.gate-backdrop { position: fixed; inset: 0; background: #031b16; z-index: 40; }
.age-ok .gate-backdrop { display: none; }
#age .small { font-size: 13px; color: #4b5e50; margin: 18px 0 0; }

/* ---- simple pages in the owner's style (privacy, accessibility) ---- */
.plain { max-width: 820px; }
.plain h2 { font-size: clamp(34px, 3.6vw, 48px); margin: 40px 0 12px; }
.plain p { color: #3e5146; }
.plain-heading { background: var(--dark); color: var(--paper); border-bottom: 2px solid var(--green); padding-top: 60px; padding-bottom: 55px; }
.plain-heading .eyebrow { color: var(--green); }
.plain-heading h1 { font-size: clamp(72px, 9vw, 142px); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 3.5rem; }

/* ---- Option C layout ---- */
.c-hero { position: relative; min-height: 86vh; display: grid; align-items: end; background: var(--dark); color: var(--paper); border-bottom: 1px solid var(--green); overflow: hidden; }
.c-hero .vid { position: absolute; inset: 0; }
.c-hero .vid video, .c-hero .vid .vid__poster { height: 100%; }
.c-hero:before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #04190b99 0%, #04190b66 35%, #04190bee 100%); z-index: 1; }
.c-hero__copy { position: relative; z-index: 2; padding: 60px 5% 40px 5%; max-width: 820px; }
.c-hero__copy .eyebrow { color: var(--green); margin-bottom: 30px; display: inline-block; background: #04190bd9; padding: 6px 10px; }
.c-hero__copy h1, .c-hero__copy .intro { text-shadow: 0 2px 14px #04190b, 0 0 3px #04190b; }
/* the headline block sits over the video: text lets a tap through to the video, the button and notes stay live */
.c-hero__copy, .c-hero__copy * { pointer-events: none; }
.c-hero__copy a, .c-hero__copy .note { pointer-events: auto; }
.c-hero__copy h1 { font-size: clamp(80px, 11vw, 170px); }
.c-hero__copy h1 span { color: var(--green); }
.c-hero__copy .intro { font-size: 19px; max-width: 460px; margin: 28px 0; }
.c-hero__bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 0 5% 28px; font: 700 12px/1.5 'Courier New', monospace; letter-spacing: .06em; border-top: 1px solid #546557; margin: 0 5%; padding-left: 0; padding-right: 0; padding-top: 15px; }
.c-hero .vid__pause { bottom: auto; top: 18px; }
.c-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--ink); border-bottom: 2px solid var(--ink); }
.c-strip figure { margin: 0; position: relative; }
.c-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.c-strip figcaption { position: absolute; left: 18px; bottom: 16px; color: var(--paper); font: 700 12px/1.5 'Courier New', monospace; letter-spacing: .06em; text-shadow: 0 1px 3px #000c; }
.c-lead { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); background: var(--paper); min-height: 560px; }
.c-lead + .c-lead { border-top: 0; }
.c-lead__photo { position: relative; line-height: 0; }
.c-lead__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; position: absolute; inset: 0; }
.c-lead__text { padding: 32px 36px; display: flex; flex-direction: column; text-align: left; color: var(--ink); background: var(--paper); border: 0; }
.c-lead:nth-child(even) .c-lead__photo { order: 2; }
.c-lead:nth-child(even) .c-lead__text { background: #dbdfcd; }
.c-lead .cultivar-title { margin: 20px 0 18px; }
.c-lead .cultivar-bottom { margin-top: auto; }
.c-lead__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 22px; }
.c-lead__gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.c-rotation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--ink); }
.c-rotation .cultivar { min-height: 0; padding: 25px; }
.c-rotation .cultivar + .cultivar { border-left: 1px solid var(--ink); }
.c-rotation .cultivar-title { font-size: clamp(34px, 3.45vw, 57px); margin: 18px 0 14px; }
.c-grow { display: grid; grid-template-columns: 1fr 1fr; column-gap: 6%; }
.c-grow .vid { aspect-ratio: 3 / 4; }
.c-grow > .eyebrow { grid-column: 1 / -1; }
.c-grow__text h2 { font-size: clamp(66px, 7vw, 108px); }
.c-grow__text .process-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
.c-grow__text .process-grid article { padding-top: 15px; }
@media (max-width: 1000px) { .c-lead { grid-template-columns: 1fr 1fr; min-height: 480px; } }
@media (max-width: 760px) {
  .c-hero { min-height: 78vh; }
  .c-hero__copy { padding: 40px 6% 25px; }
  .c-hero__copy h1 { font-size: clamp(76px, 17vw, 125px); }
  .c-hero__bottom { margin: 0 6%; }
  .c-strip { grid-template-columns: 1fr; }
  .c-strip img { aspect-ratio: 4 / 3; }
  .c-lead { grid-template-columns: 1fr; min-height: 0; }
  .c-lead__photo { aspect-ratio: 4 / 5; }
  .c-lead:nth-child(even) .c-lead__photo { order: 0; }
  .c-lead__text { padding: 25px; }
  .c-rotation { grid-template-columns: 1fr; }
  .c-rotation .cultivar + .cultivar { border-left: 0; border-top: 1px solid var(--ink); }
  .c-grow { grid-template-columns: 1fr; }
  .c-grow .vid { aspect-ratio: 4 / 5; }
}

/* ---- captions on real photographs (owner's request) and the labelled illustrations for the three rotation cultivars ---- */
.photo-note { display: block; font: 700 11px/1.5 'Courier New', monospace; letter-spacing: .05em; text-transform: uppercase; margin: 6px 0 16px; opacity: .85; }
.cultivar .photo-note { margin: 2px 0 14px; }
.flower-stage { position: relative; }
.flower-stage.is-illustration img { width: 100%; height: 100%; object-fit: contain; }
.illus-label { position: absolute; top: 10px; left: 10px; z-index: 2; font: 700 11px/1 'Courier New', monospace; letter-spacing: .08em; background: var(--dark); color: var(--paper); padding: 6px 9px; }
.c-rotation .flower-stage { height: 260px; margin: 12px 0 6px; }
.detail-flower.is-illustration { position: relative; }
.detail-gallery + .photo-note { margin-top: -14px; }
.c-lead__photo .photo-cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: var(--paper); font: 700 11px/1.5 'Courier New', monospace; letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 1px 3px #000c; }
.c-lead__photo:after { content: ''; position: absolute; inset: 70% 0 0; background: linear-gradient(transparent, #04190bcc); }
.c-strip figcaption { text-transform: uppercase; right: 18px; }

/* ---- review fixes, 4 October night: caption shading, article titles outside heading semantics, hidden text, form purpose ---- */
.c-strip figure:after { content: ''; position: absolute; inset: 62% 0 0; background: linear-gradient(transparent, #04190bd0); pointer-events: none; }
.c-strip figcaption { z-index: 1; }
.articles .article-title { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 42px; line-height: 1.1; letter-spacing: -.03em; margin: 0; }
.articles button:hover .article-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
@media (max-width: 760px) { .articles .article-title { font-size: 36px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.form-purpose { font-size: 13px; color: #bdcbbb; margin: 0 0 14px; }
.form-purpose a { text-decoration: underline; }
.plain a { text-decoration: underline; }

/* ---- round-two review fixes, 4 October night: phones, gate sizes, focus, targets, pop-up close, notice heading ---- */
@media (max-width: 760px) {
  .c-hero__copy { padding-top: 72px; }
  .rotation-card .cultivar-title { font-size: min(60px, 15vw); }
  .contact h2 { font-size: clamp(44px, 13vw, 90px); }
  .hero-image.is-video:before { inset: 0 0 50%; background: linear-gradient(#04190be6, transparent); }
  nav a { padding: 9px 0; }
  footer > div a { display: inline-block; padding: 10px 0; }
}
.fact-row > div { display: flex; flex-direction: column; justify-content: flex-end; }
@media (max-height: 700px) { #age { padding: 20px 22px; } #age .age-content img { width: 60%; margin-bottom: 18px; } #age .age-content h2 { font-size: 46px; } }
@media (max-height: 450px) { #age { padding: 16px 24px; } #age .age-content img { width: 38%; margin-bottom: 10px; } #age .age-content h2 { font-size: 36px; } #age .age-content p { font-size: 14px; margin-bottom: 8px; } #age .age-actions { grid-template-columns: 1fr 1fr; } }
#menu, .vid__pause, .close { min-height: 44px; }
#detail .close { position: sticky; top: 0; float: right; z-index: 2; background: var(--paper); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--paper); }
.hero :focus-visible, .c-hero :focus-visible, .grow-notes :focus-visible, .contact :focus-visible, footer :focus-visible, .review-bar :focus-visible { outline-color: var(--paper); box-shadow: 0 0 0 6px var(--ink); }
.cultivar-grid :focus-visible, .rotation-grid :focus-visible, .c-rotation :focus-visible, .c-lead :focus-visible { outline-offset: -4px; box-shadow: none; }
.licensing-notice .notice-title { display: block; color: var(--paper); font: 700 14px/1.4 'DM Sans', sans-serif; letter-spacing: 0; text-transform: none; margin: 0 0 10px; }

/* ---- launch site: sending enquiry form ---- */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
#enquiry [aria-invalid="true"] { outline: 2px solid #f2b8ac; outline-offset: 2px; }
#enquiry button[aria-disabled="true"] { opacity: .75; cursor: progress; }
.cf-turnstile { margin: 4px 0 16px; }
#enquiry[hidden] { display: none; }  /* the owner's form rule sets display and would otherwise override the hidden attribute */
.form-done h3 { margin: 0 0 12px; }
.form-done p { margin: 0 0 18px; }
