:root{
  --navy:#08234A;
  --navy-2:#0D3368;
  --green:#6D9A88;
  --green-2:#EEF6F2;
  --text:#526070;
  --line:#DCE8E2;
  --bg:#FAFBFA;
  --white:#fff;
  --radius:32px;
  --shadow:0 24px 70px rgba(8,35,74,.10);
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--navy)}a{color:inherit;text-decoration:none}p{color:var(--text);line-height:1.7}h1,h2,h3{margin:0;line-height:1.08;letter-spacing:-.04em}h1{font-size:clamp(3rem,7vw,6.8rem)}h2{font-size:clamp(2.2rem,4vw,4rem)}h3{font-size:1.35rem}.site-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:14px clamp(18px,4vw,56px);background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border-bottom:1px solid rgba(220,232,226,.8)}.brand img{height:64px;width:auto;display:block}.nav{display:flex;gap:28px;color:var(--text);font-weight:650;font-size:.95rem}.nav a:hover{color:var(--navy)}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:14px 22px;font-weight:800;font-size:.95rem;transition:.2s ease;white-space:nowrap}.btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--navy);color:white;box-shadow:0 12px 28px rgba(8,35,74,.18)}.btn-primary:hover{background:var(--navy-2)}.btn-secondary{background:white;color:var(--navy);border:1px solid var(--line)}.btn-green{background:var(--green);color:white;box-shadow:0 12px 28px rgba(109,154,136,.22)}.section{padding:90px clamp(18px,4vw,56px);max-width:1340px;margin:0 auto}.hero{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:70px;min-height:780px;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;left:-20%;top:-30%;width:650px;height:650px;border-radius:50%;background:rgba(220,232,226,.8);filter:blur(70px);z-index:-1}.hero:after{content:"";position:absolute;right:-18%;bottom:-25%;width:650px;height:650px;border-radius:50%;background:rgba(8,35,74,.10);filter:blur(70px);z-index:-1}.eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:18px;border:1px solid var(--line);background:rgba(255,255,255,.8);border-radius:999px;padding:10px 15px;color:var(--green);font-weight:900;font-size:.74rem;letter-spacing:.22em;text-transform:uppercase}.lead{font-size:clamp(1.1rem,1.8vw,1.35rem);max-width:750px;margin:28px 0 0}.button-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:34px}.button-row.center{justify-content:center}.trust-row{display:flex;gap:18px;flex-wrap:wrap;margin-top:28px;color:var(--text);font-weight:650}.hero-card{background:white;border:1px solid var(--line);border-radius:48px;padding:38px;box-shadow:var(--shadow);text-align:center}.hero-logo{display:block;max-width:380px;width:100%;margin:0 auto 25px;border-radius:30px}.cards{display:grid;gap:22px}.cards.three{grid-template-columns:repeat(3,1fr)}.cards.two{grid-template-columns:repeat(2,1fr)}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:30px;box-shadow:0 10px 35px rgba(8,35,74,.04);transition:.25s ease}.card:hover{transform:translateY(-5px);box-shadow:0 24px 60px rgba(8,35,74,.09)}.card .icon{width:52px;height:52px;display:grid;place-items:center;border-radius:18px;background:var(--green-2);color:var(--green);font-size:1.8rem;margin-bottom:22px}.white{background:white;max-width:none}.white>*{max-width:1340px;margin-left:auto;margin-right:auto}.split{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.check-list{list-style:none;margin:28px 0;padding:0;display:grid;gap:14px}.check-list li{background:var(--green-2);border-radius:20px;padding:18px 18px 18px 48px;color:var(--text);position:relative}.check-list li:before{content:"✓";position:absolute;left:20px;color:var(--green);font-weight:900}.dark-panel{background:var(--navy);color:white;border-radius:48px;padding:42px;box-shadow:var(--shadow)}.dark-panel h3{font-size:2rem;margin-bottom:26px}.feature{background:rgba(255,255,255,.1);border-radius:20px;padding:18px;margin-top:14px}.centered{text-align:center}.section-intro{max-width:730px;margin:20px auto 0;font-size:1.1rem}.timeline{display:grid;gap:15px;margin:45px auto 0;max-width:900px;text-align:left}.module{display:grid;grid-template-columns:130px 1fr;gap:22px;background:white;border:1px solid var(--line);border-radius:26px;padding:24px}.module strong{color:var(--green)}.module p{margin:.35rem 0 0}.green-bg{background:var(--green-2);max-width:none}.green-bg>*{max-width:1340px;margin-left:auto;margin-right:auto}.soft-panel{border:1px solid var(--line);background:var(--bg);border-radius:48px;padding:42px}.cta{max-width:1100px;text-align:center}.cta-box{background:var(--navy);border-radius:48px;color:white;padding:55px clamp(24px,5vw,70px);box-shadow:var(--shadow)}.cta-box p{color:rgba(255,255,255,.75);max-width:720px;margin:22px auto 0}.faq{max-width:none}.faq>h2,.faq>.eyebrow{display:block;max-width:900px}.faq details{max-width:900px;margin:14px auto;background:var(--bg);border:1px solid var(--line);border-radius:24px;padding:22px}.faq summary{font-size:1.15rem;font-weight:850;cursor:pointer}.footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:42px clamp(18px,4vw,56px);border-top:1px solid var(--line)}.footer strong{display:block;font-size:1.25rem}.footer span{display:block;margin-top:5px;color:var(--green);font-size:.75rem;font-weight:900;letter-spacing:.24em;text-transform:uppercase}.footer nav{display:flex;gap:22px;flex-wrap:wrap;color:var(--text);font-weight:650}.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease, transform .7s ease}.reveal.visible{opacity:1;transform:translateY(0)}
@media (max-width: 900px){.site-header{align-items:flex-start}.brand img{height:48px}.nav{display:none}.hero,.split{grid-template-columns:1fr;min-height:auto}.cards.three,.cards.two{grid-template-columns:1fr}.section{padding:66px 20px}.hero-card{padding:24px}.module{grid-template-columns:1fr}.footer{flex-direction:column;align-items:flex-start}h1{font-size:3.3rem}.btn{width:100%}.button-row{width:100%}}



