/* Tidal Ten — design tokens carried over from the Webflow build.
   Values here are measured from the rendered Webflow page, not guessed. */
:root{
  --navy:#282943;
  --white:#fffeff;
  --accent:#ffb300;
  --mint:#7bdeb7;          /* check discs, the target icon, the green sub-headings */
  --grey:#f9f9f9;          /* footer */
  --grey-darker:#f3f3f3;   /* default section fill */
  --ink:#282943;
  --ink-dim:#63647a;       /* used sparingly — Webflow sets body copy solid navy */
  --nav-ink:#1a1b1f;
  --line:#e2e2ea;
  --display:'Outfit',-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;
  --body:'Satoshi','Outfit',-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;
  --container:1400px;
  --container-wide:1700px; /* the hero runs wider than the rest of the page */
  --pad-section:120px;
  --radius:12px;
  --radius-hero:32px;
  --shadow:0 2px 30px rgba(142,143,150,.10);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--white);color:var(--ink);
  font-family:var(--body);font-size:18px;line-height:1.45;font-weight:400;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}

h1,h2,h3,h4{font-family:var(--display);margin:0;font-weight:500;text-wrap:balance}
h1{font-size:clamp(40px,6.4vw,72px);line-height:1.1;letter-spacing:.3px;font-weight:400}
h2{font-size:clamp(28px,3.6vw,36px);line-height:1.2}
h3{font-size:24px;line-height:1.25;font-weight:400}
p{margin:0 0 16px}
p:last-child{margin-bottom:0}

/* ---------- layout ---------- */
.section{padding-block:var(--pad-section);background:var(--grey-darker)}
.section--light{background:var(--white)}
.section--accent{background:var(--accent);color:var(--white)}
.section--navy{background:var(--navy);color:var(--white)}
.section--flush-bottom{padding-bottom:0}

/* Amber band. The heading and body copy stay navy on amber; the section's own
   white only shows through on the photo-backed variant below. */
.section--accent h2{color:var(--navy);margin-bottom:30px}
.section--accent .lede{color:var(--navy);opacity:1;max-width:668px}

/* Photo-backed amber band. The artwork is dark, so the heading flips to amber
   and the body copy to white, as on the Webflow build. */
.section--photo{
  background-color:var(--accent);
  background-image:url("/assets/img/energy-wave.jpg");
  background-size:cover;background-position:100% 50%;background-repeat:no-repeat;
}
.section--photo,
.section--photo.section--accent{color:var(--white)}
.section--photo h2{color:var(--accent)}
.section--photo .lede{color:var(--white);opacity:1}
@media (min-width:981px){.section--photo{background-attachment:fixed}}

/* Full-bleed photo band — no content, pure image, as on the Webflow build. */
.photo-band{
  min-height:700px;
  background:url("/assets/img/photo-band.jpg") 50% 50%/cover no-repeat var(--navy);
}
@media (max-width:720px){.photo-band{min-height:380px}}

.container{
  width:100%;max-width:var(--container);margin-inline:auto;
  padding-left:max(24px,env(safe-area-inset-left,0px));
  padding-right:max(24px,env(safe-area-inset-right,0px));
}
.container--wide{max-width:var(--container-wide)}

.grid{display:grid;gap:24px}
.grid--halves{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid--thirds{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:40px}
/* Section intro beside its tiles: 644px columns with a 64px gutter. */
.grid--split{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 64px}
.grid--quarters{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:40px}
@media (max-width:980px){
  .grid--thirds,.grid--quarters{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  .grid--halves,.grid--thirds,.grid--quarters{grid-template-columns:minmax(0,1fr)}
  :root{--pad-section:72px}
}

/* Tiles run in two columns with the right-hand one dropped 80px, which is
   what gives the services blocks their staggered look on the Webflow build. */
.tile-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.tile-col{display:flex;flex-direction:column;gap:24px}
.tile-col--down{padding-top:80px}
@media (max-width:980px){
  .grid--split{grid-template-columns:minmax(0,1fr);gap:40px}
}
@media (max-width:720px){
  .tile-cols{grid-template-columns:minmax(0,1fr)}
  .tile-col--down{padding-top:0}
}

.stack{display:flex;flex-direction:column;gap:24px;align-items:flex-start}
.stack--tight{gap:10px}

/* ---------- type helpers ---------- */
/* Bracketed label above a heading. Webflow keeps it at body size with wide
   tracking and no uppercasing — the brackets and caps are typed into the copy. */
.eyebrow{
  font-family:var(--body);font-size:18px;font-weight:400;
  letter-spacing:2px;text-transform:none;color:inherit;margin:0;
}
/* Mint sub-heading that sits under a section title. */
.kicker{
  font-family:var(--body);font-size:24px;font-weight:700;line-height:26px;
  color:var(--mint);margin:0;
}
.lede{font-size:20px;line-height:1.4;color:var(--ink);max-width:62ch}
.section--navy .lede{color:inherit}
.small{font-size:16px;line-height:1.4;color:var(--ink)}
.measure{max-width:64ch}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--body);font-size:18px;font-weight:500;line-height:2;
  padding:9px 28px;border-radius:12px;text-decoration:none;
  background:var(--accent);color:var(--navy);border:0;
  transition:transform .15s ease,box-shadow .15s ease;
}
.btn:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(40,41,67,.14)}
.btn:focus-visible{outline:3px solid var(--navy);outline-offset:3px}
.btn--light{background:var(--white);color:var(--navy)}
.btn--light:focus-visible{outline-color:var(--accent)}
.btn--ghost{background:transparent;box-shadow:inset 0 0 0 1px currentColor}
.btn--sm{font-size:16px;line-height:1.75;padding:9px 22px}

