
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--ink:#111210;--paper:#eee6d2;--orange:#bd450a;--muted:#b2b394}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif}a{color:inherit}button,input,select,textarea{font:inherit}header{position:absolute;top:0;z-index:5;width:100%;padding:25px 6%;display:flex;justify-content:space-between;align-items:center;color:white;border-bottom:1px solid #ffffff30}.brand{text-decoration:none;font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:24px;letter-spacing:1px;display:flex;gap:12px;align-items:center}.brand svg{width:47px;height:40px}nav{display:flex;gap:30px;align-items:center}nav a{text-decoration:none;font-size:13px;font-weight:600}.nav-cta{border:1px solid #ffffff80;padding:12px 20px}.hero{min-height:790px;height:95svh;max-height:1080px;position:relative;color:white;display:flex;align-items:center;background:#30331f url('assets/mm-ridge.jpg') center 48%/cover}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#111210d9,#30331f40),linear-gradient(0deg,#111210b3,transparent 50%)}.hero-content{position:relative;width:88%;margin:95px auto 0}.eyebrow{font-size:11px;letter-spacing:3px;text-transform:uppercase;font-weight:700;display:block;margin-bottom:24px}.eyebrow:before{content:'';display:inline-block;width:28px;height:2px;background:var(--orange);vertical-align:middle;margin-right:13px}h1,h2,h3{font-family:'Barlow Condensed',sans-serif;text-transform:uppercase;line-height:.96;margin:0;font-weight:700}h1{font-size:clamp(74px,9.8vw,148px);letter-spacing:-2px;max-width:900px}h1 span{color:#e58b4e}p{line-height:1.75;font-size:15px}.hero p{max-width:440px;font-size:16px;color:#e2e5e2;margin:28px 0}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;text-decoration:none;padding:17px 25px;background:var(--orange);color:#fff;font-size:12px;font-weight:700;border:0;cursor:pointer}.button:hover{background:#973407}.button.secondary{background:transparent;border:1px solid #ffffff60;margin-left:10px}.hero-bottom{position:absolute;bottom:28px;left:6%;right:6%;display:flex;justify-content:space-between;font-size:10px;letter-spacing:2px;text-transform:uppercase}.ribbon{background:var(--ink);color:var(--paper);display:flex;justify-content:space-around;gap:20px;padding:24px 6%;font-size:11px;letter-spacing:2px;text-transform:uppercase}.ribbon span:before{content:'+';color:var(--orange);margin-right:17px}section{padding:100px 6%}.intro{display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:start}h2{font-size:clamp(46px,5.5vw,76px)}.intro h2{max-width:500px}.intro p:first-child{margin-top:0}.text-link{display:inline-block;text-decoration:none;font-size:12px;font-weight:700;border-bottom:1px solid;padding-bottom:8px;margin-top:15px}.adventures{padding-top:25px}.section-top{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:35px}.section-top p{max-width:340px;margin:0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{position:relative;min-height:440px;display:flex;align-items:end;overflow:hidden;color:white;text-decoration:none;background:#4b5031}.card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s}.card:hover img{transform:scale(1.04)}.card:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#111210ed)}.card-content{position:relative;z-index:1;padding:30px;width:100%}.tag{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;border:1px solid #ffffff70;display:inline-block;padding:7px 10px;margin-bottom:65px}.card h3{font-size:39px}.card p{font-size:13px;line-height:1.6;color:#e0e4df}.card-foot{display:flex;justify-content:space-between;border-top:1px solid #ffffff40;padding-top:15px;font-size:11px}.note{font-size:12px;color:#667168;margin-top:20px}.story{background:var(--ink);color:var(--paper);display:grid;grid-template-columns:1fr 1fr;gap:9%;align-items:center}.story-image{min-height:530px;background:url('assets/mm-group.jpg') center/cover;position:relative}.image-label{position:absolute;bottom:25px;left:25px;background:var(--paper);color:var(--ink);padding:14px 20px;font-size:10px;letter-spacing:2px}.story h2{font-size:65px}.story p{color:#c3cbbf}.signature{font-family:'Barlow Condensed';font-size:26px;margin-top:25px}.signature small{display:block;font-family:'DM Sans';font-size:10px;letter-spacing:2px;margin-top:8px;color:var(--muted)}.values{display:grid;grid-template-columns:1fr 1fr;gap:10%}.values-list{border-top:1px solid #aeb5a7}.value{display:grid;grid-template-columns:45px 1fr;gap:15px;padding:24px 0;border-bottom:1px solid #bfc4b7}.value>span{color:#a63d09;font-size:12px}.value h3{font-size:27px}.value p{font-size:13px;margin-bottom:0}.join{background:#dedfcf;display:grid;grid-template-columns:1fr 1fr;gap:10%}.join h2{max-width:500px}.join p{max-width:430px}form{display:grid;grid-template-columns:1fr 1fr;gap:18px}label{font-size:11px;font-weight:700;display:block}input,select,textarea{display:block;width:100%;margin-top:9px;padding:13px;background:#f9f9f280;border:1px solid #a9b29f;border-radius:0;color:var(--ink)}.wide{grid-column:1/-1}textarea{resize:vertical;min-height:90px}form .note{margin:0;line-height:1.6}.faq{padding-top:65px;padding-bottom:65px;display:grid;grid-template-columns:1fr 1.5fr;gap:10%}.faq h2{font-size:48px}details{padding:20px 0;border-bottom:1px solid #c2c8bb}summary{cursor:pointer;font-weight:600;font-size:14px}details p{font-size:13px}footer{background:#0b0c09;color:var(--paper);padding:45px 6% 25px}.footer-top{display:flex;align-items:center;justify-content:space-between;gap:25px}.footer-top p{font-family:'Barlow Condensed';font-size:27px;text-transform:uppercase}.footer-bottom{border-top:1px solid #ffffff25;display:flex;justify-content:space-between;gap:20px;margin-top:30px;padding-top:20px;color:#aeb8aa;font-size:10px}.menu{display:none}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #d56a22;outline-offset:5px}@media(max-width:800px){header{padding:20px 6%}.brand{font-size:20px}nav{gap:14px}nav a{font-size:11px}nav a:nth-child(-n+3){display:none}.hero{min-height:720px;max-height:900px}.hero-content{margin-top:80px}h1{font-size:78px;letter-spacing:-1px}.hero p{max-width:340px}.hero-bottom span:last-child{display:none}.ribbon{font-size:9px;gap:12px;flex-wrap:wrap}.ribbon span:before{margin-right:8px}section{padding:65px 6%}.intro,.story,.values,.join,.faq{grid-template-columns:1fr;gap:35px}.cards{grid-template-columns:1fr}.card{min-height:400px}.section-top{align-items:start;flex-direction:column}.story-image{min-height:380px}.story h2{font-size:52px}.footer-top{align-items:start;flex-direction:column}.footer-bottom{flex-direction:column}.button.secondary{margin-left:0;margin-top:10px}.hero .button{margin-right:8px}.tag{margin-bottom:60px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card img{transition:none}}

