/*
Theme Name: Tripletail Studios
Theme URI: https://tripletailstudios.com
Author: Sam Teal
Author URI: https://tripletailstudios.com
Description: Custom one-page studio theme for Tripletail Studios, built from the brand guide. Teal Bar forward. Classic theme, works on any WordPress install.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tripletail-studios
*/

/* ============ TOKENS ============ */
:root{
  --deepest:#071A1A;
  --ink:#0A2929;
  --solid-teal:#0E8C8C;
  --bright-teal:#14B8A6;
  --light-teal:#8FE0D6;
  --pale-teal:#D7EFEC;
  --teal-gray:#5F7E7E;
  --paper:#ffffff;
  --mist:#F2F8F8;
  --line:#D7E8E5;
  --display:'Cinzel', Georgia, serif;
  --body:'Montserrat', system-ui, -apple-system, sans-serif;
  --wrap:1140px;
  --pad:24px;
}

/* ============ BASE ============ */
*{box-sizing:border-box;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:var(--body);font-weight:400;line-height:1.65;font-size:17px;
  -webkit-font-smoothing:antialiased;
}
img,svg{max-width:100%;display:block;}
a{color:var(--solid-teal);text-decoration:none;}
a:hover{color:var(--bright-teal);}
h1,h2,h3{margin:0 0 .5em;line-height:1.12;color:var(--ink);}
p{margin:0 0 1.1em;}
.wrap{max-width:var(--wrap);margin:0 auto;padding-left:var(--pad);padding-right:var(--pad);}
.eyebrow{
  font-size:12px;font-weight:600;letter-spacing:.28em;text-transform:uppercase;
  color:var(--solid-teal);margin-bottom:18px;
}
.section{padding:96px 0;}
.section.tint{background:var(--mist);}
.section.dark{background:var(--deepest);color:#E8F4F2;}
.section.dark h2,.section.dark h3{color:#fff;}
.section h2{font-family:var(--display);font-weight:600;font-size:clamp(28px,4vw,40px);letter-spacing:.01em;}
.lead{font-size:clamp(18px,2.2vw,21px);color:var(--teal-gray);max-width:60ch;}
.section.dark .lead{color:#A9CFCB;}

/* buttons */
.btn{
  display:inline-flex;align-items:center;gap:.5em;
  font-family:var(--body);font-weight:600;font-size:15px;letter-spacing:.02em;
  padding:14px 26px;border-radius:999px;border:1.5px solid transparent;cursor:pointer;
  transition:transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary{background:var(--bright-teal);color:#04201E;}
.btn-primary:hover{background:#2ED0BD;color:#04201E;transform:translateY(-1px);}
.btn-ghost{border-color:rgba(143,224,214,.5);color:var(--light-teal);}
.btn-ghost:hover{border-color:var(--light-teal);color:#fff;transform:translateY(-1px);}
.btn-ghost.on-light{border-color:var(--solid-teal);color:var(--solid-teal);}
.btn-ghost.on-light:hover{background:var(--solid-teal);color:#fff;}

/* ============ HEADER ============ */
.site-header{
  position:sticky;top:0;z-index:50;background:rgba(7,26,26,.86);
  backdrop-filter:saturate(140%) blur(10px);-webkit-backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid rgba(143,224,214,.10);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:74px;}
.brand{display:flex;align-items:center;gap:12px;}
.brand img{width:42px;height:42px;}
.brand .bt{line-height:1;}
.brand .bt .nm{font-family:var(--display);font-weight:700;font-size:17px;letter-spacing:.14em;color:#fff;}
.brand .bt .sb{font-size:8.5px;font-weight:600;letter-spacing:.42em;text-transform:uppercase;color:var(--bright-teal);margin-top:3px;}
.nav{display:flex;align-items:center;gap:30px;}
.nav ul{display:flex;gap:28px;list-style:none;margin:0;padding:0;}
.nav a{font-size:14px;font-weight:500;letter-spacing:.03em;color:#CDE7E3;}
.nav a:hover{color:#fff;}
.nav .btn{padding:10px 20px;font-size:13.5px;}
.nav-toggle{display:none;background:none;border:0;color:#CDE7E3;font-size:24px;cursor:pointer;}

/* ============ HERO ============ */
.hero{
  background:radial-gradient(1200px 600px at 70% -10%, #0E3433 0%, var(--deepest) 55%);
  color:#E8F4F2;text-align:center;position:relative;overflow:hidden;
  padding:84px 0 96px;
}
.hero .wave-wm{
  position:absolute;right:-260px;top:50%;transform:translateY(-50%);
  width:760px;color:#0F2E2E;opacity:.55;pointer-events:none;
}
.hero-inner{position:relative;z-index:2;}
.hero .mark{width:138px;margin:0 auto 26px;}
.hero .h-eyebrow{font-size:12px;font-weight:600;letter-spacing:.32em;text-transform:uppercase;color:var(--light-teal);margin-bottom:30px;}
.hero h1{
  font-family:var(--display);font-weight:700;color:#fff;
  font-size:clamp(40px,7vw,76px);letter-spacing:.02em;margin:0 0 6px;
}
.hero .underline{display:block;margin:6px auto 24px;width:210px;color:var(--bright-teal);}
.hero .sub{font-size:clamp(17px,2.3vw,20px);color:#A9CFCB;max-width:54ch;margin:0 auto 36px;}
.hero .cta-row{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}

/* ============ STUDIO ============ */
.studio-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:start;}
.story p{max-width:54ch;}
.story .fishnote{color:var(--teal-gray);font-style:italic;}
.values{display:grid;gap:18px;}
.value{
  border:1px solid var(--line);border-radius:16px;padding:24px 26px;background:#fff;
}
.value h3{font-size:18px;font-weight:700;font-family:var(--body);margin-bottom:6px;display:flex;align-items:center;gap:10px;}
.value h3::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--bright-teal);flex:none;}
.value p{margin:0;font-size:15px;color:var(--teal-gray);}

/* ============ TEAL BAR ============ */
.tealbar-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
.tb-copy .tb-head{display:flex;align-items:center;gap:18px;margin-bottom:8px;}
.tb-copy .tb-head img{width:64px;height:64px;border-radius:15px;box-shadow:0 8px 24px rgba(0,0,0,.35);}
.tb-copy .tb-head .nm{font-family:var(--display);font-weight:700;font-size:26px;color:#fff;letter-spacing:.04em;}
.tb-features{list-style:none;margin:22px 0 30px;padding:0;display:grid;gap:12px;}
.tb-features li{display:flex;gap:12px;align-items:flex-start;font-size:15.5px;color:#CFE7E3;}
.tb-features li::before{content:"";margin-top:8px;width:7px;height:7px;border-radius:50%;background:var(--bright-teal);flex:none;}
.tb-cta{display:flex;gap:14px;align-items:center;flex-wrap:wrap;}
.tb-soon{font-size:13px;color:var(--light-teal);letter-spacing:.14em;text-transform:uppercase;font-weight:600;}
.phone{
  margin:0 auto;width:280px;aspect-ratio:9/19;border-radius:42px;
  background:linear-gradient(160deg,#0E3433,#04201E);
  border:10px solid #0A2424;box-shadow:0 30px 70px rgba(0,0,0,.45);
  display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;
}
.phone::before{content:"";position:absolute;top:14px;left:50%;transform:translateX(-50%);width:120px;height:26px;background:#0A2424;border-radius:0 0 16px 16px;}
.phone img{width:120px;height:120px;border-radius:27px;}
.phone .ph-tag{position:absolute;bottom:34px;left:0;right:0;text-align:center;color:#7FBDB7;font-size:12px;letter-spacing:.2em;text-transform:uppercase;}

/* ============ CONTACT ============ */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;}
.contact-cards{display:grid;gap:16px;}
.ccard{border:1px solid var(--line);border-radius:16px;padding:22px 24px;background:#fff;}
.ccard .k{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--teal-gray);font-weight:600;margin-bottom:6px;}
.ccard a{font-size:18px;font-weight:600;color:var(--ink);}
.ccard a:hover{color:var(--bright-teal);}
.ccard .note{font-size:13px;color:var(--teal-gray);margin-top:4px;}

/* ============ FOOTER ============ */
.site-footer{background:var(--deepest);color:#9FC6CC;padding:56px 0 34px;}
.footer-top{display:flex;justify-content:space-between;align-items:flex-start;gap:32px;flex-wrap:wrap;border-bottom:1px solid rgba(143,224,214,.12);padding-bottom:30px;}
.footer-brand{display:flex;align-items:center;gap:14px;}
.footer-brand img{width:50px;height:50px;}
.footer-brand .nm{font-family:var(--display);font-weight:700;font-size:18px;letter-spacing:.12em;color:#fff;}
.footer-brand .sb{font-size:9px;letter-spacing:.42em;text-transform:uppercase;color:var(--bright-teal);margin-top:3px;}
.footer-nav{display:flex;gap:26px;flex-wrap:wrap;}
.footer-nav a{color:#CDE7E3;font-size:14px;}
.footer-bottom{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:24px;font-size:12.5px;color:#6E9692;}
.footer-bottom a{color:#9FC6CC;}

/* ============ A11Y / MOTION ============ */
a:focus-visible,.btn:focus-visible,button:focus-visible{outline:2.5px solid var(--bright-teal);outline-offset:3px;border-radius:4px;}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto;transition:none!important;}}

/* ============ RESPONSIVE ============ */
@media (max-width:880px){
  .studio-grid,.tealbar-grid,.contact-grid{grid-template-columns:1fr;gap:36px;}
  .section{padding:72px 0;}
  .nav ul{display:none;}
  .nav-toggle{display:block;}
  .nav.open ul{display:flex;position:absolute;top:74px;left:0;right:0;flex-direction:column;gap:0;
    background:var(--deepest);padding:8px var(--pad) 16px;border-bottom:1px solid rgba(143,224,214,.12);}
  .nav.open ul li{padding:12px 0;border-bottom:1px solid rgba(143,224,214,.08);}
  .phone{width:240px;}
}
@media (max-width:520px){
  .brand .bt .nm{font-size:15px;}
  .hero{padding:64px 0 76px;}
  .cta-row .btn{width:100%;justify-content:center;}
}