/* ---------- tiles ---------- */
.tile{
  background:var(--white);border-radius:var(--radius);padding:50px 32px;
  box-shadow:var(--shadow);
  display:flex;flex-direction:column;gap:14px;align-items:flex-start;
}
/* Grey tiles still carry the shadow — they sit on a grey section and the
   shadow is the only thing separating them from it. */
.tile--grey{background:var(--grey-darker)}
.tile--navy{background:var(--navy);color:var(--white)}
.tile--pad40{padding:40px;gap:10px}
.tile--cred{padding:50px 24px}
.tile h3{margin:0}
.tile ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}
.tile li{font-size:18px}
/* Mint disc behind the check mark; the check is drawn in white strokes. */
.tile__icon{width:40px;height:40px;display:grid;place-items:center;
  background:var(--mint);border-radius:50%;flex:none}
.tile__icon img{width:30px;height:30px}

/* Bare mint glyph — no disc — as used beside the about-section headings. */
.icon-target{width:52px;height:50px;flex:none}

.facts{display:flex;flex-direction:column;gap:10px}
.facts p{margin:0;font-size:16px;overflow-wrap:anywhere}

/* ---------- header ---------- */
/* Webflow's header is transparent and scrolls away with the page. */
.site-header{position:relative;background:transparent;z-index:50}
.site-header .container{display:flex;align-items:center;gap:24px;
  padding-block:40px;justify-content:space-between;max-width:var(--container-wide)}
.brand{display:flex;align-items:center;text-decoration:none;flex:none}
.brand img{height:38px;width:auto}
.nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.nav a{
  font-family:var(--body);font-size:16px;font-weight:500;text-decoration:none;
  color:var(--nav-ink);padding:5px 10px;border-radius:8px;
}
.nav a:hover{color:var(--navy);background:rgba(40,41,67,.05)}
.nav a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.nav .btn:hover{background:var(--accent);color:var(--navy)}
@media (max-width:720px){
  .site-header .container{flex-wrap:wrap;gap:12px;padding-block:24px}
  .nav{gap:4px;width:100%}
  .nav a{font-size:15px;padding:5px 8px}
}

.skip{
  position:absolute;left:-9999px;top:0;background:var(--navy);color:var(--white);
  padding:12px 18px;z-index:100;text-decoration:none;border-radius:0 0 8px 0;
}
.skip:focus{left:0}

/* ---------- hero ---------- */
/* The hero is an inset, rounded card sitting on the white page — not a
   full-bleed band. The section itself only supplies the gutter. */
.hero{background:var(--white);padding:0}
.hero > .container{max-width:var(--container-wide)}
.hero__box{
  position:relative;overflow:hidden;border-radius:var(--radius-hero);
  background-color:var(--navy);color:var(--white);
  padding:300px 120px 120px 100px;
}
/* Homepage only. Navy scrim over the photo, fading out to the right so the
   artwork shows but the headline keeps its contrast. */
