/* Kochi.co — shared stylesheet for all inner pages
   (about, contact, advertise, get-featured, copyright-policy,
    privacy-policy, terms-and-conditions)
   Externalising shared CSS enables browser caching and removes
   hundreds of lines of duplication across pages. */

:root{
  --navy:#0C1C2C; --navy-mid:#162B3E; --teal:#1B7A8A; --teal-l:#2CA8BC;
  --oyster:#F4EFE6; --oyster-d:#E8E0D0; --white:#FFFFFF;
  --t1:#0C1C2C; --t2:#4A6070; --t3:#8FA3B1;
  /* Darker teal for small body links to pass WCAG AA (>=4.5:1) on oyster/white.
     Brand teal (#1B7A8A) is AA only at >=24px or >=14px bold. */
  --link:#0E5C68;
  --serif:'Playfair Display',Georgia,serif;
  --sans:'DM Sans',system-ui,sans-serif;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-font-smoothing:antialiased;scroll-behavior:smooth;overflow-x:hidden}
body{font-family:var(--sans);font-size:15px;line-height:1.7;color:var(--t1);background:var(--oyster);overflow-x:hidden}

/* Focus ring — brand spec: 2px teal-l, 2px offset, keyboard-only */
a:focus-visible,button:focus-visible{
  outline:2px solid var(--teal-l);
  outline-offset:2px;
  border-radius:2px;
}

/* Skip link */
.skip-link{
  position:absolute;left:-9999px;top:8px;z-index:200;
  background:var(--navy);color:#fff;padding:10px 16px;border-radius:6px;
  font-size:13px;font-weight:600;text-decoration:none;
}
.skip-link:focus{left:16px}

/* NAV */
.nav{background:var(--navy);padding:16px 40px;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:100}
.nav-wm{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
.nav-wm .s{font-family:var(--serif);font-size:20px;font-weight:700;color:#fff;letter-spacing:-.02em}
.nav-wm .ss{font-family:var(--sans);font-size:16px;font-weight:300;color:var(--teal-l)}
.nav-links{display:flex;gap:28px}
.nav-links a{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;font-size:12px;font-weight:500;color:rgba(255,255,255,.66);text-decoration:none;letter-spacing:.04em;white-space:nowrap;transition:color .15s}
.nav-links a:hover,.nav-links a.active{color:var(--teal-l)}

/* HERO */
.hero{background:var(--navy-mid);padding:56px 40px 48px;border-bottom:1px solid rgba(255,255,255,.06)}
.hero-inner{max-width:760px;margin:0 auto}
.hero-label{font-size:10px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--teal-l);margin-bottom:12px}
.hero-title{font-family:var(--serif);font-size:40px;font-weight:700;color:#fff;letter-spacing:-.02em;margin-bottom:12px;line-height:1.2}
.hero-meta{font-size:12px;color:rgba(255,255,255,.55);line-height:1.6}
.hero-tagline{font-family:var(--serif);font-size:17px;font-style:italic;font-weight:400;color:rgba(255,255,255,.45);line-height:1.5}

/* MAIN */
.main{max-width:760px;margin:0 auto;padding:56px 40px 80px}

/* TOC */
.toc{background:var(--white);border:1px solid var(--oyster-d);border-radius:6px;padding:24px 28px;margin-bottom:48px}
.toc-title{font-size:10px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--teal);margin-bottom:14px}
.toc-list{list-style:none;display:flex;flex-direction:column;gap:2px}
.toc-list.two-col{display:grid;grid-template-columns:1fr 1fr;gap:2px}
.toc-list a{display:block;padding:7px 0;font-size:13px;color:var(--link);text-decoration:none;font-weight:500}
.toc-list a:hover{text-decoration:underline}
.toc-num{color:var(--t2);font-size:11px;margin-right:8px;font-family:'Courier New',monospace}

/* CONTENT */
.section{margin-bottom:48px;padding-top:8px}
.section-heading{font-family:var(--serif);font-size:22px;font-weight:700;color:var(--t1);margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--oyster-d)}
.section p{font-size:14px;color:var(--t2);line-height:1.75;margin-bottom:14px}
.section p:last-child{margin-bottom:0}
.section ul,.section ol{margin:12px 0 16px 20px}
.section li{font-size:14px;color:var(--t2);line-height:1.7;margin-bottom:6px}
.section strong{color:var(--t1);font-weight:600}
.section a{color:var(--link);text-decoration:underline;text-underline-offset:2px}
.section a:hover{text-decoration:none}

