/* PescatarianDiet.co.uk — canonical stylesheet. Edit here; build.py copies it to site/assets/style.css. */

/* Plus Jakarta Sans, self-hosted. Variable latin subset from Google Fonts, SIL Open Font License 1.1.
   See src/fonts/OFL-NOTICE.md. Served from our own origin, so there is no third-party request. */
@font-face{
  font-family:"Plus Jakarta Sans";
  src:url("/assets/plus-jakarta-sans-latin-var.woff2") format("woff2-variations");
  font-weight:400 800;
  font-style:normal;
  font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root{
  --ink:#163d38;
  --accent:#195c50;
  --accent-dark:#0f3b33;
  --mist:#e9f1ea;
  --sea:#dce9df;
  --paper:#fff;
  --ivory:#fbf9f3;
  --muted:#4d6b60;
  --line:#d8e3dc;
  --coral:#c95c40;
  --radius:16px;
  --font:"Plus Jakarta Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  scroll-behavior:smooth;
  scroll-padding-top:110px;
}
@media (prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}

*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:17px;line-height:1.7;-webkit-text-size-adjust:100%}
h1,h2,h3,h4,p,figure,ul,ol{margin:0}
img{max-width:100%}
a{color:inherit}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid var(--coral);outline-offset:3px}

h1,h2{font-weight:800;line-height:1.09;letter-spacing:-.035em;text-wrap:balance}
h1{font-size:clamp(42px,4.5vw,64px)}
h2{font-size:clamp(32px,3.45vw,48px)}
h3{font-weight:800;letter-spacing:-.02em;line-height:1.3}

.container{width:min(1180px,100% - 64px);margin-inline:auto}
.eyebrow{font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 14px}
.lead{color:var(--muted);font-size:19px;line-height:1.65}
.section-intro{color:var(--muted);font-size:18px;max-width:40ch;margin-top:23px}
.reading-copy{font-size:17px;line-height:1.8}
.reading-copy p+p{margin-top:18px}
.text-link{display:inline-block;margin-top:25px;font-size:14px;font-weight:800;color:var(--accent-dark)}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--ink);color:#fff;padding:12px 18px;z-index:60}
.skip-link:focus{left:12px;top:12px}

/* Buttons */
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:54px;padding:12px 22px;border:2px solid var(--ink);border-radius:14px;box-shadow:3px 4px 0 var(--ink);font-size:14px;font-weight:800;line-height:1.35;text-decoration:none;transition:background-color .15s,box-shadow .15s,transform .15s}
.button:hover{box-shadow:3px 6px 0 var(--ink);transform:translateY(-2px)}
.button-primary{background:var(--accent);color:#fff}
.button-primary:hover{background:var(--accent-dark)}
.button-light{background:#fff;color:var(--ink)}
.button-light:hover{background:var(--mist)}
.button-small{min-height:44px;padding:9px 16px;font-size:13px}
@media (prefers-reduced-motion:reduce){.button{transition:none}.button:hover{transform:none}}

/* Header */
.site-header-shell{position:sticky;top:0;z-index:30;background:var(--paper);border-bottom:1px solid transparent}
.site-header{display:flex;align-items:center;gap:28px;padding-block:22px}
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:var(--accent-dark)}
.brand svg{flex:none;width:58px}
.brand-name{display:flex;flex-direction:column;line-height:1.05}
.brand-name strong{font-size:clamp(20px,2.4vw,27px);font-weight:800;letter-spacing:-.035em}
.brand-domain{font-size:12px;font-weight:600;color:var(--muted);letter-spacing:0;margin-top:3px}
.site-header nav{display:flex;gap:25px;margin-left:auto;font-size:13px;font-weight:700}
.site-header nav a{text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.site-header nav a:hover{text-decoration:underline}
.site-header nav a[aria-current=page]{color:var(--accent-dark);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:7px}

/* Hero */
.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:65px;padding-block:70px 90px}
.hero .lead{margin-top:24px}
.hero-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:32px}
.course-note{margin-top:26px;font-size:14px;color:var(--muted)}
.hero-visual{position:relative;padding-bottom:15px}
.photo-frame{border:3px solid var(--ink);border-radius:30px;box-shadow:11px 12px 0 var(--accent);aspect-ratio:1.03;overflow:hidden;transform:rotate(-2deg)}
.photo-frame img{width:100%;height:100%;object-fit:cover;display:block}
.hero-visual figcaption{position:absolute;bottom:-3px;left:28px;background:var(--sea);border:2px solid var(--ink);border-radius:12px;box-shadow:3px 4px 0 var(--ink);padding:10px 15px;font-size:12px;font-weight:800;transform:rotate(1deg)}

