/* ============================================================
   FOX DIGITAL MEDIA - GEOMETRY LAYER
   Hairline figures behind the content: proportion, growth and
   order drawn in the site's own gold and violet. Kept faint on
   purpose - they are felt before they are noticed.
   Gold stays a line and never a fill; nothing here enters the
   problems section.
   ============================================================ */

.geo{position:absolute;pointer-events:none;overflow:visible;max-width:none}
/* Hairlines hold 1px at any size. The drawn-in strokes are the exception: a
   non-scaling stroke measures its dashes in screen pixels, which breaks the
   draw, so those carry their width in drawing units instead. */
.geo *{vector-effect:non-scaling-stroke}
.geo :is(.g-ring,.g-square){vector-effect:none}
.geo-host{position:relative}
.geo-clip{overflow:hidden}
.geo-clip > .wrap{position:relative;z-index:2}

/* Figures arrive quietly; without motion they are simply present. */
.fx .geo{opacity:0;transition:opacity 1.8s ease}
.fx .geo.is-in{opacity:1}

@keyframes geo-fade{to{opacity:1}}
@keyframes geo-draw{to{stroke-dashoffset:0}}

/* ------------------------------------------------------------
   1 · CIRCLE AND SQUARE OF PROPORTION - founder portrait
   ------------------------------------------------------------ */
#about{overflow:hidden}
.geo-proportion{
  z-index:-1;
  left:50%;top:46%;
  width:143%;aspect-ratio:1;
  transform:translate(-50%,-50%);
}
.geo-proportion .g-ring,.geo-proportion .g-square{fill:none;stroke:rgba(240,216,126,.42);stroke-width:2.2}
.geo-proportion .g-square{stroke:rgba(201,172,105,.3)}
.geo-proportion .g-mark{fill:none;stroke:rgba(240,216,126,.5);stroke-width:1}
.fx .geo-proportion .g-ring,.fx .geo-proportion .g-square{stroke-dasharray:1;stroke-dashoffset:1}
.fx .geo-proportion.is-in .g-ring{animation:geo-draw 2.6s cubic-bezier(.65,0,.35,1) .3s forwards}
.fx .geo-proportion.is-in .g-square{animation:geo-draw 2.2s cubic-bezier(.65,0,.35,1) .9s forwards}
.fx .geo-proportion .g-mark{opacity:0}
.fx .geo-proportion.is-in .g-mark{animation:geo-fade 1.2s ease 2.4s forwards}
/* The two columns themselves sit in the golden ratio, 1 : 1.618. */
@media(min-width:901px){.about-grid{grid-template-columns:1fr 1.618fr}}
@media(max-width:900px){.geo-proportion{width:128%}.geo-proportion .g-ring,.geo-proportion .g-square{stroke-width:2.6}}
/* On a phone the portrait fills the screen, so the frame would only show as stray arcs at the edges. */
@media(max-width:560px){.geo-proportion{display:none}}

/* ------------------------------------------------------------
   2 · PHYLLOTAXIS - call-to-action band
   ------------------------------------------------------------ */
.geo-seeds{
  z-index:1;
  left:50%;top:50%;
  width:min(1180px,170vw);aspect-ratio:1;
  margin:calc(min(1180px,170vw) / -2) 0 0 calc(min(1180px,170vw) / -2);
  fill:rgba(196,170,255,.42);
  -webkit-mask-image:radial-gradient(closest-side,transparent 20%,#000 46%,rgba(0,0,0,.75) 70%,transparent 100%);
          mask-image:radial-gradient(closest-side,transparent 20%,#000 46%,rgba(0,0,0,.75) 70%,transparent 100%);
}
.fx .geo-seeds{animation:geo-turn 420s linear infinite}
@keyframes geo-turn{to{rotate:360deg}}

/* ------------------------------------------------------------
   3 · GROWTH RINGS - lead-generation guide block
   ------------------------------------------------------------ */
.geo-rings{
  z-index:0;
  left:-6%;top:50%;
  width:min(980px,150vw);aspect-ratio:640/520;
  transform:translate(-38%,-50%);
  fill:none;stroke:rgba(201,172,105,.2);stroke-width:1;
  -webkit-mask-image:radial-gradient(closest-side,#000 30%,transparent 100%);
          mask-image:radial-gradient(closest-side,#000 30%,transparent 100%);
}
.fx .geo-rings{scale:.94;transition:opacity 2.2s ease,scale 3.2s cubic-bezier(.16,1,.3,1)}
.fx .geo-rings.is-in{scale:1}

/* ------------------------------------------------------------
   4 · WIREFRAME FUNNEL - Our Scaling System
   ------------------------------------------------------------ */
.geo-funnel{
  z-index:0;
  left:50%;top:clamp(26px,4vw,56px);
  width:min(820px,96vw);height:clamp(300px,36vw,430px);
  transform:translateX(-50%);
  -webkit-mask-image:linear-gradient(180deg,#000 0,#000 62%,transparent 100%);
          mask-image:linear-gradient(180deg,#000 0,#000 62%,transparent 100%);
}

/* Phones: fewer, fainter lines behind tighter text. */
@media(max-width:700px){
  .geo-seeds{fill:rgba(196,170,255,.38)}
  .geo-rings{stroke:rgba(201,172,105,.15)}
}