.dual-visuals{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:32px;
  margin:40px auto 0;
  max-width:1100px;
  width:100%;
}

.visual-card{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
  aspect-ratio:16 / 9;
  background:var(--navy);
}

.visual-card img,
.visual-card video,
.visual-card iframe{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.visual-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(8,35,74,.35), rgba(8,35,74,.02));
  pointer-events:none;
  z-index:1;
}

.visual-card img,
.visual-card video,
.visual-card iframe{
  transition:transform .6s ease;
}

.visual-card:hover img,
.visual-card:hover video{
  transform:scale(1.04);
}

.visual-label{
  position:absolute;
  left:24px;
  bottom:24px;
  background:rgba(255,255,255,0.92);
  padding:12px 18px;
  border-radius:999px;
  font-weight:700;
  color:#1f3528;
  z-index:2;
}

@media(max-width:900px){
  .dual-visuals{
    grid-template-columns:1fr;
    gap:22px;
  }

  .visual-card{
    aspect-ratio:16 / 9;
  }
}

.whoop-info{
  margin-top:40px;
}

.whoop-box{
  background:#f4f7f2;
  padding:48px;
  border-radius:28px;
  box-shadow:0 15px 40px rgba(0,0,0,0.06);
}

.whoop-box h2{
  margin-bottom:18px;
}

.whoop-box p{
  max-width:850px;
  line-height:1.8;
}

.whoop-actions{
  display:flex;
  gap:16px;
  margin-top:28px;
  flex-wrap:wrap;
}

@media(max-width:900px){

  .whoop-box{
    padding:32px 24px;
  }

  .whoop-actions{
    flex-direction:column;
  }

  .whoop-actions .btn{
    width:100%;
    text-align:center;
  }
}


/* FINAL FIX: video layout på webserver */
html,
body{
  max-width:100%;
  overflow-x:hidden;
}

.dual-visuals.section{
  padding-top:40px;
  padding-bottom:24px;
}

.whoop-info.section{
  padding-top:0;
}

.dual-visuals{
  max-width:1100px;
  width:100%;
  margin-left:auto;
  margin-right:auto;
}

.visual-card{
  aspect-ratio:16 / 9;
  min-height:0;
}

.visual-card video,
.visual-card img,
.visual-card iframe{
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
}

.visual-card iframe{
  object-fit:initial;
}

