/* Hidden Fern extends, rather than replaces, the approved Spica design. */
.hf-main{padding-top:86px}
.hf-wrap{max-width:var(--content);margin:0 auto;padding-left:var(--space-6);padding-right:var(--space-6)}
.hf-back{display:inline-flex;align-items:center;gap:.6rem;font-size:var(--text-sm);color:var(--color-text-muted);padding:var(--space-8) 0}
.hf-back:hover{color:var(--green)}
.hf-hero{position:relative;overflow:hidden;padding:var(--space-16) 0 var(--space-20);background:#edf1e7}
.hf-hero__grid{display:grid;grid-template-columns:1fr 1.1fr;gap:var(--space-12);align-items:center}
.hf-hero__logo{width:370px;max-width:100%;height:auto}
.hf-entrance{overflow:hidden;background:#faf9f6;border-radius:var(--radius-lg);border:1px solid #cbd6c2;box-shadow:0 12px 40px rgba(36,57,32,.08)}
.hf-entrance img{width:100%;height:auto}
.hf-entrance figcaption{padding:var(--space-4) var(--space-6);font-family:var(--font-display);font-size:var(--text-lg);color:#61745b}
.hf-hero h1{font-size:clamp(4rem,8vw,7.5rem);font-weight:500;letter-spacing:-.035em;line-height:1.04;color:#243920}
.hf-hero__tagline{font-family:var(--font-display);font-size:clamp(1.6rem,2.8vw,2.5rem);line-height:1.2;color:#47573f;margin:var(--space-5) 0 var(--space-6);max-width:23ch}
.hf-hero__intro{color:var(--color-text-muted);max-width:54ch;font-size:var(--text-base)}
.hf-hero__actions{display:flex;flex-wrap:wrap;gap:var(--space-4);margin-top:var(--space-8)}
.hf-botanical{position:relative;min-height:340px;display:flex;align-items:center;justify-content:center;border:1px solid #cbd6c2;border-radius:50% 50% 1rem 1rem;background:#e1e9da}
.hf-botanical svg{width:78%;max-height:330px;color:#617b4b;opacity:.85}
.hf-botanical figcaption{position:absolute;bottom:1.1rem;text-transform:uppercase;letter-spacing:.2em;font-size:.65rem;color:#617354}
.hf-location{font-size:var(--text-xs);letter-spacing:.12em;text-transform:uppercase;color:#617354;display:block;margin-top:var(--space-6)}
.hf-homes{padding-top:var(--space-20);padding-bottom:var(--space-20)}
.hf-section-head{display:flex;justify-content:space-between;gap:var(--space-8);align-items:end;margin-bottom:var(--space-10)}
.hf-section-head .section-title{margin-bottom:0}
.hf-section-head>p{max-width:35ch;color:var(--color-text-muted);font-size:var(--text-sm)}
.hf-lots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-6)}
.hf-lots--four{grid-template-columns:repeat(2,minmax(0,1fr))}
.hf-lot{background:var(--color-surface);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm);border:1px solid var(--color-border);transition:transform var(--transition),box-shadow var(--transition)}
.hf-lot:hover{transform:translateY(-5px);box-shadow:var(--shadow-md)}
.hf-lot__image{display:block;position:relative;background:#e8ede2;aspect-ratio:4/3;overflow:hidden;border-bottom:1px solid var(--color-border)}
.hf-lot:nth-child(2) .hf-lot__image{background:#eeeae0}
.hf-lot:nth-child(3) .hf-lot__image{background:#e1e8df}
.hf-lot__image img{width:100%;height:100%;object-fit:contain}
.hf-lot__letter{position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);font-family:var(--font-display);font-weight:500;font-size:7rem;line-height:1;color:#627655}
.hf-lot__placeholder{position:absolute;bottom:1.5rem;left:1rem;right:1rem;text-align:center;color:#67745e;font-size:var(--text-xs)}
.hf-lot__body{padding:var(--space-6)}
.hf-status{display:inline-block;font-size:.7rem;letter-spacing:.13em;text-transform:uppercase;color:var(--green);font-weight:600;margin-bottom:var(--space-3)}
.hf-lot h3{font-size:2rem;margin-bottom:var(--space-3)}
.hf-lot__body p{font-size:var(--text-sm);color:var(--color-text-muted)}
.hf-lot__body .hf-render-note{font-size:var(--text-xs);margin-top:var(--space-3);padding-top:var(--space-3);border-top:1px solid var(--color-border);color:var(--green-deep)}
.hf-lot__body .text-link{display:flex;justify-content:space-between;align-items:center}
.hf-note{font-size:var(--text-xs);color:var(--color-text-muted);margin-top:var(--space-8);max-width:72ch}
.hf-contact{background:var(--charcoal);color:var(--color-text-inverse);padding:var(--space-16) var(--space-6);text-align:center}
.hf-contact .section-title{max-width:22ch;margin-left:auto;margin-right:auto}
.hf-contact p{margin-left:auto;margin-right:auto;color:#d1d5c9;max-width:52ch}
.hf-contact .btn{margin-top:var(--space-8);background:#e3eddb;color:#263d1d}
.hf-contact .btn:hover{background:white}
.hf-homehead{padding-top:var(--space-5);padding-bottom:var(--space-10);display:flex;gap:var(--space-10);justify-content:space-between;align-items:end}
.hf-homehead h1{font-size:var(--text-3xl);margin-bottom:var(--space-5)}
.hf-homehead p:not(.eyebrow){color:var(--color-text-muted);max-width:52ch}
.hf-homehead .btn{flex-shrink:0}
.hf-facts{display:flex;flex-wrap:wrap;gap:var(--space-6);margin-top:var(--space-6)}
.hf-facts div{border-left:2px solid var(--color-border);padding-left:var(--space-4)}
.hf-facts dt{font-size:var(--text-xs);color:var(--color-text-muted)}
.hf-facts dd{font-weight:600}
.hf-design{padding-bottom:var(--space-16)}
.hf-features{padding:var(--space-5) 0 var(--space-16)}
.hf-features__grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-10) var(--space-12)}
.hf-features__grid article{padding-top:var(--space-5);border-top:1px solid var(--color-border)}
.hf-features__grid h3{font-size:var(--text-xl);margin-bottom:var(--space-3)}
.hf-features__grid p{font-size:var(--text-base);color:var(--color-text-muted);max-width:55ch}
.hf-homehero{overflow:hidden;border-radius:var(--radius-lg);border:1px solid var(--color-border);background:#eef2e9;margin-bottom:var(--space-10)}
.hf-homehero>button{width:100%;display:block;cursor:zoom-in}
.hf-homehero img{width:100%;height:auto}
.hf-homehero figcaption{padding:var(--space-5) var(--space-6)}
.hf-homehero .hf-status{margin-bottom:var(--space-2)}
.hf-homehero figcaption p{font-size:var(--text-sm);font-weight:500;color:var(--color-text)}
.hf-homehero figcaption .hf-homehero__note{font-size:var(--text-xs);font-weight:400;color:var(--color-text-muted);margin-top:var(--space-1)}
.hf-tabs{display:flex;gap:var(--space-2);border-bottom:1px solid var(--color-border);margin-bottom:var(--space-6)}
.hf-tabs button{padding:var(--space-4) var(--space-6);border-bottom:3px solid transparent;font-weight:500;font-size:var(--text-sm);min-height:48px}
.hf-tabs button[aria-selected="true"]{border-color:var(--green);color:var(--green);background:#eef2e9}
.hf-panel[hidden]{display:none}
.hf-drawing-placeholder{min-height:360px;border:1px solid #d9e0d2;background:#f0f2ec;border-radius:var(--radius-lg);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:var(--space-10);gap:var(--space-4)}
.hf-drawing-placeholder svg{width:45px;height:45px;color:#829574}
.hf-drawing-placeholder h2{font-size:var(--text-xl)}
.hf-drawing-placeholder p{color:var(--color-text-muted);font-size:var(--text-sm);max-width:44ch}
.hf-media{display:grid;gap:var(--space-6)}
.hf-media figure{padding:var(--space-6);background:white;border:1px solid var(--color-border);border-radius:var(--radius-lg)}
.hf-media button{width:100%;display:block;cursor:zoom-in}
.hf-media img{max-height:720px;width:100%;object-fit:contain}
.hf-media figcaption{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-top:var(--space-4);font-size:var(--text-sm);color:var(--color-text-muted)}
.hf-media figcaption a{color:var(--green);text-decoration:underline}
.hf-other{padding-top:var(--space-10);padding-bottom:var(--space-16);border-top:1px solid var(--color-border);display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem}
.hf-other a{color:var(--green);font-weight:500;font-size:var(--text-sm)}
.hf-dialog{position:fixed;inset:0;width:95vw;max-width:1500px;height:92dvh;max-height:92dvh;margin:auto;border:0;border-radius:var(--radius-lg);background:var(--color-bg);padding:0;color:var(--color-text)}
.hf-dialog::backdrop{background:rgba(15,22,12,.88)}
.hf-dialog__bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border-bottom:1px solid var(--color-border)}
.hf-dialog__bar p{font-size:var(--text-sm)}
.hf-dialog__controls{display:flex;gap:.5rem}
.hf-dialog__controls button{border:1px solid var(--color-border);min-width:44px;min-height:44px;border-radius:8px;padding:0 .6rem}
.hf-dialog__canvas{height:calc(100% - 78px);overflow:auto;padding:1rem;text-align:center;background:white}
.hf-dialog__canvas img{width:100%;max-width:none;height:auto;object-fit:contain;margin:auto}
@media(max-width:900px){
  .hf-hero__grid{grid-template-columns:1fr .55fr;gap:var(--space-6)}
  .hf-botanical{min-height:290px}
  .hf-lots{gap:var(--space-4)}
  .hf-lot__body{padding:var(--space-5)}
  .hf-lot h3{font-size:1.7rem}
  .hf-homehead{align-items:start;flex-direction:column}
}
@media(max-width:680px){
  .hf-features__grid{grid-template-columns:1fr;gap:var(--space-8)}
  .hf-main{padding-top:76px}
  .hf-hero{padding:var(--space-10) 0 var(--space-12)}
  .hf-hero__grid{grid-template-columns:1fr}
  .hf-botanical{min-height:200px;margin-top:var(--space-6);border-radius:var(--radius-lg)}
  .hf-botanical svg{height:175px}
  .hf-botanical figcaption{right:1rem;bottom:1rem;font-size:.6rem}
  .hf-section-head{display:block}
  .hf-section-head>p{margin-top:var(--space-5)}
  .hf-lots{grid-template-columns:1fr;gap:var(--space-6)}
  .hf-lot__image{aspect-ratio:3/2}
  .hf-homes{padding-top:var(--space-12);padding-bottom:var(--space-12)}
  .hf-drawing-placeholder{min-height:300px;padding:var(--space-6)}
  .hf-tabs button{padding:var(--space-4)}
  .hf-dialog__bar{flex-wrap:wrap}
  .hf-dialog__bar p{max-width:18ch}
}
