/* c0-chrome-v4.css — shared V4 header/footer/nav/buttons for inner pages.
   Tokens match the homepage. Does not restyle homepage hero type scales. */

@font-face{font-family:'Instrument Sans';src:url(/fonts/InstrumentSans.woff2) format('woff2');font-weight:400 700;font-display:swap}

:root{
  --ink:#123f2d;--forest:#174b37;--forest2:#2c5e47;--cream:#f4f2e8;--cream2:#ede9d9;
  --sun:#f6c445;--white:#fffefa;--muted:#526f5d;--line:#c8cebd;
  --shadow:0 16px 45px rgba(18,63,45,.09)
}

/* Header */
.header{position:relative;background:var(--cream);border-bottom:1px solid #e0dfd0;z-index:30}
.header-inner{display:flex;align-items:center;gap:20px;min-height:90px}
.brand{text-decoration:none;display:flex;align-items:center;gap:12px;font-size:1.65rem;font-weight:800;letter-spacing:-.08em;line-height:1;color:var(--ink)}
.brandmark{width:35px;height:35px;display:grid;grid-template-columns:repeat(2,1fr);gap:3px;transform:rotate(-7deg);flex-shrink:0}
.brandmark i{border-radius:3px;background:var(--ink);display:block;width:100%;height:100%}
.brandmark i:nth-child(2){background:var(--sun)}
.brandmark i:nth-child(3){background:#55ad88}
.brandmark i:nth-child(4){background:var(--forest2)}
.brand small{display:block;font-size:.63rem;letter-spacing:0;line-height:1.5;font-weight:600;color:var(--ink)}
.header .nav{display:flex;align-items:center;gap:26px;margin-left:auto}
.header .nav a{text-decoration:none;font-weight:650;font-size:.9rem;color:var(--ink)}
.header .nav a:hover{text-decoration:underline}
.head-cta{margin-left:16px}
.menu-button{display:none;background:transparent;border:1px solid var(--line);padding:10px 12px;border-radius:9px;color:var(--ink);font:650 .95rem 'Instrument Sans',system-ui,sans-serif;cursor:pointer}

/* Logo glow — four squares, one after another. Favicons stay static. */

/* Slow, sequential movement of the existing four squares — decorative, not a redesign. */
@keyframes c0-tile-step {
  0%, 8%, 100% { transform: translate3d(0,0,0) rotate(0deg); }
  3.5% { transform: translate3d(0,-4px,0) rotate(23deg); }
}
@media (hover:hover) and (pointer:fine) and (min-width: 850px) {
  .header .brandmark i { animation: c0-tile-step 16s ease-in-out infinite; transform-origin:center; }
  .header .brandmark i:nth-child(1) { animation-delay: 0s; }
  .header .brandmark i:nth-child(2) { animation-delay: 4s; }
  .header .brandmark i:nth-child(3) { animation-delay: 8s; }
  .header .brandmark i:nth-child(4) { animation-delay: 12s; }
  .header .brand small { animation: c0-tagline-gentle 20s ease-in-out infinite; }
}
@keyframes c0-tagline-gentle {
  0%, 12%, 88%, 100% { transform: translateX(0); opacity: 1; }
  46%, 58% { transform: translateX(5px); opacity: .82; }
}
@media (prefers-reduced-motion: reduce) {
  .header .brandmark i, .header .brand small { animation: none !important; }
}

/* Buttons (V4) */
.header .btn, .footer .btn, a.btn-outline, a.btn-yellow{
  display:inline-flex;gap:14px;justify-content:center;align-items:center;
  text-decoration:none;padding:15px 22px;border-radius:12px;font-weight:800;
  border:2px solid transparent;min-height:55px;
  transition:transform .2s,background .2s,box-shadow .2s
}
.header .btn:hover, a.btn-outline:hover, a.btn-yellow:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.btn-yellow{background:var(--sun);color:var(--ink)}
.btn-outline{border-color:var(--ink);color:var(--ink);background:transparent}

/* Footer */
.footer{background:#0e3325;color:#fff;padding:60px 0 30px}
.footer-cols{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:28px}
.footer h3{font-size:1rem;letter-spacing:0;margin:0 0 15px;color:#fff;font-weight:700}
.footer a{display:block;font-size:.9rem;color:#d7e6da;text-decoration:none;margin-bottom:10px}
.footer a:hover{text-decoration:underline}
.footer p{font-size:.9rem;color:#c1d7c8;margin:0 0 10px}
.footer .brand{color:#fff}
.footer .brand small{color:#c1d7c8}
.footer .brandmark{transform:rotate(-7deg)}
.bottom{border-top:1px solid #486c55;margin-top:40px;padding-top:23px;color:#c1d7c8;font-size:.8rem}

@media (max-width:1100px){
  .header .nav{gap:14px}
  .header a.head-cta, .header .head-cta{display:none}
  .footer-cols{grid-template-columns:1.3fr 1fr 1fr;gap:22px}
  .footer-cols > .footer-brand{grid-column:1 / -1}
}
@media (max-width:720px){
  .header-inner{min-height:72px}
  .header .nav{
    display:none;position:absolute;left:0;right:0;top:100%;
    background:var(--cream);padding:22px;border-bottom:1px solid var(--line);
    box-shadow:var(--shadow);flex-direction:column;align-items:stretch;gap:16px;margin:0
  }
  .header .nav.open{display:flex}
  .menu-button{display:block;margin-left:auto}
  .footer{padding-bottom:110px}
  .footer-cols{grid-template-columns:1fr 1fr}
  .footer-cols > .footer-brand{grid-column:1 / -1}
}


/* v4.2: footer NAP (name, address, phone) and Google Maps embed */
.footer-nap{font-size:.9rem;color:#c1d7c8;margin:0 0 10px;line-height:1.55}
.footer-nap a{display:inline;color:#d7e6da;margin:0;text-decoration:underline;text-underline-offset:3px}
.footer-nap-name{font-weight:800;color:#fff}
.nn-map{margin-top:28px;border-radius:18px;overflow:hidden;border:1px solid #c8cebd;box-shadow:0 8px 28px rgba(18,63,45,.08);background:#eef0e4;max-width:100%}
.nn-map iframe{width:100%;height:260px;border:0;display:block}
@media (min-width:721px){
  .nn-map iframe{height:360px}
}

/* v4.2: realistic iPhone frame — natural 9:19.5 proportions, PDF scrolls INSIDE the screen only */
.nn-iphone{
  --nn-iphone-bezel:#18241e;
  --nn-iphone-island:#0d1612;
  position:relative;
  width:280px;
  max-width:100%;
  flex:0 0 auto;
  margin:0 auto;
  padding:12px 10px 14px;
  background:var(--nn-iphone-bezel);
  border-radius:48px;
  box-sizing:border-box;
  overflow:visible;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 0 0 1px rgba(18,63,45,.35),
    0 28px 56px -24px rgba(18,63,45,.55);
}
.nn-iphone-btn{
  position:absolute;
  background:#101c18;
  z-index:2;
  pointer-events:none;
}
.nn-iphone-btn-silent{left:-3px;top:92px;width:3px;height:22px;border-radius:2px 0 0 2px}
.nn-iphone-btn-vol-up{left:-3px;top:128px;width:3px;height:36px;border-radius:2px 0 0 2px}
.nn-iphone-btn-vol-down{left:-3px;top:172px;width:3px;height:36px;border-radius:2px 0 0 2px}
.nn-iphone-btn-power{right:-3px;top:150px;width:3px;height:56px;border-radius:0 2px 2px 0}
/* Height is locked by padding-top aspect ratio so PDF images cannot stretch the phone */
.nn-iphone-screen{
  position:relative;
  width:100%;
  height:0;
  padding-top:calc(19.5 / 9 * 100%);
  border-radius:36px;
  overflow:hidden;
  background:#0d1612;
  box-sizing:border-box;
}
.nn-iphone-chrome{
  position:absolute;
  top:0;left:0;right:0;
  height:36px;
  background:#0d1612;
  z-index:3;
}
.nn-iphone-island{
  position:absolute;
  top:8px;
  left:50%;
  width:78px;
  height:22px;
  border-radius:12px;
  background:var(--nn-iphone-island);
  transform:translateX(-50%);
  box-shadow:0 0 0 1px rgba(255,255,255,.05) inset;
}
.nn-iphone .our-first-client-pdf-window,
.our-first-client-pdf-window{
  position:absolute;
  top:36px;
  left:0;
  right:0;
  bottom:0;
  overflow-y:auto;
  overflow-x:hidden;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  background:#fffefa;
  outline:none;
  min-height:0;
  height:auto;
}
.nn-iphone .our-first-client-pdf-window:focus,
.nn-iphone .our-first-client-pdf-window:focus-visible{
  outline:3px solid #7dba9a;
  outline-offset:-3px;
}
.nn-iphone .our-first-client-pdf-window img{
  width:100%;
  height:auto;
  display:block;
  border-radius:0;
}
.nn-iphone .our-first-client-pdf-window::-webkit-scrollbar{width:6px}
.nn-iphone .our-first-client-pdf-window::-webkit-scrollbar-track{background:rgba(18,63,45,.08)}
.nn-iphone .our-first-client-pdf-window::-webkit-scrollbar-thumb{background:#2c5e47;border-radius:6px}
.nn-iphone-home{
  position:absolute;
  bottom:7px;
  left:50%;
  width:108px;
  height:5px;
  border-radius:3px;
  background:rgba(252,251,248,.55);
  transform:translateX(-50%);
  z-index:4;
  pointer-events:none;
}
.nn-iphone-scroll-hint{
  position:absolute;
  left:0;right:0;bottom:0;
  height:72px;
  pointer-events:none;
  z-index:3;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding-bottom:16px;
  background:linear-gradient(to bottom, transparent, rgba(13,22,18,.5));
  font-size:10px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#fcfbf8;
}
.nn-iphone-caption{
  margin:0;
  text-align:center;
  font-size:.82rem;
  font-weight:600;
  color:#2c5e47;
}
.nn-iphone-on-page{margin:8px auto 16px}
@media (min-width:721px){
  /* ~320px chassis, ~300px screen, total height about 676px */
  .nn-iphone{width:320px}
}

/* v4.2: slim green in-screen scroll bar + Scroll tag — no extra layout */
.nn-iphone .our-first-client-pdf-window{
  padding:0;
  scrollbar-gutter:auto;
  scroll-snap-type:y proximity;
  overscroll-behavior:contain;
  touch-action:pan-y;
  scrollbar-width:none;
}
.nn-iphone .our-first-client-pdf-window::-webkit-scrollbar{width:0;height:0}
.nn-iphone-page{
  width:100%;
  margin:0;
  padding:0;
  scroll-snap-align:start;
  scroll-snap-stop:normal;
}
.nn-iphone .our-first-client-pdf-window img,
.nn-iphone-page img{
  width:100%;
  max-width:100%;
  height:auto;
  display:block;
  margin:0;
  border-radius:0;
}

/* v4.2: slim green scroll bar OUTSIDE the phone, hugging the right edge */
.nn-iphone-shell{
  position:relative;
  width:280px;
  max-width:100%;
  margin:0 auto;
  flex:0 0 auto;
}
.nn-iphone-shell .nn-iphone{
  width:100%;
  margin:0;
}
.nn-iphone-on-page{margin:0}
.nn-iphone-shell .nn-iphone-on-page{margin:0}
.nn-iphone-scrollbar{
  position:absolute;
  top:20px;
  bottom:20px;
  right:-11px; /* 6px gap + 5px visual bar; 44px hit area extends left over the phone */
  width:44px;
  z-index:6;
  background:transparent;
  border-radius:0;
  cursor:pointer;
  touch-action:none;
  pointer-events:auto;
}
.nn-iphone-scrollbar::before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  width:5px;
  background:rgba(18,63,45,.18);
  border-radius:6px;
  pointer-events:none;
}
.nn-iphone-scrollbar-thumb{
  position:absolute;
  right:0;
  width:44px;
  min-height:28px;
  background:transparent;
  border-radius:0;
  box-shadow:none;
  touch-action:none;
  cursor:grab;
  z-index:1;
}
.nn-iphone-scrollbar-thumb::before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  width:5px;
  background:#123f2d;
  border-radius:6px;
  box-shadow:0 0 0 1px rgba(18,63,45,.15);
  pointer-events:none;
}
.nn-iphone-scrollbar-thumb:active{cursor:grabbing}
.nn-iphone-scroll-tag{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  background:#123f2d;
  color:#fcfbf8;
  font-size:9px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  line-height:1;
  padding:4px 7px;
  border-radius:999px;
  white-space:nowrap;
  box-shadow:0 2px 8px rgba(18,63,45,.28);
  pointer-events:none;
}
.nn-iphone-shell.is-scrolled .nn-iphone-scroll-tag,
.nn-iphone.is-scrolled .nn-iphone-scroll-tag{opacity:.9}
.nn-iphone-scrollbar:focus,
.nn-iphone-scrollbar:focus-visible{
  outline:none;
}
.nn-iphone-scrollbar:focus-visible::before{
  box-shadow:0 0 0 3px #7dba9a;
}
@media (min-width:721px){
  .nn-iphone-shell{width:320px}
}
@media (prefers-reduced-motion:reduce){
  .nn-iphone .our-first-client-pdf-window{
    scroll-behavior:auto;
    scroll-snap-type:none;
  }
  .nn-iphone-scrollbar-thumb{transition:none}
}

.nn-iphone-shell{overflow:visible}
.our-first-client-media{overflow:visible}
.nn-iphone-shell:has(.nn-iphone-on-page){margin:8px auto 16px}