/* VIMEO VIDEO EMBED */
.video-card{
  position:relative;
}

.intro-video{
  background:#08234A;
}

.vimeo-video{
  width:100%;
  height:100%;
  min-height:0;
  border:0;
  display:block;
  border-radius:inherit;
  aspect-ratio:16 / 9;
}

/* MELLEMSIDE TIL KOEB */
.purchase-hero{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:48px;
  align-items:center;
  min-height:620px;
}

.purchase-hero h1{
  font-size:clamp(2.8rem,5.5vw,5.8rem);
}

.purchase-note{
  background:white;
  border:1px solid var(--line);
  border-radius:42px;
  padding:38px;
  box-shadow:var(--shadow);
}

.purchase-note strong{
  display:block;
  font-size:1.7rem;
  letter-spacing:-.04em;
  margin-bottom:12px;
}

.purchase-intro{
  max-width:880px;
  margin:0 auto 45px;
  text-align:center;
}

.step-card{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:34px;
  align-items:center;
  max-width:1160px;
  margin:26px auto;
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:38px;
  padding:28px;
  box-shadow:0 12px 38px rgba(8,35,74,.05);
}

.step-card.reverse{
  grid-template-columns:1.1fr .9fr;
}

.step-card.reverse .step-text{
  order:2;
}

.step-card.reverse img{
  order:1;
}

.step-card img{
  width:100%;
  display:block;
  border-radius:28px;
  border:1px solid var(--line);
  box-shadow:0 18px 48px rgba(8,35,74,.08);
}

.step-text{
  padding:16px;
}

.step-number{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  border-radius:999px;
  background:var(--navy);
  color:white;
  font-weight:900;
  margin-bottom:18px;
}

.step-text h3{
  font-size:clamp(1.7rem,3vw,2.6rem);
  margin-bottom:16px;
}

.step-text p{
  font-size:1.08rem;
}

@media(max-width:900px){
  .purchase-hero,
  .step-card,
  .step-card.reverse{
    grid-template-columns:1fr;
  }

  .step-card.reverse .step-text,
  .step-card.reverse img{
    order:initial;
  }
}


/* NYE SEKTIONER: onboarding, Om Søvnbalancen og footer-CVR */
.hero-scenario{
  font-size:1.05rem;
  max-width:760px;
  margin:18px 0 0;
  color:var(--text);
  line-height:1.75;
}

.footer small{
  display:block;
  margin-top:10px;
  color:var(--text);
  font-size:.92rem;
  letter-spacing:0;
  text-transform:none;
}

.sleep-research{
  max-width:none;
  background:#f4f7f2;
}

.research-wrap{
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:42px;
  align-items:center;
}

.research-copy{
  background:white;
  border:1px solid var(--line);
  border-radius:42px;
  padding:42px;
  box-shadow:0 15px 45px rgba(8,35,74,.06);
}

.research-source a{
  color:var(--navy);
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:4px;
}

.research-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.research-item{
  background:white;
  border:1px solid var(--line);
  border-radius:28px;
  padding:26px;
  box-shadow:0 10px 30px rgba(8,35,74,.05);
}

.research-item strong{
  display:block;
  color:var(--green);
  font-size:clamp(2.2rem,4vw,3.5rem);
  line-height:1;
  letter-spacing:-.05em;
  margin-bottom:10px;
}

.research-item span{
  display:block;
  color:var(--navy);
  font-weight:800;
  line-height:1.35;
}

.about-hero{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:54px;
  align-items:center;
  min-height:620px;
}

.about-hero h1{
  font-size:clamp(3rem,6vw,6rem);
}

.about-principles{
  background:var(--navy);
  color:white;
  border-radius:48px;
  padding:42px;
  box-shadow:var(--shadow);
}

.about-principles h2{
  font-size:clamp(2rem,3vw,3rem);
  margin-bottom:24px;
}

.team-intro{
  max-width:860px;
  margin:0 auto 42px;
  text-align:center;
}

.team-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  max-width:1180px;
  margin:0 auto;
}

.team-card{
  display:grid;
  grid-template-columns:150px 1fr;
  gap:24px;
  align-items:start;
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:34px;
  padding:24px;
  box-shadow:0 12px 38px rgba(8,35,74,.05);
}