/* Men & Mountains brand: charcoal, olive, warm cream and burnt orange. */
header{padding:12px 6%;background:linear-gradient(#0b0c09d9,#11121065);color:var(--paper)}.brand{gap:14px}.brand-roundel{width:88px;height:88px;object-fit:contain;flex-shrink:0}.brand small{display:block;font:600 8px 'DM Sans',sans-serif;letter-spacing:2px;margin-top:6px;color:#c8c5ac}.hero p{color:var(--paper)}.ribbon{background:#4b5031}.ribbon span:before{color:#ee955d}.story{border-top:5px solid #4b5031}.story p{color:#d2cfbc}.story .eyebrow{color:#e9dfc4}.motto-logo{display:block;width:min(100%,280px);height:auto;margin:-25px 0 -5px}.values>div:first-child{background:#111210;color:var(--paper);padding:38px;align-self:start;border-bottom:5px solid #4b5031}.values>div:first-child p{color:#d2cfbc}.footer-brand .brand-roundel{width:140px;height:140px}.footer-top p{color:var(--paper)}.footer-bottom{color:#b2b394}.join{border-top:6px solid #4b5031}.join input,.join select,.join textarea{background:#f6f1e5}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:800px){header{padding:9px 6%}.brand-roundel{width:67px;height:67px}.brand{font-size:18px;gap:8px}.brand small{font-size:6px;letter-spacing:1px}.nav-cta{padding:10px}.values>div:first-child{padding:28px}.motto-logo{max-width:240px}.hero-content{margin-top:100px}}@media(max-width:420px){header .brand span{font-size:16px}header .brand small{font-size:5px}header .brand-roundel{width:56px;height:56px}.nav-cta{font-size:10px;padding:10px 8px}}

.hero{background-position:center 48%}.story-image{background-position:center;background-size:cover;min-height:530px}.field-notes{padding-bottom:70px}.own-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:20px}figure{margin:0}.own-grid img{width:100%;height:360px;object-fit:cover;display:block}.own-grid figcaption{font-size:12px;margin-top:12px;color:#596046}.places{background:#e4dece;padding-top:75px}.places-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px 22px}.places-grid img{width:100%;height:245px;object-fit:cover;display:block}.places-grid figcaption{padding-top:15px}.places-grid h3{font-size:30px}.places-grid span{display:block;font-size:11px;color:#5b6049;margin-top:8px}.places-grid figure:nth-child(6) img{object-position:center 48%}.photo-credits{font-size:11px;color:#c8c5ac;border-bottom:0;border-top:1px solid #ffffff25;margin-top:25px;padding-bottom:0}.photo-credits summary{font-size:11px}.photo-credits p,.photo-credits li{font-size:11px;line-height:1.8}.photo-credits ul{padding-left:20px}.photo-credits a{color:#eee6d2}@media(max-width:800px){.own-grid,.places-grid{grid-template-columns:1fr 1fr}.own-grid figure:first-child{grid-column:1/-1}.own-grid img{height:300px}.places-grid img{height:220px}.hero{background-position:58% center}.story-image{min-height:400px}}@media(max-width:520px){.places-grid{grid-template-columns:1fr}.places-grid img{height:270px}.own-grid{gap:14px}.own-grid img{height:230px}.own-grid figure:first-child img{height:280px}.own-grid figcaption{font-size:11px}}

.code-link{margin-left:18px}.menu-toggle{display:none}.code-promo{display:grid;grid-template-columns:1fr .7fr;gap:12%;align-items:center;background:#111210;color:var(--paper)}.code-promo p{color:#d2cfbc;max-width:480px}.code-promo img{width:100%;max-height:580px;object-fit:contain}.social-section{background:#4b5031;color:var(--paper)}.social-section .text-link{color:#fff1d9}.social-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.social-photos img{width:100%;height:320px;object-fit:cover}.social-caption{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:24px}.social-caption>span{font-size:11px;color:#d2cfbc}.subpage header{position:relative;background:#111210}.command-intro{display:grid;grid-template-columns:1.15fr .85fr;gap:10%;align-items:center;padding-top:70px}.command-intro h1{font-size:clamp(65px,7vw,100px);color:#111210}.command-intro h1 span{color:#a63d09}.command-intro p{max-width:530px}.command-intro img{display:block;width:100%;max-height:600px;object-fit:contain}.command-art-link{display:block;background:#111210;padding:15px}.command-art-link:focus-visible{outline:3px solid #bd450a}.command-intro .text-link{margin-right:15px}.command-list{padding-top:20px}.command-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:55px 30px}.command-card{min-width:0}.command-card img{width:100%;height:auto;display:block;background:#111210}.command-card .command-number{font-size:12px;letter-spacing:2px;color:#a63d09;display:block;margin:20px 0 12px}.command-card h2{font-size:36px;line-height:1.08}.command-card p{font-size:14px;margin-bottom:0;max-width:540px}.command-close{background:#4b5031;color:var(--paper);text-align:center}.command-close p{max-width:570px;margin:24px auto}.command-close .button.secondary{margin-left:10px}.subpage .footer-top{padding-top:0}.command-note{max-width:650px;margin-top:35px}.places-grid figure:nth-child(7) img{object-position:center 38%}@media(max-width:1250px){header nav{display:none;position:absolute;top:100%;left:0;right:0;background:#111210;padding:20px 6%;flex-direction:column;align-items:stretch;border-top:1px solid #4b5031}header nav.is-open{display:flex}header nav a,header nav a:nth-child(-n+3){display:block;font-size:14px;padding:12px 0}header nav .nav-cta{padding:14px}.menu-toggle{display:flex;gap:16px;align-items:center;padding:12px 14px;border:1px solid #b2b394;background:transparent;color:var(--paper);cursor:pointer;font-size:12px}.code-link{margin-left:0;margin-right:15px}}@media(max-width:800px){.code-promo,.command-intro{grid-template-columns:1fr;gap:35px}.code-promo img{max-height:500px}.command-intro{padding-top:50px}.command-intro h1{font-size:70px}.command-intro img{max-height:550px}.social-photos img{height:240px}.social-caption{align-items:start;flex-direction:column}.command-grid{gap:40px 22px}.command-card h2{font-size:29px}.command-card p{font-size:13px}}@media(max-width:560px){.command-grid{grid-template-columns:1fr}.social-photos{grid-template-columns:1fr 1fr}.social-photos img:first-child{grid-column:1/-1;height:280px}.social-photos img{height:220px}.command-close .button.secondary{margin-left:0}.command-intro h1{font-size:61px}}

/* Original photographs from the Spain and Norway trips. */
.places-grid figure:nth-child(7) img{object-position:center 45%}.places-grid figure:nth-child(8) img{object-position:center 65%}.places-grid figure:nth-child(9) img{object-position:center 55%}.trip-memories{border-top:1px solid #b5b59e;padding-top:42px;margin-top:42px}.memories-heading h3{font-size:42px;margin-bottom:28px}.memories-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.memories-grid img{display:block;width:100%;height:285px;object-fit:cover}.memories-grid figure:nth-child(2) img{object-position:center 40%}.memories-grid figure:nth-child(3) img{object-position:center 62%}.memories-grid figcaption{padding-top:14px}.memories-grid strong{display:block;font-size:13px}.memories-grid span{display:block;font-size:12px;margin-top:7px;color:#5b6049}@media(max-width:800px){.memories-grid{grid-template-columns:1fr}.memories-grid img{height:340px}.memories-heading h3{font-size:36px}}@media(max-width:520px){.memories-grid img{height:290px}}

/* Founder story and personal Invictus connection. */
.story-image{background-image:url('assets/founder/rich-mont-blanc.jpg');background-position:30% 65%}.founder-invictus-badge{display:flex;align-items:center;gap:18px;margin-top:25px;padding:15px 0;border-top:1px solid #ffffff30;text-decoration:none}.founder-invictus-badge img{width:82px;height:82px;object-fit:contain}.founder-invictus-badge span{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#eee6d2}.founder-invictus-badge small{display:block;font-size:10px;font-weight:400;letter-spacing:.5px;margin-top:8px;color:#c8c5ac}.founder-story-link{color:#eee6d2;margin-top:0}@media(max-width:1400px){header nav{display:none;position:absolute;top:100%;left:0;right:0;background:#111210;padding:20px 6%;flex-direction:column;align-items:stretch;border-top:1px solid #4b5031}header nav.is-open{display:flex}header nav a,header nav a:nth-child(-n+3){display:block;font-size:14px;padding:12px 0}header nav .nav-cta{padding:14px}.menu-toggle{display:flex;gap:16px;align-items:center;padding:12px 14px;border:1px solid #b2b394;background:transparent;color:var(--paper);cursor:pointer;font-size:12px}}

header .brand-roundel{width:132px;height:132px}
@media(max-width:800px){header .brand-roundel{width:100px;height:100px}}
@media(max-width:420px){header .brand-roundel{width:84px;height:84px}header .brand{gap:8px}header .brand span{font-size:15px}header .brand small{letter-spacing:.6px}}

/* Homepage banner: oversized brand mark and consistent brand orange. */
.home-page header{position:relative;background:#111210;color:var(--orange)}
.home-page header .brand-roundel{width:264px;height:264px}
.home-page header .brand small,.home-page header .menu-toggle{color:var(--orange)}
.home-page .hero{height:auto;max-height:none;min-height:850px;padding:65px 6% 120px;color:var(--orange)}
.home-page .hero-content{width:100%;margin:0 auto}
.home-page .hero h1,.home-page .hero h1 span,.home-page .hero p,.home-page .hero-bottom{color:var(--orange)}
.home-page .hero .button.secondary{color:var(--orange);border-color:var(--orange)}
@media(max-width:800px){.home-page header .brand-roundel{width:200px;height:200px}.home-page header .brand{gap:10px}.home-page header .brand span{font-size:18px}.home-page .hero{min-height:790px}}
@media(max-width:520px){.home-page header{padding:12px 5%;flex-wrap:wrap;gap:12px}.home-page header .brand{flex:1;flex-direction:column;align-items:flex-start}.home-page header .brand-roundel{width:168px;height:168px}.home-page header .brand span{font-size:16px}.home-page header .brand small{font-size:5px;letter-spacing:.5px}.home-page .hero-bottom{gap:15px;font-size:8px}.home-page .hero{padding-top:45px}}

/* Expanded community introduction, with a new Dolomites-inspired backdrop. */
.home-page .intro{position:relative;isolation:isolate;overflow:hidden;background:#eee6d2;gap:8%;grid-template-columns:1fr 1.1fr;padding-bottom:95px}
.home-page .intro:before{content:'';position:absolute;z-index:-1;inset:0;background:url('assets/intro-community-mountains.webp') 38% bottom/cover no-repeat;opacity:.38;pointer-events:none}
.home-page .intro:after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(238,230,210,.08),rgba(238,230,210,.65) 48%,rgba(238,230,210,.94) 70%),linear-gradient(0deg,rgba(238,230,210,.05),rgba(238,230,210,.1) 60%,rgba(238,230,210,.7));pointer-events:none}
.intro-purpose{font-family:'Barlow Condensed',sans-serif;text-transform:uppercase;font-size:30px;line-height:1.1;color:#a63d09;margin:40px 0 14px;max-width:350px}
.intro-aside{max-width:290px;color:#4b5031;font-size:16px;line-height:1.65}
.intro-more{margin-top:30px;padding-top:28px;border-top:1px solid #4b503140}.intro-more h3{font-size:29px;line-height:1.1;color:#4b5031;margin:0 0 12px}.intro-more h3:not(:first-child){margin-top:27px}.intro-copy p{max-width:620px}.intro-copy .text-link{margin-right:18px}.intro-copy .code-link{margin-left:0}
@media(max-width:800px){.home-page .intro{grid-template-columns:1fr;gap:30px;padding-bottom:65px}.intro-purpose{margin-top:28px}.intro-aside{max-width:100%}.home-page .intro:before{background-position:35% bottom;opacity:.24}.home-page .intro:after{background:linear-gradient(0deg,rgba(238,230,210,.7),rgba(238,230,210,.6) 65%,#eee6d2)}.intro-copy .text-link{margin-right:15px}}

/* Adventure introduction follows its heading; an unused community Alpine photo adds depth. */
.home-page .adventures{position:relative;isolation:isolate;overflow:hidden;padding-top:75px;background:#eee6d2}
.home-page .adventures:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('assets/adventures-alpine-panorama.webp') center 45%/cover no-repeat;opacity:.25}
.home-page .adventures:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(238,230,210,.88),rgba(238,230,210,.45) 55%,rgba(238,230,210,.12)),linear-gradient(0deg,rgba(238,230,210,.8),transparent 40%,rgba(238,230,210,.15))}
.adventures .section-top{display:block;margin-bottom:40px}.adventures .section-top>div{max-width:100%}.adventures .section-top .adventures-introduction{max-width:850px;margin:28px 0 0;font-size:16px;line-height:1.8;text-align:left;text-wrap:pretty}.adventures>.note{color:#464e3b;max-width:900px}
@media(max-width:800px){.home-page .adventures{padding-top:60px}.adventures .section-top .adventures-introduction{font-size:15px;margin-top:24px}.home-page .adventures:before{opacity:.2}.home-page .adventures:after{background:rgba(238,230,210,.6)}}

/* Bring the Alpine skyline into the open space above the adventure cards. */
.home-page .adventures:before{inset:0 0 auto;height:570px;background-position:center 60%;opacity:.62}
.home-page .adventures:after{background:linear-gradient(90deg,#eee6d2f5 0%,#eee6d2e6 28%,#eee6d299 57%,#eee6d21a 100%),linear-gradient(0deg,#eee6d2 0%,#eee6d2 42%,transparent 72%)}
@media(max-width:800px){.home-page .adventures:before{height:650px;background-position:60% center;opacity:.4}.home-page .adventures:after{background:linear-gradient(90deg,#eee6d2d9,#eee6d299),linear-gradient(0deg,#eee6d2 20%,transparent 75%)}}
.home-page .adventures:after{inset:0 0 auto;height:570px;background:linear-gradient(90deg,#eee6d2f5 0%,#eee6d2e6 28%,#eee6d299 57%,#eee6d21a 100%),linear-gradient(0deg,#eee6d2,transparent 35%)}
@media(max-width:800px){.home-page .adventures:after{height:650px;background:linear-gradient(90deg,#eee6d2d9,#eee6d299),linear-gradient(0deg,#eee6d2,transparent 40%)}}

/* Shared moments: left-aligned introduction, six photographs and an evening backdrop. */
.home-page .field-notes{position:relative;isolation:isolate;overflow:hidden;background:#eee6d2}
.home-page .field-notes:before{content:'';position:absolute;z-index:-1;inset:0 0 auto;height:560px;background:url('assets/together-evening-mountains.webp') center 32%/cover no-repeat;opacity:.5;pointer-events:none}
.home-page .field-notes:after{content:'';position:absolute;z-index:-1;inset:0 0 auto;height:560px;background:linear-gradient(90deg,#eee6d2ed,#eee6d2c9 45%,#eee6d24d),linear-gradient(0deg,#eee6d2,transparent 45%);pointer-events:none}
.field-notes .section-top{display:block;margin-bottom:40px}.field-notes .section-top .together-introduction{max-width:850px;margin:28px 0 0;font-size:16px;line-height:1.8;text-align:left;text-wrap:pretty}
.field-notes .own-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 22px}.field-notes .own-grid img{height:330px}.field-notes .own-grid figcaption{color:#454b37;line-height:1.6}.field-notes .own-grid figure:nth-child(6) img{object-position:center 45%}
@media(max-width:800px){.field-notes .own-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}.field-notes .own-grid figure:first-child{grid-column:auto}.field-notes .own-grid img{height:280px}.field-notes .section-top .together-introduction{font-size:15px}.home-page .field-notes:before,.home-page .field-notes:after{height:640px}}
@media(max-width:520px){.field-notes .own-grid{grid-template-columns:1fr}.field-notes .own-grid img,.field-notes .own-grid figure:first-child img{height:310px}}

/* Centre the captions in the six-photo community section. */
.field-notes .own-grid figcaption{text-align:center}

/* Upcoming adventures calendar. */
.events-section{position:relative;isolation:isolate;overflow:hidden;background:#eee6d2}
.events-section:before{content:'';position:absolute;z-index:-1;inset:0;background:url('assets/together-evening-mountains.webp') center/cover no-repeat;opacity:.3;pointer-events:none}
.events-section:after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#eee6d2d9,#eee6d280),linear-gradient(0deg,#eee6d2b3,transparent);pointer-events:none}
.events-intro>p{max-width:760px;font-size:16px;margin:28px 0 40px}.events-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:30px;align-items:start}.events-calendar{background:#f6f1e5ed;border:1px solid #4b50314d;padding:28px}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.calendar-toolbar h3{font-size:36px;line-height:1.1;color:#4b5031}.calendar-controls{display:flex;gap:8px;flex-shrink:0}.calendar-controls button{border:1px solid #4b503159;background:transparent;color:#4b5031;min-height:40px;min-width:40px;padding:8px 12px;cursor:pointer;font-size:12px;font-weight:700}.calendar-controls button:hover{background:#4b5031;color:#fff}.events-calendar table{width:100%;border-collapse:collapse;table-layout:fixed}.events-calendar th{font-size:11px;letter-spacing:1px;color:#4b5031;text-transform:uppercase;padding:10px 2px}.events-calendar td{height:76px;vertical-align:top;border:1px solid #4b50312e;padding:9px 7px;font-size:13px}.events-calendar time{display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center}.calendar-current time{background:#bd450a;color:white;border-radius:50%;font-weight:700}.events-calendar .calendar-blank{background:#4b503107}.calendar-event{display:block;background:#4b5031;color:#fff;padding:5px;margin-top:5px;font-size:10px;line-height:1.4;text-decoration:none;overflow-wrap:anywhere}.calendar-key{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:10px;color:#4b5031;margin:20px 0 0}.calendar-key>span{width:9px;height:9px;background:#bd450a;border-radius:50%}.calendar-key .event-key{background:#4b5031;border-radius:0;margin-left:15px}.events-agenda{background:#111210ef;color:#eee6d2;padding:32px;border-top:4px solid #4b5031}.events-agenda>.eyebrow{color:#b2b394;font-size:9px;margin-bottom:18px}.events-agenda h3{font-size:40px}.events-agenda p{color:#d2cfbc;font-size:14px}.events-agenda .text-link{color:#eee6d2}.events-agenda .events-small{font-size:12px;border-top:1px solid #ffffff26;padding-top:20px;margin-top:25px}.events-agenda article{border-bottom:1px solid #ffffff26;padding:22px 0}.events-agenda h4{font-family:'Barlow Condensed',sans-serif;font-size:28px;text-transform:uppercase;line-height:1.1;margin:8px 0}.events-agenda .event-date{font-size:11px;color:#e58b4e;margin:0}.events-agenda .event-location{font-size:12px}.events-agenda article:last-child{border-bottom:0}
@media(max-width:1000px){.events-layout{grid-template-columns:1fr}.events-agenda{max-width:none}}
@media(max-width:560px){.events-calendar{padding:16px 10px}.calendar-toolbar{align-items:flex-start;flex-direction:column;gap:16px}.calendar-toolbar h3{font-size:32px}.events-calendar td{height:58px;padding:5px 2px;font-size:12px}.events-calendar th{font-size:9px;letter-spacing:0}.calendar-event{font-size:9px;padding:3px}.events-agenda{padding:26px}.events-intro>p{font-size:15px}}
/* Keep the upcoming programme within easy reach alongside the month view. */
#events-list{max-height:550px;overflow:auto;padding-right:10px;scrollbar-color:#b2b394 #25271d;scrollbar-width:thin}.events-agenda .calendar-plans-note{border:0;padding:0;margin:16px 0 8px;font-size:12px}#events-list:focus-visible{outline:2px solid #e58b4e;outline-offset:5px}
@media(max-width:1000px){#events-list{max-height:650px}}

/* A clearer ghosted Helvellyn photograph from our own mountain days. */
.events-section{background:linear-gradient(90deg,rgba(238,230,210,.84),rgba(238,230,210,.65) 48%,rgba(238,230,210,.4)),url('assets/gallery/helvellyn-our-trip.jpg') center 27%/cover no-repeat}
.events-section:before,.events-section:after{display:none}
.events-calendar{background:#f6f1e5f2}
@media(max-width:560px){.events-section{background:linear-gradient(rgba(238,230,210,.72),rgba(238,230,210,.72)),url('assets/gallery/helvellyn-our-trip.jpg') center 28%/cover no-repeat}}

/* Bring the community code forward, with a ghosted photograph from our Alpine trip. */
.home-page .code-promo{background:linear-gradient(90deg,rgba(17,18,16,.9),rgba(35,39,24,.72) 50%,rgba(17,18,16,.58)),url('assets/adventures-alpine-panorama.webp') center 55%/cover no-repeat;color:#eee6d2}
.home-page .code-promo p{color:#eee6d2}
@media(max-width:800px){.home-page .code-promo{background:linear-gradient(rgba(17,18,16,.78),rgba(17,18,16,.74)),url('assets/adventures-alpine-panorama.webp') center/cover no-repeat}}

/* Give the homepage Ten Commandments artwork a larger share of the section. */
.home-page .code-promo{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:6%}
.home-page .code-promo>a{display:block;width:100%}
.home-page .code-promo>a>img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
@media(max-width:800px){.home-page .code-promo{grid-template-columns:1fr;gap:35px}.home-page .code-promo>a>img{max-height:none}}

/* Hillary's words belong with the homepage founder introduction. */
.homepage-founder-quote{grid-column:1/-1;border-top:1px solid #eee6d240;padding-top:35px;margin-top:5px;text-align:center}.homepage-founder-quote .eyebrow{color:#b2b394}.homepage-founder-quote blockquote{margin:0 auto;max-width:950px}.homepage-founder-quote blockquote>p{font-family:'Barlow Condensed',sans-serif;font-size:clamp(32px,4vw,54px);line-height:1.15;color:#eee6d2;margin:22px 0}.homepage-founder-quote blockquote>footer{padding:0;background:transparent;color:#eee6d2}.homepage-founder-quote cite{font-style:normal;font-size:14px;display:block}.homepage-founder-quote blockquote>footer>a{display:inline-block;font-size:10px;margin-top:12px;color:#c8c5ac}

/* The founder's homepage introduction opens with Hillary's words. */
.home-page .story .founder-quote-heading{font-size:clamp(40px,4.5vw,64px);line-height:1.06;text-wrap:balance}
.home-page .story .founder-quote-attribution{font-size:13px;color:#e58b4e;margin:18px 0 28px}

/* Enlarge the Invictus mark and blend away its image's black surround. */
.founder-invictus-badge{background:transparent;border:0;gap:24px}
.founder-invictus-badge img{width:150px;height:150px;mix-blend-mode:screen;background:transparent;flex-shrink:0}
@media(max-width:520px){.founder-invictus-badge{gap:16px}.founder-invictus-badge img{width:120px;height:120px}}

/* Homepage Our Story: Rich seated on the summit of Tryfan. */
.home-page .story-image{background-image:url('assets/founder/rich-tryfan-summit.jpg');background-position:75% center;background-size:cover}
.events-intro>p:first-of-type{margin-bottom:16px}.events-intro>.calendar-update-note{margin:0 0 40px;font-size:14px;font-weight:500;color:#4b5031;max-width:760px}

/* Balanced diary heading and matching introductory copy. */
.events-heading-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,28%);align-items:center;gap:6%}
.events-motto{display:block;width:100%;max-width:300px;height:auto;justify-self:end}
.events-intro>.calendar-update-note{font-size:16px;font-weight:400;color:var(--ink);line-height:1.75}
@media(max-width:800px){.events-heading-row{grid-template-columns:1fr;gap:24px}.events-motto{width:210px;max-width:65%;justify-self:start}.events-intro>.calendar-update-note{font-size:15px}}
.events-motto{padding:18px;background:rgba(17,18,16,.88)}

/* A fuller-width community ribbon with brand-orange circular bullets. */
.home-page .ribbon{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 5%;font-family:'Barlow Condensed',sans-serif;font-size:clamp(19px,2vw,30px);font-weight:600;line-height:1.2;letter-spacing:1px}
.home-page .ribbon span{display:flex;align-items:center;gap:14px;white-space:nowrap}
.home-page .ribbon span:before{content:'';display:block;width:12px;height:12px;border-radius:50%;background:var(--orange);flex:0 0 12px;margin:0}
@media(max-width:1000px){.home-page .ribbon{display:grid;grid-template-columns:1fr 1fr;gap:20px 24px;font-size:24px}.home-page .ribbon span{white-space:normal}}
@media(max-width:520px){.home-page .ribbon{font-size:19px;padding:24px 6%;gap:20px 15px;letter-spacing:.5px}.home-page .ribbon span{gap:10px}.home-page .ribbon span:before{width:10px;height:10px;flex-basis:10px}}

/* Keep the homepage introduction on two balanced lines on larger screens. */
.hero p.hero-introduction{max-width:700px}
.hero-introduction span{display:block}
@media(max-width:760px){.hero-introduction span{display:inline}}

.founder-invictus-badge>a{display:block;flex-shrink:0}
.invictus-foundation-link{display:inline-block;margin-top:14px;color:#eee6d2;font-size:12px;line-height:1.6;text-underline-offset:4px}
.invictus-foundation-link:hover{color:#e58b4e}

/* Lead the homepage code section with its heading, followed by people and principles. */
.home-page .code-promo{display:block}
.code-promo-heading{margin-bottom:35px}.code-promo-heading h2{font-size:clamp(44px,5.2vw,74px)}
.home-page .code-promo-heading p{max-width:850px;margin:24px 0 0}
.code-promo-content{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:32px;align-items:start}
.code-group-photos{display:grid;gap:22px}.code-group-photos figure{margin:0}
.home-page .code-group-photos img{display:block;width:100%;height:auto;aspect-ratio:16/9;max-height:none;object-fit:cover}
.home-page .code-group-photos figure:first-child img{object-position:center 72%}
.code-group-photos figcaption{text-align:center;font-size:12px;line-height:1.5;padding-top:9px;color:#d2cfbc}
.code-artwork{display:block}.home-page .code-artwork img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.home-page .code-promo>.button{display:inline-flex;width:auto;margin-top:30px}
@media(max-width:800px){.code-promo-content{grid-template-columns:1fr}.code-artwork{grid-row:1}.code-group-photos{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.home-page .code-group-photos img{aspect-ratio:4/3}.code-group-photos figcaption{font-size:11px}}
@media(max-width:560px){.code-group-photos{grid-template-columns:1fr}.home-page .code-group-photos img{aspect-ratio:16/9}}

/* Let the code introduction span the full section in one desktop line. */
.home-page .code-promo-heading p{max-width:none}
@media(min-width:1100px){.home-page .code-promo-heading p{white-space:nowrap;font-size:clamp(12px,1.05vw,15px)}}
