/* Shared finishing layer for the existing SwimTech and athlete pages. */
@font-face {
  font-family: Manrope;
  src: url('/assets/Manrope-Variable.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root { --pale: #F7F8FA; --line: #dae2eb; }
body { font-family: Manrope, Arial, sans-serif; background: #fff; }
body[data-world="personal"] { --pale: #F5F1EB; --line: #e4e5e6; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { letter-spacing: -.045em; line-height: 1.08; }
h3 { letter-spacing: -.025em; }
p { text-wrap: pretty; }
.wrap { width: calc(100% - 96px); max-width: 1200px; }
.site-header { height: 88px; padding-inline: max(48px, calc((100vw - 1376px) / 2)); gap: 24px; }
.brand { letter-spacing: -.035em; font-size: 1.2rem; }
.shared-brand { font-size: 1.05rem; letter-spacing: -.025em; }
.shared-brand span { margin-inline: 10px; color: #9ba9b8; font-weight: 400; }
.nav { gap: 30px; }
.nav a { font-size: 1rem; font-weight: 700; }
.nav .button { min-height: 44px; padding: 11px 22px; }
.swim-brand { gap: 20px; }
.swim-brand img { width: 112px; height: 62px; }
.swim-brand span { font-size: .875rem; }
.button { border-radius: 7px; min-height: 50px; padding: 14px 24px; font-weight: 700; font-size: 1rem; transition: background .18s, border-color .18s, box-shadow .18s; }
.button:hover { box-shadow: 0 4px 12px #1c355e12; background: #c7dfed; }
.button.dark:hover, .site-header .button:hover { background: #294a79; border-color: #294a79; }
.button.outline:hover { background: #fff; border-color: #fff; color: var(--ink); }
.menu { border-radius: 6px; min-height: 44px; padding: 8px 16px; font-weight: 650; }
.section-nav { background: #F7F8FA; color: var(--ink); border-top: 0; border-bottom: 1px solid var(--line); padding: 17px max(48px, calc((100vw - 1280px) / 2)); gap: 30px; }
.section-nav a { color: var(--muted); font-weight: 600; font-size: 1rem; }
.section-nav a[aria-current], .section-nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: #9bb9cc; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.section-nav :focus-visible { outline-color: var(--ink); }
.personal-nav { background: var(--pale); }
.eyebrow, .number { font-size: .875rem; letter-spacing: .09em; line-height: 1.6; }
.brand-portals { margin: 24px auto 0; width: calc(100% - 64px); max-width: 1280px; gap: 20px; background: transparent; color: var(--ink); }
.brand-portal { display: grid; grid-template-rows: 290px 1fr; align-items: stretch; min-height: 0; border: 0; border-radius: 14px; overflow: hidden; }
.brand-portal:after { display: none; }
.portal-visual { position: relative; overflow: hidden; background: var(--ink); }
.portal-photo { position: static; height: 100%; object-fit: cover; }
.business-portal .portal-photo { object-position: 58% 48%; }
.athlete-portal .portal-photo { object-position: 30% 58%; }
.business-portal { background: var(--ink); color: #fff; }
.athlete-portal { background: var(--pale); color: var(--ink); }
.portal-content, .athlete-portal .portal-content { display: flex; padding: 32px 38px 36px; gap: 0; align-items: flex-start; }
.portal-content .eyebrow { font-size: .8125rem; letter-spacing: .07em; margin-bottom: 16px; }
.business-portal .eyebrow { color: #bfd7e6; }
.athlete-portal .eyebrow { color: var(--muted); }
.portal-content h2 { font-size: clamp(2.5rem, 4vw, 3.6rem); line-height: 1.06; min-height: 2.12em; margin-bottom: 18px; }
.portal-content p:not(.eyebrow) { min-height: 0; max-width: 490px; line-height: 1.65; margin: 0 0 26px; }
.business-portal .portal-content p:not(.eyebrow) { color: #d5dfeb; }
.athlete-portal .portal-content p:not(.eyebrow) { color: var(--muted); }
.portal-content .button { margin-top: auto; font-size: 1rem; }
.athlete-portal .button.outline { background: transparent; color: var(--ink); border-color: #b7c0ca; }
.athlete-portal .button.outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.portal-logo { position: absolute; z-index: 1; top: 50%; left: 50%; width: 180px; height: 140px; object-fit: contain; object-position: center; background: transparent; padding: 0; opacity: .82; transform: translate(-50%, -50%); }
.portal-visual:after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #1c355e38, transparent 45%); }
.brand-portals :focus-visible { outline-color: #9bb9cc; }
.brand-connection { display: block; padding: 45px 0 50px; max-width: 1000px; font-size: 1rem; }
.brand-connection p { max-width: 840px; margin: auto; color: var(--muted); text-align: center; line-height: 1.8; }
.brand-connection strong { display: inline-block; margin-bottom: 6px; color: var(--ink); font-size: 1.0625rem; font-weight: 700; }
.page-hero { padding: 74px max(48px, calc((100vw - 1280px) / 2)) 78px; background: var(--ink); }
.page-hero h1 { font-size: clamp(3rem, 5.5vw, 4.5rem); max-width: 1080px; }
.page-hero p { max-width: 670px; font-size: 1.0625rem; line-height: 1.8; margin-top: 24px; }
body[data-world="personal"] .page-hero { padding: 74px max(48px, calc((100vw - 1280px) / 2)) 60px; }
.service-hero { width: calc(100% - 64px); max-width: 1280px; margin: 24px auto 0; border-radius: 14px; overflow: hidden; grid-template-columns: 1fr 1fr; min-height: 550px; background: var(--pale); }
.service-hero-copy { padding: 56px 48px; }
.service-hero-copy h1 { font-size: clamp(3rem, 5vw, 4.5rem); }
.service-hero-copy .eyebrow { color: var(--muted); }
.service-hero-copy > p:not(.eyebrow) { line-height: 1.8; }
.service-hero-copy .actions { gap: 24px; }
.service-hero > img { min-height: 550px; object-position: 60% center; }
.section { padding: 88px 0; }
.section-head { gap: 48px; margin-bottom: 40px; }
.section-head > div { min-width: 0; }
.section-head h2 { font-size: clamp(2.2rem, 4vw, 3.75rem); }
.section-head > p { flex: 0 1 420px; line-height: 1.8; }
.section-head .eyebrow { margin-bottom: 14px; }
.split { gap: 72px; }
.split > div { min-width: 0; }
.split > img { height: 560px; border-radius: 12px; }
.split p { line-height: 1.8; }
.text-link { text-decoration-thickness: 1px; text-underline-offset: 6px; }
.card-grid { gap: 28px; }
.service-card { border: 0; padding-bottom: 0; }
.service-card img { height: 280px; border-radius: 10px; margin-bottom: 22px; }
.service-card h3 { font-size: 1.6rem; }
.service-card p { margin: 14px 0 24px; line-height: 1.8; }
.number { color: var(--muted); letter-spacing: .07em; margin-bottom: 10px; }
.audience { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; background: var(--pale); padding: 5px; gap: 4px; margin-bottom: 38px; }
.audience button { border: 0; border-radius: 5px; background: transparent; min-height: 46px; color: var(--muted); padding: 10px 22px; }
.audience button[aria-selected=true] { background: var(--ink); color: #fff; }
.dark-section .split > img { height: 440px; }
.tag { border-radius: 5px; }
.founder-bridge { gap: 72px; }
.founder-bridge > img { height: 400px; border-radius: 12px; }
.packages { gap: 24px; margin-top: 40px; }
.package { border-radius: 12px; padding: 32px; border-color: var(--line); box-shadow: 0 8px 26px #1c355e05; }
.package.featured { border: 2px solid var(--ink); background: #f4f8fc; }
.package h3 { text-transform: none; font-size: 2.25rem; margin: 20px 0 14px; }
.package .ribbon { border-radius: 0 10px 0 7px; padding: 7px 14px; font-size: .8125rem; }
.price { font-size: 2.6rem; line-height: 1.25; }
.price small { font-size: .875rem; white-space: nowrap; font-weight: 500; color: var(--muted); }
.package li { line-height: 1.65; margin: 12px 0; }
.package .text-link { font-size: .9375rem; }
.note { background: var(--pale); border-left-color: #9bb9cc; border-radius: 0 8px 8px 0; padding: 24px 28px; line-height: 1.8; }
.note summary { cursor: pointer; }
.trophy-list { gap: 20px 40px; }
.trophy { padding-top: 22px; }
.trophy strong { margin-bottom: 8px; }
.partner-strip { gap: 18px; }
.partner-strip a { border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.partner-grid { gap: 24px; }
.partner { background: #fff; border-radius: 12px; padding: 32px; }
.partner img { margin-bottom: 26px; }
.partner p { line-height: 1.8; }
.faq { max-width: 960px; }
.faq details { padding: 28px 0; }
.faq summary { font-size: 1.125rem; gap: 28px; }
.faq summary:after { color: var(--muted); flex-shrink: 0; }
.faq details p { max-width: 810px; line-height: 1.85; }
.cta { padding: 66px max(48px, calc((100vw - 1280px) / 2)); background: var(--pale); gap: 48px; }
.cta h2 { font-size: clamp(2.3rem, 4vw, 3.75rem); }
.cta .button { flex-shrink: 0; }
.cta p { color: var(--muted); }
.contact-paths { gap: 20px; }
.contact-paths a { border-radius: 10px; padding: 26px 28px; }
.contact-grid { gap: 76px; }
.contact-grid > div > img { border-radius: 12px; }
.contact-data a { font-size: clamp(1.1rem, 2vw, 1.4rem); overflow-wrap: anywhere; }
.form { background: var(--pale); border: 1px solid var(--line); border-radius: 12px; padding: 32px; gap: 22px; }
.field label { font-size: 1rem; }
.field input, .field select, .field textarea { background: #fff; border-color: #c3ccd8; border-radius: 6px; min-height: 50px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.form-note { font-size: .875rem; line-height: 1.7; }
.form-state { background: #fff; border-radius: 6px; border: 1px solid var(--line); }
.site-footer { padding: 58px max(48px, calc((100vw - 1280px) / 2)) 25px; }
.footer-top { grid-template-columns: 1fr .85fr 1.2fr; gap: 64px; }
.footer-top h3 { font-size: .9375rem; letter-spacing: 0; margin-bottom: 18px; }
.footer-top p, .footer-top a { font-size: .875rem; }
.footer-top .brand { font-size: 1rem; }
.footer-links { gap: 12px; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.newsletter { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.newsletter input { border-radius: 6px; border-color: #58708f; min-height: 50px; }
.newsletter input::placeholder { color: #bfccdd; opacity: 1; }
.newsletter .button { align-self: flex-start; font-size: .875rem; }
.footer-bottom { color: #bfccdd; font-size: .875rem; margin-top: 42px; border-color: #405579; gap: 20px; }
@media (min-width: 1700px) { .brand-portal { grid-template-rows: 330px 1fr; } }
@media (max-width: 1100px) {
  .site-header { padding-inline: 32px; }
  .nav { gap: 18px; }
  .wrap { width: calc(100% - 64px); }
  .portal-content, .athlete-portal .portal-content { padding: 30px 28px; }
  .portal-content h2 { font-size: 2.75rem; }
  .brand-portal { grid-template-rows: 260px 1fr; }
  .portal-content .eyebrow { min-height: 2.6em; }
  .section-nav, .page-hero, body[data-world="personal"] .page-hero, .cta, .site-footer { padding-inline: 32px; }
  .service-hero-copy { padding: 40px 32px; }
  .service-hero-copy h1 { font-size: 3.5rem; }
  .service-hero > img { min-height: 530px; }
  .split, .founder-bridge, .contact-grid { gap: 40px; }
  .service-card img { height: 240px; }
  .packages { gap: 16px; }
  .package { padding: 25px; }
  .price { font-size: 2.2rem; }
  .price small { display: block; margin-top: 4px; }
  .footer-top { gap: 32px; }
  .section-head { gap: 32px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .menu { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 88px; background: #fff; padding: 24px 32px; flex-direction: column; align-items: stretch; gap: 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
}
@media (max-width: 760px) {
  .site-header { height: 76px; padding-inline: 20px; }
  .shared-brand { max-width: 215px; font-size: .875rem; }
  .shared-brand span { margin-inline: 4px; }
  .nav { top: 76px; padding: 22px 20px; gap: 20px; box-shadow: 0 16px 24px #1c355e12; }
  .nav a { font-size: 1rem; }
  .nav .button { min-height: 48px; }
  .wrap { width: calc(100% - 40px); }
  .brand-portals { width: calc(100% - 32px); margin-top: 16px; gap: 20px; }
  .brand-portal, .athlete-portal { min-height: 0; grid-template-rows: 225px 1fr; border-radius: 10px; }
  .portal-content, .athlete-portal .portal-content { padding: 26px 24px 28px; }
  .portal-content .eyebrow { min-height: 0; font-size: .8125rem; margin-bottom: 14px; }
  .portal-content h2 { min-height: 0; font-size: clamp(2.4rem, 10vw, 3.5rem); margin-bottom: 18px; }
  .portal-content p:not(.eyebrow) { margin-bottom: 24px; }
  .portal-content .button { font-size: 1rem; }
  .portal-logo { width: 140px; height: 110px; top: 14px; left: 16px; }
  .business-portal .portal-photo { object-position: 58% 48%; }
  .athlete-portal .portal-photo { object-position: 30% 60%; }
  .brand-connection { padding: 34px 0 40px; }
  .brand-connection p { text-align: left; font-size: .9375rem; }
  .brand-connection strong { font-size: 1rem; }
  .section-nav { padding: 16px 20px; gap: 16px 22px; }
  .section-nav a { font-size: 1rem; }
  .page-hero, body[data-world="personal"] .page-hero { padding: 50px 20px; }
  .page-hero h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
  .page-hero p { font-size: 1rem; }
  .service-hero { width: calc(100% - 32px); grid-template-columns: 1fr; margin-top: 16px; border-radius: 10px; }
  .service-hero-copy { padding: 36px 24px 40px; }
  .service-hero-copy h1 { font-size: clamp(2.6rem, 11vw, 4rem); }
  .service-hero-copy .actions { gap: 22px; }
  .service-hero > img { min-height: 0; height: 280px; }
  .section { padding: 58px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2, .wide-title { font-size: clamp(2.1rem, 9vw, 3rem); }
  .section-head > p { margin-top: 20px; }
  .split, .founder-bridge, .contact-grid { gap: 32px; }
  .split > img { height: 400px; border-radius: 10px; }
  .dark-section .split > img { height: 300px; }
  .founder-bridge > img { height: 340px; }
  .card-grid { gap: 36px; }
  .service-card img { height: 250px; }
  .audience { margin-bottom: 32px; max-width: 100%; }
  .audience button { padding: 10px 16px; font-size: .9375rem; }
  .packages { gap: 24px; }
  .package { padding: 30px 26px; }
  .price { font-size: 2.6rem; }
  .price small { display: inline; }
  .note { padding: 22px; }
  .trophy strong { font-size: 2rem; }
  .partner { padding: 26px; }
  .partner-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .faq summary { font-size: 1rem; }
  .faq details { padding: 24px 0; }
  .faq details p { padding-right: 0; }
  .cta { padding: 48px 20px; }
  .cta h2 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .cta .button { max-width: 100%; }
  .contact-paths { padding-top: 32px; }
  .contact-paths a { padding: 22px; }
  .form { padding: 24px 20px; }
  .site-footer { padding: 46px 20px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-top .shared-brand { max-width: none; }
  .newsletter { flex-direction: column; max-width: 440px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 34px; }
}
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { transition: none !important; } }

/* Oskar's introduction: personal story first, with a clear route to contact. */
.personal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .88fr);
  min-height: 590px;
  background: #F5F1EB;
}
.personal-hero-copy {
  align-self: center;
  padding: 72px clamp(36px, 7.4vw, 112px);
}
.personal-hero h1 {
  margin-top: 18px;
  font-size: clamp(3.5rem, 6.2vw, 6rem);
}
.personal-hero-lead {
  max-width: 590px;
  margin-top: 24px;
  color: #536779;
  font-size: 1.125rem;
  line-height: 1.7;
}
.personal-hero .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 30px;
}
.personal-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 46px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid #D9C9B8;
  list-style: none;
}
.personal-highlights li { display: grid; align-content: start; gap: 6px; }
.personal-highlights strong { font-size: 1rem; line-height: 1.35; }
.personal-highlights span { color: #536779; font-size: .875rem; line-height: 1.5; }
.personal-hero > img {
  width: 100%;
  height: 100%;
  min-height: 590px;
  object-fit: cover;
  object-position: center 38%;
}
@media (max-width: 1000px) {
  .personal-hero { grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr); }
  .personal-hero-copy { padding: 56px 36px; }
  .personal-highlights { gap: 12px; }
}
@media (max-width: 760px) {
  .personal-hero { grid-template-columns: 1fr; }
  .personal-hero-copy { padding: 48px 20px 38px; }
  .personal-hero h1 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .personal-hero-lead { font-size: 1rem; }
  .personal-hero .actions { align-items: flex-start; gap: 18px; }
  .personal-hero > img { min-height: 0; height: min(112vw, 470px); object-position: center 34%; }
  .personal-highlights { margin-top: 36px; gap: 14px 10px; }
  .personal-highlights strong { font-size: .9375rem; }
  .personal-highlights span { font-size: .8125rem; }
}


/* Personal achievements: the record leads the composition. */
#meriter.merit-section { padding-block: clamp(56px, 6vw, 88px); }
#meriter .merit-heading { margin-bottom: 32px; }
#meriter .merit-heading .eyebrow { color: #D9C9B8; letter-spacing: .1em; }
#meriter .merit-heading h2 { margin-top: 14px; }
#meriter .merit-primary {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
}
#meriter .merit-primary > div {
  min-width: 0;
  border: 1px solid rgba(217, 201, 184, .28);
  border-radius: 12px;
  padding: 30px 34px;
  background: rgba(255, 255, 255, .025);
}
#meriter .merit-primary h3 {
  color: #D9C9B8;
  font-size: clamp(1.75rem, 2.7vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
}
#meriter .merit-primary .merit-record {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
  background: rgba(217, 201, 184, .075);
  border-color: rgba(217, 201, 184, .5);
}
#meriter .merit-record h3 { font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.12; }
#meriter .merit-primary p, #meriter .merit-national p { margin-top: 16px; color: #fff; font-size: 1rem; line-height: 1.65; }
#meriter .merit-record p { max-width: 27ch; font-size: 1.125rem; }
#meriter .merit-national { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
#meriter .merit-national > div {
  min-width: 0;
  border: 1px solid rgba(217, 201, 184, .22);
  border-radius: 12px;
  padding: 26px 34px;
}
#meriter .merit-national h3 { display: flex; flex-direction: column; gap: 8px; color: #fff; font-weight: 700; letter-spacing: -.02em; line-height: 1.4; }
#meriter .merit-number { font-size: 2.5rem; line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; }
#meriter .merit-label { font-size: 1.125rem; }
#meriter .merit-national p { margin-top: 8px; }
@media (max-width: 760px) {
  #meriter .merit-heading { margin-bottom: 24px; }
  #meriter .merit-primary { grid-template-columns: 1fr; gap: 16px; }
  #meriter .merit-primary > div { padding: 26px; }
  #meriter .merit-primary .merit-record { grid-row: auto; padding: 32px 26px; }
  #meriter .merit-record h3 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  #meriter .merit-national { gap: 16px; margin-top: 16px; }
  #meriter .merit-national > div { padding: 24px 26px; }
}
@media (max-width: 600px) {
  #meriter .merit-national { grid-template-columns: 1fr; }
}