/* CALLOUTS */
.callout{background:rgba(27,122,138,.07);border-left:3px solid var(--teal);border-radius:0 4px 4px 0;padding:14px 20px;margin-bottom:20px}
.callout p{font-size:13px;color:var(--t2);margin:0;line-height:1.65}
.warn-callout{background:rgba(184,115,51,.08);border-left:3px solid #9A5E29;border-radius:0 4px 4px 0;padding:14px 20px;margin-bottom:20px}
.warn-callout p{font-size:13px;color:var(--t2);margin:0;line-height:1.65}

/* ENTITY BLOCK */
.entity-block{background:var(--white);border:1px solid var(--oyster-d);border-radius:6px;padding:20px 24px;margin-bottom:20px}
.entity-row{display:flex;gap:0;padding:8px 0;border-bottom:1px solid var(--oyster-d)}
.entity-row:last-child{border-bottom:none}
.entity-k{font-size:12px;font-weight:600;color:var(--teal);min-width:160px;flex-shrink:0}
.entity-v{font-size:13px;color:var(--t2);line-height:1.6}
.entity-v a{color:var(--link);text-decoration:underline;text-underline-offset:2px}
.entity-v a:hover{text-decoration:none}
.entity-block.wide .entity-k{min-width:200px}

/* CONTACT BLOCK */
.contact-block{background:var(--navy);border-radius:6px;padding:24px 28px;margin-top:24px}
.contact-block.spaced{margin-top:32px}
.contact-block p{font-size:13px;color:rgba(255,255,255,.72);line-height:1.65;margin-bottom:8px}
.contact-block strong{color:#fff;font-weight:600}
.contact-block a{color:var(--teal-l);text-decoration:underline;text-underline-offset:2px}
.contact-block a:hover{text-decoration:none}
.contact-block .social-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.contact-block .social-link{display:inline-flex;align-items:center;min-height:36px;padding:0 4px;font-size:12px;color:rgba(255,255,255,.62);text-decoration:none;letter-spacing:.04em;white-space:nowrap}
.contact-block .social-link:hover{color:var(--teal-l)}

/* TAGS */
.tag{display:inline-block;font-size:10px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;padding:3px 8px;border-radius:3px;background:rgba(27,122,138,.12);color:var(--teal);margin-right:6px;margin-bottom:4px}
.platform-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.platform-tag{font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:3px 9px;border-radius:3px;background:rgba(27,122,138,.1);color:var(--teal)}

/* FOOTER */
.footer{background:var(--navy);padding:52px 40px 36px}
.footer-grid{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:1fr auto;gap:48px;align-items:start}
.footer-wm{display:flex;align-items:baseline;margin-bottom:10px}
.footer-wm-s{font-family:var(--serif);font-size:24px;font-weight:700;color:#fff;letter-spacing:-.02em}
.footer-wm-ss{font-family:var(--sans);font-size:19px;font-weight:300;color:var(--teal-l)}
.footer-tag{font-family:var(--serif);font-size:13px;font-style:italic;color:rgba(255,255,255,.62);margin-bottom:20px}
.footer-attr{font-size:11px;color:rgba(255,255,255,.62);line-height:1.85}
.footer-attr a{color:rgba(255,255,255,.72);text-decoration:none}
.footer-attr a:hover{color:rgba(255,255,255,.92)}
.footer-links{display:flex;gap:48px}
.footer-col{display:flex;flex-direction:column}
.footer-link{font-size:12px;color:rgba(255,255,255,.72);text-decoration:none;padding:5px 0;white-space:nowrap;transition:color .15s}
.footer-link:hover{color:rgba(255,255,255,.92)}
.footer-col-head{font-size:9px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.52);margin-bottom:8px}
.footer-col-desc{font-size:11px;color:rgba(255,255,255,.52);line-height:1.6;max-width:160px;margin-bottom:10px;font-weight:300}
.footer-bottom{max-width:1280px;margin:40px auto 0;padding-top:20px;border-top:1px solid rgba(255,255,255,.06);display:flex;justify-content:space-between;align-items:center;font-size:11px;color:rgba(255,255,255,.62)}
.socials{display:flex;gap:8px}
.s-dot{width:28px;height:28px;border-radius:9999px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);text-decoration:none;transition:background .15s}
.s-dot:hover{background:rgba(255,255,255,.14)}

@media(max-width:640px){
  .nav{padding:14px 20px}
  .hero{padding:40px 20px 32px}
  .main{padding:40px 20px 60px}
  .toc-list.two-col{grid-template-columns:1fr}
  .entity-k{min-width:120px}
  .footer{padding:32px 20px}
  .footer-grid{grid-template-columns:1fr;gap:28px}
  .footer-links{flex-wrap:wrap;gap:28px 24px}
  .footer-link{white-space:normal}
  .footer-bottom{flex-direction:column;gap:12px;text-align:center}
}

/* Respect reduced-motion (brand spec requirement) */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.001ms!important;animation-duration:.001ms!important}
}