.hero--photo .hero__box{
  background-image:
    linear-gradient(90deg, rgba(40,41,67,.94) 49%, rgba(40,41,67,0) 100%),
    url("/assets/img/hero1.webp");
  background-size:auto, cover;
  background-position:0 0, 50% 50%;
  background-repeat:repeat, no-repeat;
}
.hero h1{color:var(--white)}
.hero__inner{display:flex;flex-direction:column;align-items:flex-start;gap:24px;max-width:900px}
.hero .eyebrow{color:var(--white)}
.hero .lede{color:var(--white);opacity:1;font-size:18px;line-height:1.3;max-width:604px;margin:0}
.hero__cta{margin:16px 0 0}
.hero__scroll{position:absolute;right:100px;bottom:0;width:275px;height:73px;pointer-events:none}
@media (max-width:1200px){
  .hero__box{padding:220px 64px 90px}
  .hero__scroll{display:none}
}
@media (max-width:980px){
  .hero__box{padding:150px 40px 80px;border-radius:24px}
}
@media (max-width:720px){
  .hero__box{padding:96px 24px 64px;border-radius:16px}
  .hero__inner{gap:18px}
}

/* ---------- careers ---------- */
/* Two-up grid of grey cards, matching the Webflow careers block. */
.job-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
@media (max-width:1100px){.job-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){.job-list{grid-template-columns:minmax(0,1fr)}}
.job{
  display:flex;flex-direction:column;gap:32px;text-decoration:none;
  background:var(--grey-darker);border-radius:var(--radius);padding:40px;
  box-shadow:var(--shadow);
  transition:transform .15s ease,box-shadow .15s ease;
}
.job:hover{transform:translateY(-1px);box-shadow:0 8px 34px rgba(142,143,150,.22)}
.job:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.job__top{display:flex;flex-direction:column;gap:8px}
.job__title{font-family:var(--display);font-size:24px;line-height:1.25;font-weight:400;margin:0}
.job__meta{font-size:18px;margin:0}
.job__desc{font-size:16px;line-height:1.4;margin:0}

.prose h2{margin:32px 0 10px}
.prose h3{margin:26px 0 8px;font-size:20px;font-weight:500}
.prose ul{margin:0 0 16px;padding-left:22px;display:flex;flex-direction:column;gap:6px}
.prose p{margin:0 0 14px}
.prose strong{font-weight:600}

/* ---------- about rows ---------- */
/* Image and copy alternating sides, image corners rounded harder than tiles. */
.about-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:56px 24px;align-items:center}
.about-row + .about-row{margin-top:56px}
.about-row img.about-row__img{width:100%;border-radius:24px}
/* Copy is centred — text, glyph and the block itself within its column. */
.about-row__copy{display:flex;flex-direction:column;gap:16px;align-items:center;
  text-align:center;max-width:445px;justify-self:center;align-self:center}
.about-row--flip .about-row__copy{order:-1}
@media (max-width:980px){
  .about-row{grid-template-columns:minmax(0,1fr);gap:24px}
  .about-row--flip .about-row__copy{order:0}
}

/* ---------- footer ---------- */
/* Light grey, navy type, with a single white contact card — not a dark band. */
.site-footer{background:var(--grey);color:var(--ink);padding-block:120px 48px}
.site-footer a{color:var(--ink)}
.footer__top{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}
.footer__contact{
  background:var(--white);border-radius:var(--radius);padding:40px 32px;
  box-shadow:0 2px 30px rgba(144,144,150,.10);
  display:flex;flex-direction:column;gap:24px;
  flex:0 1 435px;max-width:435px;
}
.footer__h{font-family:var(--body);font-size:20px;font-weight:500;line-height:1.3;margin:0}
.footer__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}
.footer__list a,.footer__list span{display:inline-flex;align-items:center;gap:6px;
  text-decoration:none;font-size:18px}
.footer__list a:hover{text-decoration:underline}
.footer__list img{width:24px;height:24px;flex:none}
.footer__legal{
  margin-top:100px;padding-top:48px;border-top:1px solid rgba(40,41,67,.2);
  font-size:17px;display:flex;flex-wrap:wrap;gap:16px;
  justify-content:space-between;align-items:center;
}
.footer__legal img{height:32px;width:auto}
@media (max-width:720px){
  .site-footer{padding-block:72px 40px}
  .footer__contact{flex:1 1 auto;max-width:none}
  .footer__legal{margin-top:56px;padding-top:32px;font-size:16px}
}

/* Phone: the 50px desktop card padding leaves too little room for the copy. */
@media (max-width:720px){
  .tile,.tile--pad40,.tile--cred{padding:32px 24px}
  .job{padding:32px 24px}
}

@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
html{scroll-behavior:smooth;scroll-padding-top:24px}