/* Understand */
.understand-section{background:var(--mist);padding-block:80px}
.understand-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:65px}
.understand-visual{border:2px solid var(--ink);border-radius:24px;aspect-ratio:4/5;max-height:600px;overflow:hidden}
.understand-visual img{width:100%;height:100%;object-fit:cover;display:block}
.understand-copy .reading-copy{margin-top:26px}

/* Free ebook */
.ebook-offer{background:var(--accent-dark);color:var(--paper);padding-block:80px}
.ebook-grid{display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:72px}
.ebook-copy h2{margin:0 0 18px;font-size:clamp(36px,4vw,52px);line-height:1.1}
.ebook-offer .eyebrow,.ebook-offer .section-intro{color:var(--sea)}
.ebook-offer .section-intro{max-width:48ch;margin-top:0;font-size:19px;line-height:1.55}
.check-list{display:grid;gap:16px;margin:28px 0;padding:0;list-style:none}
.check-list li{position:relative;margin:0;padding-left:40px;font-size:16px;line-height:1.55}
.check-list li::before{content:"";position:absolute;top:1px;left:0;width:26px;height:26px;border:2px solid var(--sea);border-radius:50%}
.check-list li::after{content:"";position:absolute;top:7px;left:9px;width:7px;height:12px;border:solid var(--sea);border-width:0 2px 2px 0;transform:rotate(45deg)}
.ebook-form{display:grid;gap:14px;margin-top:28px}
.ebook-form label{font-size:13px;font-weight:700;color:var(--sea)}
.ebook-form input{display:block;width:100%;min-width:0;min-height:56px;padding:16px 20px;border:1px solid var(--paper);border-radius:4px;background:var(--paper);color:var(--ink);font:inherit;cursor:not-allowed}
.ebook-form input::placeholder{color:var(--muted);opacity:1}
.ebook-submit{width:100%;min-height:56px;justify-content:center;border-color:var(--sea);background:var(--sea);color:var(--ink);border-radius:6px;box-shadow:none}
.ebook-submit:disabled{opacity:1;cursor:not-allowed;transform:none;box-shadow:none}
.signup-status{margin-top:14px;font-size:12px;line-height:1.65;color:var(--paper)}
.signup-status a{color:var(--paper);text-decoration:underline;text-underline-offset:.2em}
.ebook-offer a:focus-visible{outline-color:var(--sea)}
.ebook-art{order:0;width:100%;max-width:480px;margin:0}
.ebook-art figcaption{margin-top:24px;font-size:12px;color:var(--sea)}
.ebook-devices{position:relative;width:100%;aspect-ratio:.82}
.ebook-device{position:relative;background:#fff;border-radius:24px;outline:2px solid #c3d2cb;padding:35px 18px 38px;color:var(--ink);box-shadow:0 12px 24px rgba(15,59,51,.31)}
.ebook-tablet{width:77%;height:100%}
.device-camera{position:absolute;top:16px;left:calc(50% - 3px);width:6px;height:6px;border-radius:50%;background:var(--ink)}
.device-home{position:absolute;bottom:10px;left:calc(50% - 10px);width:20px;height:20px;border:2px solid #c3d2cb;border-radius:50%}
.device-screen{display:flex;flex-direction:column;height:100%;overflow:hidden;border:2px solid var(--ink);background:var(--mist)}
.ebook-phone{position:absolute;right:0;bottom:-4px;width:36%;height:56%;padding:26px 8px 28px;border-radius:20px;outline-color:#b6cac1}
.ebook-phone .device-camera{top:11px;width:4px;height:4px}
.ebook-phone .device-home{bottom:6px;left:calc(50% - 8px);width:16px;height:16px}

/* Cover artwork rendered in CSS so headline text stays crisp */
.cover{display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:9% 8%;background:linear-gradient(160deg,var(--accent) 0%,var(--accent-dark) 62%,var(--ink) 100%);color:#fff;container-type:inline-size}
.cover-eyebrow{font-size:7cqw;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--sea)}
.cover-title{font-size:19cqw;font-weight:800;line-height:1.02;letter-spacing:-.04em}
.cover-rule{width:38%;height:3px;background:var(--coral);margin:6cqw 0}
.cover-foot{font-size:6.6cqw;font-weight:600;line-height:1.45;color:var(--sea)}

/* Meal ideas */
.approach{padding-block:95px}
.swaps-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:65px}
.swaps-copy .reading-copy{margin-top:26px}
.swaps-statement{color:var(--accent-dark)}
.swaps-visual{border:2px solid var(--ink);border-radius:24px;aspect-ratio:1;overflow:hidden}
.swaps-visual img{width:100%;height:100%;object-fit:cover;display:block}

/* Video / learning */
.video-section{background:var(--accent-dark);color:#fff;padding-block:80px}
.video-content{text-align:center}
.video-content h2{max-width:22ch;margin-inline:auto}
.video-subtitle{color:var(--sea);max-width:60ch;margin:25px auto 0;font-size:19px;line-height:1.65}
.video-preview{position:relative;max-width:800px;margin:45px auto 0;aspect-ratio:16/9;border:2px solid var(--sea);border-radius:16px;background:var(--ink);overflow:hidden}
.video-preview img{width:100%;height:100%;object-fit:cover;opacity:.5;display:block}
.video-preview figcaption{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;color:#fff;text-shadow:0 1px 3px rgba(22,61,56,.9);background:linear-gradient(rgba(0,0,0,0),rgba(15,59,51,.75))}
.video-label{font-size:14px;font-weight:700}
.video-preview strong{font-size:clamp(25px,3vw,38px);font-weight:800;line-height:1.2}
.video-preview figcaption>span:last-child{max-width:38ch;font-size:15px}
.video-course-note{color:var(--sea);max-width:65ch;margin:30px auto 0;font-size:15px}
.video-content>.button{margin-top:25px}

/* Products */
.product-section{background:var(--accent);color:#fff;padding-block:75px}
.product-content>h2{text-align:center;max-width:28ch;margin-inline:auto}
.product-intro{text-align:center;color:#fff;max-width:55ch;margin:24px auto 0}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:45px;max-width:1000px;margin:135px auto 0}
.product-card{display:flex;flex-direction:column;background:#fff;color:var(--ink);border-radius:16px;padding:32px}
.product-art{display:flex;align-items:center;justify-content:center;height:260px;margin-top:-110px;margin-bottom:24px}
.product-book{position:relative;width:178px;border-left:9px solid var(--ink);box-shadow:10px 12px 16px rgba(22,61,56,.25);transform:perspective(800px) rotateY(-15deg) rotate(-5deg)}
.product-book .cover{aspect-ratio:2/3}
.product-type{margin:0 0 10px;font-size:14px;font-weight:800;color:var(--accent)}
.product-card h3{margin-bottom:24px;font-size:28px;line-height:1.2}
.product-card>p:not(.product-type){color:var(--muted);font-size:16px;line-height:1.7}
.product-card>p+p{margin-top:20px}
.product-card>p:last-of-type{margin-bottom:28px}
.product-purchase{margin-top:auto}
.product-price{font-size:28px;font-weight:800;line-height:1.2}
.product-status{display:inline-block;align-self:flex-start;margin-top:16px;padding:9px 18px;border-radius:6px;background:var(--sea);color:var(--accent-dark);font-size:14px;font-weight:800}
.course-mockup{position:relative;display:flex;align-items:center;width:100%;max-width:360px;height:230px}
.course-laptop{position:relative;width:100%}
.product-screen{position:relative;overflow:hidden;border:8px solid var(--ink);border-radius:10px;background:var(--accent-dark);color:#fff}
.course-laptop .product-screen{aspect-ratio:16/10}
.product-screen img{width:100%;height:100%;object-fit:cover;display:block}
.product-screen>span{position:absolute;left:0;right:0;bottom:0;padding:12px 7px;background:rgba(15,59,51,.92);text-align:center;font-size:14px;font-weight:700;line-height:1.35}
.laptop-base{height:12px;margin-inline:-10px;border-radius:0 0 20px 20px;background:#c3d2cb;border-bottom:3px solid var(--muted)}
.course-tablet{position:absolute;right:-5px;bottom:0;width:125px;transform:rotate(5deg);box-shadow:4px 5px 8px rgba(22,61,56,.25)}
.course-tablet .product-screen{aspect-ratio:3/4;border-width:6px}
.course-tablet .product-screen>span{padding:9px 5px;font-size:12px}
.products-guides-link{display:flex;width:max-content;max-width:100%;margin:45px auto 0}
.products-note{text-align:center;color:#fff;max-width:60ch;margin:25px auto 0;font-size:14px}

/* Build your plate */
.section-space{padding-block:85px}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:40px}
.section-heading>p{color:var(--muted);max-width:35ch}
.section-heading .text-link{margin-top:0;white-space:nowrap}
.food-list{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:0;list-style:none}
.food-list h3{font-size:22px}
.food-list p{color:var(--muted);margin-top:10px;font-size:15px}

/* FAQ */
.faq{display:grid;grid-template-columns:.85fr 1.15fr;gap:80px;padding-block:95px}
.faq-heading p{color:var(--muted);margin-top:22px}
.faq-list{border-top:2px solid var(--ink)}
.faq-list details{border-bottom:2px solid var(--ink)}
.faq-list summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;font-size:19px;font-weight:800;letter-spacing:-.02em;cursor:pointer;list-style:none}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list details p{color:var(--muted);padding-bottom:24px;max-width:62ch}
.faq-plus{position:relative;flex-shrink:0;width:18px;height:18px}
.faq-plus::before,.faq-plus::after{content:"";position:absolute;top:8px;left:0;width:18px;height:2px;background:var(--accent)}
.faq-plus::after{transform:rotate(90deg)}
details[open] .faq-plus::after{transform:rotate(0)}

/* News */
.news-section{background:var(--mist);padding-block:80px}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px}
.news-image{display:block;margin-bottom:23px;border:2px solid var(--ink);border-radius:18px;aspect-ratio:1.5;overflow:hidden}
.news-image img{width:100%;height:100%;object-fit:cover;display:block}
.news-card :is(h2,h3){font-size:22px;font-weight:800;letter-spacing:-.02em;line-height:1.3}
.news-card :is(h2,h3) a{text-decoration:none}
.news-card :is(h2,h3) a:hover{text-decoration:underline}
.news-card>p:not(.eyebrow){color:var(--muted);margin-top:16px;font-size:15px}
.news-index{padding-bottom:85px}

/* Benefits */
.benefits-section{padding-block:75px}
.benefits-heading{text-align:center}
.benefits-heading>p{margin:0 auto 22px}
.benefits-heading h2{color:var(--accent-dark)}
.benefits-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,350px) minmax(0,1fr);align-items:center;gap:32px;margin-top:60px}
.benefit-list{display:flex;flex-direction:column;gap:40px;margin:0;padding:0;list-style:none}
.benefit-list li{display:flex;align-items:flex-start;gap:16px}
.benefits-left li{flex-direction:row-reverse;text-align:right}
.benefit-icon{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:50%;background:var(--accent);color:#fff}
.benefit-icon svg{width:22px;height:22px}
.benefit-list h3{font-size:19px;line-height:1.35}
.benefit-list p{color:var(--muted);margin-top:12px;font-size:15px;line-height:1.75}
.benefits-photo{border:5px solid var(--sea);border-radius:50%;aspect-ratio:1;overflow:hidden}
.benefits-photo img{width:100%;height:100%;object-fit:cover;display:block}
.benefits-evidence{text-align:center;margin-top:45px}
.benefits-evidence .text-link{margin-top:0}
.benefits-evidence p{color:var(--muted);max-width:90ch;margin:18px auto 0;font-size:12px;line-height:1.8}

/* Medical note + footer */
.site-footer{background:var(--ink);color:#fff;padding-block:50px 20px}
.footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:start;gap:45px}
.site-footer .brand{color:#fff}
.site-footer .brand-domain{color:var(--sea)}
.footer-purpose{color:var(--sea);margin-top:25px;font-size:25px;line-height:1.25}
.footer-grid nav{display:grid;gap:10px;font-size:13px}
.footer-grid nav strong{color:var(--sea);margin-bottom:5px;font-size:14px}
.footer-grid nav a{text-decoration:none}
.footer-grid nav a:hover{text-decoration:underline}
.site-footer a:focus-visible{outline-color:var(--sea)}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:45px;padding-top:20px;border-top:1px solid rgba(220,233,223,.25);font-size:12px;color:var(--sea)}
.footer-bottom p{margin:0}

/* Interior pages */
.article{padding-block:55px 70px}
.article-shell{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.breadcrumbs{font-size:13px;color:var(--muted);margin-bottom:22px}
.breadcrumbs a{color:var(--accent-dark);font-weight:700}
.article h1{margin-bottom:22px}
.article .lead{max-width:60ch}
.article h2{font-size:clamp(26px,2.6vw,34px);margin-top:45px}
.article h3{font-size:21px;margin-top:30px}
.article p{margin-top:16px;max-width:72ch}
.article ul,.article ol{margin-top:16px;padding-left:22px;max-width:72ch}
.article li{margin-top:8px}
.article li::marker{color:var(--accent)}
.article a{color:var(--accent-dark);font-weight:600}
.page-hero{padding-block:55px 10px}
.page-hero .hero-actions{margin-top:28px}
.panel{background:var(--mist);border:2px solid var(--ink);border-radius:var(--radius);padding:32px}
.panel h2{margin-top:0}
.sourcebox{margin-top:50px;padding:24px;border-left:4px solid var(--accent);background:var(--ivory);font-size:14px;line-height:1.75}
.sourcebox p{margin-top:10px;max-width:none}
.tablewrap{overflow-x:auto;margin-top:24px;border:2px solid var(--ink);border-radius:var(--radius)}
table{border-collapse:collapse;width:100%;min-width:640px;font-size:15px}
caption{caption-side:top;padding:14px 16px;text-align:left;font-size:13px;font-weight:700;color:var(--muted)}
th,td{padding:12px 16px;text-align:left;border-top:1px solid var(--line);vertical-align:top}
thead th{background:var(--mist);border-top:0;font-size:13px;letter-spacing:.04em;text-transform:uppercase}
tbody th{font-weight:800;white-space:nowrap}

/* Responsive */
@media (max-width:1050px){
  .container{width:min(1180px,100% - 48px)}
  .hero{gap:40px;padding-top:45px}
  .understand-grid,.swaps-grid,.ebook-grid{gap:50px}
  .faq{gap:50px}
  .benefits-grid{grid-template-columns:minmax(0,1fr) 240px minmax(0,1fr);gap:24px}
  .benefit-list{gap:30px}
  .benefit-list h3{font-size:17px}
  .benefit-icon{width:34px;height:34px}
  .site-header nav{gap:16px}
}
@media (max-width:800px){
  .container{width:min(1180px,100% - 40px)}
  h1{font-size:clamp(37px,8.5vw,48px)}
  h2{font-size:34px}
  .site-header{flex-wrap:wrap;gap:12px;padding-block:16px}
  .site-header nav{width:100%;margin:0;padding-top:12px;border-top:1px solid var(--line);justify-content:space-between;gap:10px;font-size:12px}
  .site-header>.button{display:none}
  .brand svg{width:40px}
  .brand-name strong{font-size:19px}
  .hero{display:flex;flex-direction:column;gap:40px;padding-block:32px 65px}
  .hero-copy{order:0}
  .hero-visual{order:1;width:100%;max-width:550px}
  .hero-actions{gap:14px;margin-top:25px}
  .hero-actions .button{flex:1 1 170px;padding-inline:14px;font-size:13px}
  .photo-frame{aspect-ratio:1.2;border-radius:24px;box-shadow:7px 8px 0 var(--accent);transform:rotate(-1deg)}
  .hero-visual figcaption{left:15px;padding:8px 12px;font-size:11px}
  .understand-section,.ebook-offer,.video-section,.product-section,.news-section,.section-space{padding-block:55px}
  .approach,.faq{padding-block:60px}
  .understand-grid,.swaps-grid,.ebook-grid,.faq{grid-template-columns:1fr;gap:32px}
  .ebook-art{order:1;max-width:390px;margin-inline:auto}
  .ebook-copy{order:0}
  .ebook-offer .section-intro{max-width:100%;font-size:17px}
  .product-grid{grid-template-columns:1fr;gap:125px;max-width:450px;margin-top:135px}
  .product-card{padding:26px}
  .product-card h3{font-size:26px}
  .course-mockup{max-width:300px}
  .course-tablet{width:105px}
  .section-heading{display:block;margin-bottom:30px}
  .section-heading>p,.section-heading .text-link{margin-top:22px}
  .food-list,.news-grid{grid-template-columns:1fr;gap:30px}
  .news-image{aspect-ratio:1.65}
  .benefits-grid{grid-template-columns:1fr;gap:30px;margin-top:35px}
  .benefits-photo{order:-1;width:min(100%,280px);margin-inline:auto}
  .benefits-left li{flex-direction:row;text-align:left}
  .benefit-list h3{font-size:19px}
  .benefit-list p{font-size:16px}
  .benefit-icon{width:40px;height:40px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:30px}
  .footer-purpose{display:none}
  .faq-list summary{font-size:17px}
}
@media (max-width:560px){
  .container{width:min(1180px,100% - 32px)}
  .footer-grid{grid-template-columns:1fr}
  .site-header nav{gap:8px;font-size:11px}
  .hero-actions{display:grid}
  .hero-actions .button{width:100%}
  .panel,.product-card{padding:22px}
}
@media print{
  .site-header-shell,.site-footer,.hero-actions,.ebook-form,.video-preview{display:none}
  body{font-size:12pt}
  .container{width:100%}
}

/* ---------------------------------------------------------------- About page */
.about-section{padding-block:80px}
.about-pair{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:64px}
.about-copy p{margin-top:24px;font-size:17px;line-height:1.8}
.about-copy .button{margin-top:28px}
.about-intro{background:var(--accent-dark);color:var(--paper);padding-block:64px 76px}
.about-intro h1{font-size:clamp(40px,5vw,56px)}
.about-intro .about-copy>p{color:var(--sea)}
.about-intro a:focus-visible,.about-guides a:focus-visible{outline-color:var(--sea)}
.about-collage{position:relative;width:100%;max-width:560px;margin-inline:auto;aspect-ratio:565/600}
.about-photo-back{position:absolute;top:0;left:0;width:55%;height:62%;border-radius:16px;overflow:hidden}
.about-photo-front{position:absolute;right:0;bottom:0;width:78%;height:89%;border:8px solid var(--paper);border-radius:16px;overflow:hidden}
.about-collage img,.about-section-photo img{width:100%;height:100%;object-fit:cover;display:block}
.about-checks{display:grid;gap:18px;margin:25px 0 0;padding:0;font-size:16px;list-style:none}
.about-checks li{display:flex;align-items:flex-start;gap:13px}
.about-checks svg{flex-shrink:0;width:27px;height:27px;margin-top:1px;color:var(--sea)}
.about-help{background:var(--accent);padding-block:72px}
.about-help-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.about-help-card{background:var(--paper);border-radius:16px;padding:35px;text-align:center}
.about-help-card>svg{width:44px;height:44px;margin:0 auto 18px;color:var(--accent)}
.about-help-card h2{font-size:25px;line-height:1.3}
.about-help-card p{color:var(--muted);margin:18px auto 0;font-size:16px}
.about-food{background:var(--mist)}
.about-food h2,.about-topics h2,.about-editorial h2{color:var(--accent-dark)}
.about-section-photo{position:relative;aspect-ratio:1;border-radius:16px;overflow:hidden}
.about-section-photo figcaption{position:absolute;left:0;right:0;bottom:0;padding:12px 18px;background:var(--paper);color:var(--accent-dark);font-size:14px;font-weight:700}
.about-guides{background:var(--accent-dark);color:var(--paper)}
.about-guides p{color:var(--sea)}
.about-learning-photo{aspect-ratio:695/562}
.about-section-heading{text-align:center;max-width:800px;margin-inline:auto}
.about-section-heading p{color:var(--muted);margin:24px auto 0}
.about-topics-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:54px 46px;margin-top:54px;text-align:center}
.about-topics-grid svg{width:48px;height:48px;margin:0 auto 18px;color:var(--accent)}
.about-topics-grid h3{font-size:22px;line-height:1.35}
.about-topics-grid p{color:var(--muted);margin-top:17px;font-size:16px}
.about-editorial{background:var(--mist)}
.about-editorial-photo{aspect-ratio:571/573}

/* --------------------------------------------------------------- Guides page */
.guides-intro{background:var(--accent-dark);color:var(--paper);padding-block:64px 72px}
.guides-heading{text-align:center;max-width:900px;margin-inline:auto}
.guides-heading h1{max-width:23ch;margin-inline:auto;font-size:clamp(40px,5vw,56px)}
.guides-heading p{max-width:65ch;margin:25px auto 0;font-size:19px;line-height:1.7}
.guides-intro .guides-heading p{color:var(--sea)}
.guides-intro-grid{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:64px;margin-top:48px}
.guides-intro-photo{aspect-ratio:1.1;border:8px solid var(--paper);border-radius:16px;overflow:hidden}
.guides-intro-photo img{width:100%;height:100%;object-fit:cover;display:block}
.guides-strengths{display:grid;gap:22px}
.guides-strengths article{display:flex;align-items:center;gap:20px;background:var(--paper);color:var(--ink);border-radius:16px;padding:24px}
.guides-strengths svg{flex-shrink:0;width:42px;height:42px;color:var(--accent)}
.guides-strengths h2{font-size:22px;line-height:1.3}
.guides-strengths p{color:var(--muted);margin-top:12px;font-size:15px;line-height:1.75}
.guides-jump{display:flex;flex-wrap:wrap;justify-content:center;gap:18px;margin-top:36px}
.guides-intro a:focus-visible{outline-color:var(--sea)}
.guide-product{padding-block:80px}
.guide-ebook{background:var(--paper)}
.guide-course{background:var(--mist)}
.guide-product h2{color:var(--accent-dark);font-size:clamp(34px,4vw,48px)}
.guide-product .guides-heading p{color:var(--muted)}
.guide-product-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:64px;margin-top:50px}
.guide-art{margin:0}
.guide-art figcaption{margin-top:20px;color:var(--muted);font-size:13px;text-align:center}
.guide-art-ebook .product-book{width:min(260px,70%);margin-inline:auto}
.guide-art-course .course-mockup{margin-inline:auto}
.guide-details h3{font-size:25px;line-height:1.3}
.guide-details>p{margin-top:24px;font-size:17px;line-height:1.8}
.guide-checks{display:grid;gap:14px;margin:24px 0;padding:0;font-size:16px;list-style:none}
.guide-checks li{display:flex;align-items:flex-start;gap:12px}
.guide-checks svg{flex-shrink:0;width:25px;height:25px;margin-top:1px;color:var(--accent)}
.guide-price-row{display:flex;align-items:center;gap:18px;margin-top:28px}
.guide-price-row .guide-price{color:var(--accent-dark);margin:0;font-size:36px;font-weight:800;line-height:1.2}
.guide-price-row p+p{color:var(--muted);margin:0;font-size:15px;font-weight:700}
.guide-coming{min-width:170px;margin-top:22px;background:var(--accent);color:var(--paper);border-color:var(--accent-dark);box-shadow:none;cursor:default}
.guide-coming:hover{box-shadow:none;transform:none}
.guide-details>.guide-status{color:var(--muted);margin-top:18px;font-size:14px;line-height:1.7}
.guide-details>.guide-reading{color:var(--muted);margin-top:22px;font-size:15px;line-height:1.8}
.guide-reading a{color:var(--accent-dark);text-decoration:underline}

@media (max-width:1050px){
  .about-pair,.guides-intro-grid,.guide-product-grid{gap:44px}
  .about-topics-grid{column-gap:26px}
  .guides-strengths article{gap:16px;padding:20px}
}
@media (max-width:800px){
  .about-section,.guide-product{padding-block:55px}
  .about-intro{padding-block:35px 55px}
  .about-pair,.guides-intro-grid,.guide-product-grid{grid-template-columns:1fr;gap:32px;margin-top:32px}
  .about-collage{aspect-ratio:565/530;max-width:460px}
  .about-copy p{margin-top:22px}
  .about-help{padding-block:50px}
  .about-help-grid{grid-template-columns:1fr;gap:22px}
  .about-help-card{padding:28px}
  .about-help-card h2{font-size:24px}
  .about-topics-grid{grid-template-columns:1fr;gap:38px;margin-top:38px}
  .about-topics-grid article{max-width:44ch;margin-inline:auto}
  .about-section-heading h2{font-size:34px}
  .about-section-photo{width:100%;max-width:560px;margin-inline:auto}
  .guides-intro-photo{aspect-ratio:1.2;width:100%;max-width:550px;margin-inline:auto}
  .guides-jump{gap:14px;margin-top:28px}
  .guides-jump .button{font-size:13px}
  .guide-details h3{font-size:24px}
  .guide-price-row{flex-wrap:wrap;gap:15px}
}

/* ------------------------------------------------- Mastheads, articles, news */
.page-masthead{background:var(--mist);padding-block:60px 65px;margin-bottom:65px}
.page-masthead h1{max-width:18ch}
.page-masthead .lead{max-width:55ch;margin-top:24px}
.breadcrumb{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px;color:var(--muted);font-size:12px}
.breadcrumb a{color:var(--accent-dark);font-weight:700}
.article-shell{display:grid;grid-template-columns:minmax(0,760px) 1fr;gap:70px;padding-bottom:75px}
/* Grid items default to min-width:auto, which stops .tablewrap's overflow-x from working on narrow screens. */
.article-shell>*{min-width:0}
.prose{max-width:760px;min-width:0}
.prose h2{margin-top:42px;margin-bottom:18px;font-size:30px;line-height:1.2}
.prose h3{margin-top:30px;margin-bottom:15px;font-size:22px;font-weight:800}
.prose p{max-width:70ch;margin-block:18px}
.prose ul,.prose ol{margin-block:20px;padding-left:24px}
.prose li{margin-block:10px}
.prose li::marker{color:var(--accent)}
.prose a{color:var(--accent-dark);text-decoration:underline;text-underline-offset:.18em}
.prose .button{text-decoration:none}
.prose .button-primary{color:var(--paper)}
.article-hero{max-width:760px;margin:0 0 32px}
.article-hero img{width:100%;max-height:400px;object-fit:cover;border-radius:20px;display:block}
.article-hero figcaption{color:var(--muted);margin-top:12px;font-size:12px}
.article-meta{color:var(--muted);margin-top:24px;font-size:12px}
.article-meta a{color:var(--accent-dark)}
.article-end{border-top:2px solid var(--ink);margin-top:40px;padding-top:25px}
.article-end .button{margin-top:20px}
.article-aside{background:var(--mist);height:fit-content;padding:24px;font-size:14px}
.article-aside h2{font-size:24px}
.article-aside p{margin-top:18px}
.article-aside .button{margin-top:22px}
.resource-meta{color:var(--accent-dark);margin-block:12px;font-size:14px;font-weight:700}
.news-index{padding-bottom:85px}

/* ------------------------------------------------------------- Contact page */
.contact-heading{background:var(--accent-dark);color:#fff;text-align:center;padding:64px 0 68px}
.contact-heading h1{margin:0 0 24px;font-size:clamp(40px,5vw,56px);line-height:1.1}
.contact-heading p{color:var(--sea);max-width:760px;margin:0 auto;font-size:19px;line-height:1.65}
.contact-content{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:80px;padding-block:72px 80px}
.contact-content h2,.contact-partners h2{margin:0 0 22px;font-size:32px;line-height:1.2}
.form-intro{color:var(--muted);margin:0 0 28px;font-size:15px}
.contact-content fieldset{border:0;min-width:0;margin:0;padding:0}
.contact-content fieldset:disabled{opacity:.65}
.contact-content label{display:block;margin:0 0 9px;font-size:15px;font-weight:700}
.contact-content input,.contact-content textarea{width:100%;min-height:54px;padding:14px 16px;border:1px solid var(--muted);border-radius:6px;background:#fff;color:var(--ink);font:inherit;caret-color:var(--accent-dark)}
.contact-content textarea{min-height:176px;resize:vertical}
.contact-content input:focus,.contact-content textarea:focus{outline:3px solid var(--accent);outline-offset:3px}
.availability-note{background:var(--mist);margin:0 0 28px;padding:16px 20px;font-size:15px;line-height:1.65}
.name-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}
.field-hint,.privacy-note{color:var(--muted);font-size:14px;line-height:1.65}
.field-hint{margin:9px 0 24px}
.form-actions{display:flex;justify-content:space-between;align-items:end;gap:24px}
.math-row{display:flex;align-items:center;gap:12px}
.math-row span{font-size:17px;font-weight:700;font-variant-numeric:tabular-nums}
.math-row input{width:76px;min-height:48px;padding:10px 12px}
.math-field label{margin-bottom:9px}
.form-actions button{min-width:174px}
.form-actions button:disabled{cursor:default;transform:none}
.privacy-note{margin:25px 0 0}
.contact-content a{color:var(--accent-dark);text-decoration:underline;text-underline-offset:.2em}
.contact-content aside p{color:var(--muted);margin:0 0 22px;font-size:17px;line-height:1.75}
.contact-content aside h3{margin:32px 0 14px;font-size:22px;line-height:1.35}
.contact-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.contact-partners{background:var(--mist);padding-block:54px}
.contact-partners p{max-width:70ch;margin:0;font-size:17px;line-height:1.7}

@media (max-width:1050px){
  .article-shell{grid-template-columns:minmax(0,1fr) 260px;gap:40px}
  .contact-content{gap:48px}
}
@media (max-width:800px){
  .page-masthead{margin-bottom:40px;padding-block:40px 45px}
  .page-masthead h1{font-size:clamp(36px,8vw,48px)}
  .article-shell{grid-template-columns:1fr;gap:32px;padding-bottom:55px}
  .article-hero img{max-height:320px}
  .prose h2{font-size:28px}
  .contact-content{grid-template-columns:1fr;gap:48px;padding-block:48px 55px}
  .contact-content h2,.contact-partners h2{font-size:28px}
  .name-fields{grid-template-columns:1fr;gap:24px}
  .form-actions{flex-wrap:wrap;align-items:center}
  .form-actions button{width:100%;margin-top:8px}
  .contact-content aside p{font-size:16px}
  .contact-partners{padding-block:40px}
  .news-index{padding-bottom:55px}
}