.team-card img{
  width:150px;
  height:150px;
  object-fit:cover;
  border-radius:28px;
  border:1px solid var(--line);
  background:white;
}

.team-role{
  margin:0 0 8px;
  color:var(--green);
  font-weight:900;
  font-size:.82rem;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.team-card h3{
  font-size:1.55rem;
  margin-bottom:10px;
}

.team-card p:last-child{
  margin-bottom:0;
}

@media(max-width:900px){
  .research-wrap,
  .about-hero,
  .team-grid,
  .team-card{
    grid-template-columns:1fr;
  }
  .research-copy,
  .about-principles{
    padding:30px 24px;
  }
  .research-grid{
    grid-template-columns:1fr;
  }
  .team-card img{
    width:120px;
    height:120px;
  }
}

/* =========================================================
   FORSIDE LAYOUT FIX – V4.1
   Retter vandret forskydning/overflow på forsiden efter
   nye sektioner og sikrer, at alle sektioner bliver centreret.
========================================================= */

html,
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

main{
  width:100%;
  overflow:hidden;
}

.section{
  width:min(100%, 1340px);
  max-width:1340px;
  margin-left:auto;
  margin-right:auto;
  padding-left:clamp(18px, 4vw, 56px);
  padding-right:clamp(18px, 4vw, 56px);
}

/* Sektioner må ikke blive fuld-skærmsbrede, da det skabte vandret forskydning */
.section.white,
.section.green-bg,
.section.faq{
  width:min(100%, 1340px);
  max-width:1340px;
  margin-left:auto;
  margin-right:auto;
}

.white > *,
.green-bg > *{
  max-width:none;
  margin-left:0;
  margin-right:0;
}

.split{
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
  width:min(100%, 1340px);
}

.cards,
.cards.two,
.cards.three,
.timeline,
.cta-box,
.whoop-box,
.research-wrap,
.hero-copy,
.hero-card,
.soft-panel,
.dark-panel{
  min-width:0;
}

.dual-visuals.section{
  width:min(100%, 1100px);
  max-width:1100px;
  padding-left:clamp(18px, 4vw, 56px);
  padding-right:clamp(18px, 4vw, 56px);
}

.sleep-research.section{
  width:min(100%, 1340px);
  max-width:1340px;
}

.faq > h2,
.faq > .eyebrow{
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
}

@media (max-width:900px){
  .section,
  .section.white,
  .section.green-bg,
  .section.faq,
  .split,
  .dual-visuals.section{
    width:100%;
    max-width:100%;
  }
}


/* =========================
   V4.2 Hero fix
   Retter topsektionen, så overskrift og logokort ikke kolliderer på desktop.
========================= */
.hero.section{
  grid-template-columns:minmax(0, 1fr) minmax(360px, .78fr);
  gap:clamp(34px, 4vw, 58px);
  align-items:center;
  overflow:visible;
  padding-top:clamp(70px, 8vw, 115px);
  padding-bottom:clamp(70px, 8vw, 115px);
}

.hero-copy{
  max-width:760px;
}

.hero h1{
  font-size:clamp(3.2rem, 5.15vw, 5.65rem);
  line-height:1.03;
  letter-spacing:-.055em;
  max-width:760px;
  overflow-wrap:normal;
  hyphens:auto;
}

.hero-card{
  max-width:460px;
  justify-self:center;
  padding:clamp(28px, 3vw, 38px);
}

.hero-logo{
  max-width:320px;
}

@media (min-width:901px) and (max-width:1180px){
  .hero.section{
    grid-template-columns:minmax(0, 1fr) minmax(320px, .72fr);
    gap:32px;
  }

  .hero h1{
    font-size:clamp(3rem, 5vw, 4.7rem);
    max-width:640px;
  }

  .hero-card{
    max-width:390px;
  }

  .hero-logo{
    max-width:270px;
  }
}

@media (max-width:900px){
  .hero.section{
    grid-template-columns:1fr;
    padding-top:56px;
    padding-bottom:56px;
    gap:34px;
  }

  .hero-copy,
  .hero h1{
    max-width:100%;
  }

  .hero h1{
    font-size:clamp(2.65rem, 12vw, 4rem);
    letter-spacing:-.045em;
  }

  .hero-card{
    max-width:100%;
  }
}

/* =========================
   KOEB.HTML FIX – fuld side + korrekt layout
========================= */
.brand-text{
  display:inline-flex;
  align-items:center;
  font-weight:900;
  font-size:1.25rem;
  letter-spacing:-.03em;
  color:var(--navy);
}

.purchase-guide{
  padding-top:70px;
  padding-bottom:70px;
}

.purchase-guide__inner{
  max-width:1040px;
  margin:0 auto;
}

.purchase-guide__content{
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:42px;
  padding:clamp(28px, 5vw, 56px);
  box-shadow:0 18px 52px rgba(8,35,74,.07);
}

.purchase-guide__content h2{
  margin-bottom:24px;
}

.purchase-guide__content p{
  font-size:1.08rem;
  margin:0 0 16px;
}

.purchase-guide__image{
  margin:34px 0;
}

.purchase-guide__image img{
  width:100%;
  display:block;
  border-radius:32px;
  border:1px solid var(--line);
  background:white;
  box-shadow:0 18px 48px rgba(8,35,74,.08);
}

.purchase-guide__image figcaption{
  margin-top:12px;
  text-align:center;
  color:var(--text);
  font-size:.95rem;
  font-weight:650;
}

@media(max-width:900px){
  .site-header .btn{
    display:none;
  }

  .purchase-guide__content{
    border-radius:28px;
  }

  .purchase-guide__image img{
    border-radius:22px;
  }
}

/* INTROBOKSE OVER VIDEOER */
.intro-overview.section{
  width:min(100%, 1100px);
  max-width:1100px;
  padding-top:24px;
  padding-bottom:16px;
}

.intro-info-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:32px;
}

