/* The public showcase has its own document, with shared app and consent styles. */
.public-home { background:#fbf8ef; color:var(--forest); }
.public-home main { width:100%; margin:0; }
.public-home section { padding:0; }
.public-home [id] { scroll-margin-top:1rem; }
.public-home :where(h1,h2,p,figure,dl,dd) { margin:0; }
.public-home :where(h1,h2,.guest-brand,.guest-specimen legend,.guest-routines dt) {
  font-family:Georgia,serif;
}
.public-home h1,.public-home h2 { font-weight:500; letter-spacing:-.045em; text-wrap:balance; }
.public-home h1 { font-size:clamp(3rem,6.2vw,6.2rem); line-height:.99; }
.public-home h2 { font-size:clamp(2.25rem,3.8vw,3.85rem); line-height:1.06; }
.public-home a { color:inherit; text-underline-offset:4px; }
.public-home a:focus-visible,.guest-specimen input:focus-visible + label {
  outline:3px solid #ad7123; outline-offset:4px;
}
.public-home .guest-width { width:min(1320px,calc(100% - clamp(32px,7vw,104px))); margin-inline:auto; }
.guest-header,.guest-nav,.guest-account,.guest-actions,.guest-footer nav { display:flex; align-items:center; }
.guest-header { justify-content:space-between; gap:24px; padding-block:18px; }
.guest-brand { display:inline-flex; align-items:center; gap:9px; font-size:clamp(1.45rem,2.4vw,2.1rem); font-weight:600; text-decoration:none; letter-spacing:-.045em; }
.guest-nav,.guest-account,.guest-footer nav { gap:clamp(12px,2.2vw,32px); }
.guest-nav a,.guest-account a,.guest-footer nav a { display:inline-flex; align-items:center; min-height:44px; font-size:.94rem; font-weight:550; text-decoration:none; }
.guest-nav a:hover,.guest-footer nav a:hover,.guest-account a:not(.guest-button):hover { text-decoration:underline; }
.public-home .guest-button {
  display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:11px 23px;
  border-radius:24px; background:var(--forest); color:#fffdf2; text-decoration:none; font-weight:650;
}
.public-home .guest-button:hover { background:var(--forest-2); }
.public-home .guest-hero { display:grid; grid-template-columns:47% 53%; overflow:hidden; border-radius:22px; color:#fff9e9; background:#163c30; }
.guest-hero-copy { align-self:center; padding:clamp(36px,4.7vw,76px); }
.guest-hero h1 em { display:block; color:#e2e8ac; font-weight:400; }
.guest-hero-copy p { max-width:38ch; margin-top:22px; color:#eceee1; font-size:clamp(1rem,1.4vw,1.18rem); line-height:1.65; }
.guest-hero picture { display:block; position:relative; min-height:clamp(390px,35vw,520px); }
.guest-hero picture img { width:100%; height:100%; position:absolute; inset:0; object-fit:cover; object-position:60% center; }
.guest-actions { gap:12px 22px; flex-wrap:wrap; margin-top:26px; }
.public-home .guest-hero .guest-button { background:#e7edb9; color:#193d2f; }
.public-home .guest-hero .guest-button:hover { background:#f4f5d8; }
.guest-text-link { display:inline-flex; align-items:center; min-height:44px; font-weight:600; }
.public-home .guest-section { padding-block:clamp(48px,6vw,90px); }
.guest-editor,.guest-crops-inner,.guest-journal { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); align-items:center; gap:clamp(32px,7vw,110px); }
.guest-copy { min-width:0; }
.guest-copy .guest-label { text-transform:uppercase; font-weight:700; font-size:.8rem; letter-spacing:.11em; line-height:1.4; color:#627147; margin-bottom:14px; }
.guest-copy > p:not(.guest-label),.guest-final p { margin-top:18px; max-width:49ch; font-size:1.05rem; line-height:1.65; color:#465b4e; }
.guest-copy > .guest-text-link { margin-top:12px; }
.guest-map { overflow:hidden; border:1px solid #bfc8b3; border-radius:15px; background:#354b36; }
.guest-map > figcaption { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 18px; background:#f1f1e4; }
.guest-map > figcaption span { font-size:.875rem; color:#596853; }
.guest-map-link { display:inline-flex; gap:10px; align-items:center; min-height:44px; font-weight:650; text-decoration:none; }
.guest-map-link:hover span:first-of-type { text-decoration:underline; }
.guest-map-link img { width:68px; height:42px; border:2px solid #e5ebd0; border-radius:7px; object-fit:cover; }
.guest-plot { position:relative; }
.guest-plot > img { display:block; width:100%; height:auto; }
.guest-pins button { position:absolute; transform:translate(-50%,-50%); min-height:32px; padding:3px 10px; border:1px solid #cdd6bd; border-radius:18px; color:#1c4032; background:#fffdf2; font:600 clamp(.74rem,1.1vw,.92rem)/1.2 system-ui,sans-serif; cursor:pointer; box-shadow:0 2px 6px #18271950; }
.guest-pins button::before { content:""; display:inline-block; width:.5em; height:.5em; border-radius:50%; margin-right:.36em; background:#93a080; }
.guest-pins button[aria-pressed=true] { background:#214934; border-color:#fff9df; color:#fff9df; }
.guest-pins button[aria-pressed=true]::before { background:#dce9a9; }
.pin-tomato { left:25%; top:50%; } .pin-lettuce { left:70%; top:41%; } .pin-radish { left:70%; top:84%; }
.guest-map-selection { display:flex; flex-wrap:wrap; align-items:baseline; gap:3px 12px; padding:10px 18px; background:#fffdf3; color:#41594a; font-size:.94rem; }
.guest-map-selection strong { color:var(--forest); }
.guest-calendar { background:#f0eee1; border-block:1px solid #dfdfcd; }
.guest-calendar-inner { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); align-items:center; gap:clamp(32px,7vw,110px); }
.guest-copy > p.guest-invitation { font-weight:650; color:#254c38; }
.guest-week { padding:clamp(14px,2.2vw,30px); border:1px solid #cdcebb; background:#fffdf5; border-radius:16px; }
.guest-week-title { display:flex; align-items:baseline; justify-content:space-between; gap:4px 12px; flex-wrap:wrap; margin-bottom:20px; }
.guest-week-title strong { font:500 clamp(1.65rem,3vw,2.5rem)/1.1 Georgia,serif; letter-spacing:-.04em; }
.guest-week-title span { color:#526253; font-size:.86rem; }
.guest-days { position:relative; min-width:0; display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:0 2px; padding:0; margin:0; border:0; }
.guest-days input,.guest-sr-only { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
.guest-days label { grid-row:1; grid-column:var(--column); min-width:0; display:grid; justify-items:center; gap:2px; padding:6px 0; cursor:pointer; color:#435a49; border-radius:8px; }
.guest-days label span { font-size:.8rem; } .guest-days label b { font-size:1.05rem; }
.guest-days label::after { content:""; width:5px; height:5px; border-radius:50%; background:var(--day-color,transparent); }
.day-seed { --day-color:#679047; } .day-plant { --day-color:#4883a1; } .day-harvest { --day-color:#ad7224; } .day-water { --day-color:#76629a; } .day-record { --day-color:#a07a58; }
.guest-days input:checked + label { background:var(--forest); color:white; }
.guest-days input:checked + label::after { background:currentColor; }
.guest-days input:focus-visible + label,.guest-pins button:focus-visible { outline:3px solid #ac7328; outline-offset:2px; z-index:1; }
.guest-day-entry { display:none; grid-column:1/-1; grid-row:2; margin-top:14px; padding:12px 16px; border-left:4px solid var(--day-color,#c8cbb7); background:#f4f4e8; border-radius:0 8px 8px 0; }
.guest-days input:checked + label + .guest-day-entry { display:block; }
.guest-day-entry > span { display:block; font-size:.8rem; font-weight:650; color:#4b624e; }
.guest-day-entry strong { display:block; font-size:1.1rem; margin:2px 0; } .guest-day-entry p { color:#4b5b4d; font-size:.9rem; }
.guest-crops { background:#e9edda; }
.guest-specimen { position:relative; min-width:0; margin:0; padding:15px clamp(12px,3vw,36px) 20px; border:1px solid #c2ccb0; border-radius:16px; background:#f8f8ec; text-align:center; }
.guest-specimen legend { padding:0 12px; font-size:1.4rem; }
.guest-specimen input { position:absolute; width:1px; height:1px; opacity:0; }
.guest-specimen label { display:inline-flex; align-items:center; min-height:44px; padding:6px clamp(6px,1.2vw,16px); cursor:pointer; border-radius:24px; font-size:.92rem; }
.guest-specimen input:checked + label { color:white; background:var(--forest); }
.guest-phases figure { display:none; }
#fase-germoglio:checked ~ .guest-phases .phase-germoglio,
#fase-crescita:checked ~ .guest-phases .phase-crescita,
#fase-raccolta:checked ~ .guest-phases .phase-raccolta { display:block; }
.guest-phases img { display:block; width:100%; height:160px; margin:12px auto; object-fit:contain; }
.guest-phases figcaption { font-size:.94rem; line-height:1.5; }
.guest-journal { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.guest-harvest { display:block; width:100%; height:auto; aspect-ratio:1.27; object-fit:cover; border-radius:16px; }
.guest-routines { margin-top:20px; }
.guest-routines > div { border-top:1px solid var(--line); padding:14px 0; }
.guest-routines dt { font-size:1.25rem; font-weight:600; }
.guest-routines dd { margin-top:4px; line-height:1.55; color:#465b4e; }
.public-home .guest-final { background:#193e32; padding:clamp(42px,6vw,80px) 0; text-align:center; color:#fff9e9; }
.guest-final p { color:#e1e7cf; margin:14px auto 20px; }
.public-home .guest-final .guest-button { background:#e7edb9; color:var(--forest); }
.public-home .guest-final .guest-button:hover { background:#f4f5d8; }
.public-home .guest-footer { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px 24px; padding:24px 0; border:0; }
.guest-footer nav { flex-wrap:wrap; }
.guest-footer .site-footer-links { flex-basis:100%; }
@media (max-width:820px) {
  .guest-header { flex-wrap:wrap; gap:0 10px; padding:8px 0; }
  .guest-nav { order:3; width:100%; justify-content:space-between; gap:6px; }
  .public-home .guest-hero { grid-template-columns:minmax(0,1fr); }
  .guest-hero-copy { padding:32px clamp(22px,5vw,44px); }
  .guest-hero picture { min-height:0; aspect-ratio:2.4; }
  .guest-hero h1 em { display:inline; }
  .guest-editor,.guest-crops-inner,.guest-journal,.guest-calendar-inner { grid-template-columns:minmax(0,1fr); gap:24px; }
  .guest-harvest { aspect-ratio:2; }
  .guest-journal .guest-copy { grid-row:1; }
}
@media (max-width:480px) {
  .guest-hero h1 { font-size:clamp(2.75rem,12vw,3.5rem); }
  .guest-hero h1 em { display:block; }
  .guest-hero picture { aspect-ratio:1.95; }
  .guest-actions { margin-top:15px; gap:4px 15px; }
  .public-home .guest-button { padding-inline:16px; }
  .guest-hero-copy { padding:26px 20px; }
  .guest-hero-copy p { margin-top:14px; }
  .public-home .guest-section { padding-block:40px; }
  .guest-nav a,.guest-account a { font-size:.88rem; }
}
@media (prefers-reduced-motion:reduce) {
  html:has(.public-home) { scroll-behavior:auto; }
}