.intro-info-card{
  min-width:0;
  background:white;
  border:1px solid var(--line);
  border-radius:32px;
  padding:clamp(28px, 4vw, 42px);
  box-shadow:0 15px 40px rgba(8,35,74,.07);
}

.intro-info-card h2{
  font-size:clamp(1.7rem, 2.6vw, 2.55rem);
  margin-bottom:20px;
}

.intro-info-card p{
  margin:0;
  font-size:1.05rem;
}

.intro-info-card p + p{
  margin-top:14px;
}

.intro-info-card--practical{
  background:var(--green-2);
}

.intro-info-card--practical strong{
  color:var(--navy);
}

@media(max-width:900px){
  .intro-overview.section{
    width:100%;
    max-width:100%;
    padding-top:10px;
    padding-bottom:10px;
  }

  .intro-info-grid{
    grid-template-columns:1fr;
    gap:22px;
  }

  .intro-info-card{
    border-radius:26px;
    padding:28px 24px;
  }
}

/* VARIG FORANDRING */
.lasting-change{
  padding-top:72px;
  padding-bottom:72px;
}

.lasting-change-card{
  max-width:1120px;
  margin:0 auto;
  padding:clamp(34px,5vw,64px);
  background:var(--green-2);
  border:1px solid var(--line);
  border-radius:48px;
  box-shadow:0 18px 52px rgba(8,35,74,.07);
}

.lasting-change-card h2{
  max-width:900px;
  margin-bottom:28px;
  font-size:clamp(2.25rem,4.5vw,4.4rem);
}

.lasting-change-copy{
  max-width:950px;
}

.lasting-change-copy p{
  margin:0;
  font-size:clamp(1.02rem,1.4vw,1.16rem);
  line-height:1.8;
}

.lasting-change-copy p + p{
  margin-top:18px;
}

@media(max-width:900px){
  .lasting-change{
    padding-top:52px;
    padding-bottom:52px;
  }

  .lasting-change-card{
    padding:32px 24px;
    border-radius:32px;
  }

  .lasting-change-card h2{
    margin-bottom:22px;
  }
}

/* HVORFOR 20 UGER */
.duration-reason{
  padding-top:20px;
  padding-bottom:90px;
}

.duration-reason-card{
  max-width:1000px;
  margin:0 auto;
  padding:clamp(34px,5vw,62px);
  background:linear-gradient(135deg, #ffffff 0%, var(--green-2) 100%);
  border:1px solid var(--line);
  border-radius:42px;
  box-shadow:0 18px 52px rgba(8,35,74,.07);
  text-align:left;
}

.duration-reason-card h2{
  max-width:820px;
  margin-bottom:26px;
  font-size:clamp(2.15rem,4vw,3.8rem);
}

.duration-reason-copy{
  max-width:850px;
}

.duration-reason-copy p{
  margin:0;
  font-size:clamp(1.02rem,1.35vw,1.15rem);
  line-height:1.8;
}

.duration-reason-copy p:first-child{
  color:var(--navy);
  font-weight:750;
}

.duration-reason-copy p + p{
  margin-top:18px;
}

@media(max-width:900px){
  .duration-reason{
    padding-top:8px;
    padding-bottom:60px;
  }

  .duration-reason-card{
    padding:32px 24px;
    border-radius:30px;
  }

  .duration-reason-card h2{
    margin-bottom:22px;
  }
}



/* =========================================================
   HOLDET BAG – PERSONUNDERSIDER
========================================================= */
.team-card{
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.team-card:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 48px rgba(8,35,74,.08);
  border-color:#cbded5;
}

.team-card-image-link{
  display:block;
  border-radius:28px;
}

.team-card h3 a:hover{
  color:var(--green);
}

.team-more-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:12px;
  color:var(--navy);
  font-weight:850;
}

.team-more-link span{
  color:var(--green);
  transition:transform .2s ease;
}

.team-more-link:hover span{
  transform:translateX(4px);
}

.profile-page{
  background:var(--bg);
}

.profile-shell{
  max-width:1180px;
}

.profile-topbar{
  display:grid;
  grid-template-columns:1fr 1fr;
  overflow:hidden;
  border-radius:18px;
  margin-bottom:54px;
  box-shadow:0 10px 28px rgba(8,35,74,.06);
}

.profile-topbar span,
.profile-topbar strong{
  padding:16px 24px;
  color:white;
  font-size:.78rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:900;
}

.profile-topbar span{
  background:var(--navy);
}

.profile-topbar strong{
  background:var(--green);
  text-align:right;
}

.profile-heading{
  margin-bottom:38px;
}

.profile-backlink{
  display:inline-flex;
  margin-bottom:20px;
  color:var(--green);
  font-weight:850;
}

.profile-heading h1{
  font-size:clamp(3rem,6vw,5.5rem);
}

.profile-subtitle{
  margin:14px 0 0;
  color:var(--green);
  font-size:clamp(1.08rem,2vw,1.35rem);
  font-weight:850;
}

.profile-layout{
  display:grid;
  grid-template-columns:minmax(280px,.8fr) minmax(0,1.25fr);
  gap:52px;
  align-items:start;
}

.profile-photo-card{
  background:#f5f7f7;
  border:1px solid #edf0ef;
  border-radius:34px;
  padding:28px;
  text-align:center;
  min-height:100%;
}

.profile-photo-card img{
  display:block;
  width:min(100%,290px);
  aspect-ratio:1 / 1;
  object-fit:cover;
  margin:0 auto 24px;
  border-radius:26px;
  border:1px solid var(--line);
  background:white;
}

.profile-photo-card span,
.profile-contribution span{
  display:block;
  color:var(--green);
  font-size:.75rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:900;
}

.profile-photo-card h2{
  margin-top:10px;
  font-size:1.35rem;
  letter-spacing:-.02em;
}

.profile-copy{
  padding:6px 0;
}

.profile-copy p{
  margin:0 0 20px;
  font-size:1.08rem;
  line-height:1.78;
}

.profile-copy p:last-child{
  margin-bottom:0;
}

.profile-contribution{
  margin-top:42px;
  padding:25px 30px;
  border-left:4px solid var(--green);
  border-radius:0 22px 22px 0;
  background:var(--green-2);
}

.profile-contribution p{
  margin:8px 0 0;
  color:var(--navy);
  font-size:clamp(1.08rem,2vw,1.28rem);
  line-height:1.45;
  font-weight:850;
}

.profile-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:32px;
}

@media(max-width:900px){
  .profile-topbar{
    grid-template-columns:1fr;
    margin-bottom:36px;
  }

  .profile-topbar strong{
    text-align:left;
  }

  .profile-layout{
    grid-template-columns:1fr;
    gap:30px;
  }

  .profile-photo-card{
    padding:24px;
  }

  .profile-photo-card img{
    width:min(100%,240px);
  }

  .profile-copy p{
    font-size:1rem;
  }

  .profile-contribution{
    padding:22px 20px;
  }
}
