/* Shared English/Finnish homepage presentation. The shared hero,
   existing expedition cards and guide profiles keep their original styles. */
.home-section{padding:84px var(--gutter);scroll-margin-top:32px}
.home-section-inner{max-width:1440px;margin-inline:auto}
.home-section h2{font-size:clamp(2.8rem,4.6vw,4.6rem);line-height:1.09;margin:0 0 24px}
.home-section h3,.home-essentials h3{font-family:Georgia,'Times New Roman',serif;font-weight:700;text-transform:none;letter-spacing:0}
.home-section img{display:block;max-width:100%}
.home-intro{font-size:clamp(1.125rem,1.5vw,1.4rem);line-height:1.6;margin:0;color:var(--dark-green)}
.home-overline{margin:0 0 20px;font:600 14px/1.5 Arial,sans-serif;letter-spacing:.15em;text-transform:uppercase}
.home-rule-label{display:flex;align-items:center;gap:16px;color:var(--green)}
.home-rule-label:after{content:'';height:1px;flex:1;background:var(--rule)}
.home-button{gap:20px;min-height:60px;width:max-content;max-width:100%;padding:18px 26px;border-radius:3px;text-decoration:none;font-size:18px;line-height:1.4;text-align:center}
.home-button span{font-family:Arial,sans-serif;font-size:23px;line-height:1;flex-shrink:0}

/* Separate the cream hero edge from the dark green essentials background. */
.home-essentials{position:relative;isolation:isolate;overflow:hidden;padding:72px var(--gutter) 80px;color:var(--cream);background:var(--dark-green)}
.home-essentials .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}
.home-essentials-forest{position:absolute;z-index:-1;inset:-20px;opacity:.35;mask-image:none;-webkit-mask-image:none;pointer-events:none}
.home-essentials-forest img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 58%;filter:blur(4.9px)}
.home-essential-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.home-essential-facts article{min-width:0;padding:0 30px;text-align:center}
.home-essential-facts article+article{border-left:1px solid #f1ebe44d}
.home-essential-facts svg{display:block;width:70px;height:70px;margin:0 auto 24px}
.home-essential-facts h3{font-size:clamp(1.25rem,1.8vw,1.65rem);line-height:1.3;margin:0 0 14px;color:inherit}
.home-essential-facts p{max-width:27ch;margin:0 auto;font-size:clamp(1.125rem,1.5vw,1.35rem);line-height:1.55}

.home-flagship{padding-top:34px;padding-bottom:88px}
.home-flagship-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(30px,4vw,64px);align-items:center}
.home-flagship-photo{margin:0;align-self:stretch;min-height:500px;border-radius:10px;overflow:hidden}
.home-flagship-photo picture{display:block;width:100%;height:100%}
.home-flagship-photo img{width:100%;height:100%;object-fit:cover;object-position:48% 50%}
.home-flagship-copy{min-width:0;padding-block:0 30px}
.home-flagship .home-overline{margin-bottom:24px}
.home-flagship h2{font-size:clamp(2.6rem,4vw,4.3rem)}
.home-flagship-facts{list-style:none;padding:0;margin:30px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.home-flagship-facts li{display:flex;align-items:center;gap:14px;min-width:0;padding:20px 14px;font-size:18px;line-height:1.45;color:var(--dark-green)}
.home-flagship-facts li:nth-child(odd){padding-left:0;border-right:1px solid var(--rule)}
.home-flagship-facts li:nth-child(-n+2){border-bottom:1px solid var(--rule)}
.home-flagship-facts svg{width:32px;height:32px;flex:0 0 32px;color:var(--green)}
.home-flagship .home-button{width:100%}

.home-arrangements{padding-top:72px;padding-bottom:96px}
.home-arrangements-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:'copy steps' 'cta steps';gap:28px 60px;align-items:start}
.home-arrangements-copy{grid-area:copy}
.home-arrangements-copy h2{max-width:none}
.home-short-rule{width:54px;height:1px;background:var(--green);margin:24px 0}
.home-arrangements-promise{font-weight:700;text-transform:uppercase;color:#203a2f;font-size:clamp(1.25rem,2vw,1.8rem);line-height:1.3;margin:0 0 20px;max-width:27ch}
.home-arrangements-cta{grid-area:cta;align-self:end}
.home-planning-steps{grid-area:steps;list-style:none;padding:0 0 0 36px;margin:0;border-left:1px solid var(--rule)}
.home-planning-steps li{display:grid;grid-template-columns:98px minmax(0,1fr);gap:20px;padding:28px 0}
.home-planning-steps li:first-child{padding-top:0}
.home-planning-steps li:last-child{padding-bottom:0}
.home-planning-steps li+li{border-top:1px solid var(--rule)}
.home-step-marker{display:flex;align-items:flex-start;gap:12px;color:var(--green);border-right:1px solid var(--rule);padding-right:14px}
.home-step-marker span{display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:var(--green);color:var(--cream);font-size:17px;font-weight:700}
.home-step-marker svg{width:38px;height:38px;flex:0 0 38px;margin-top:16px}
.home-planning-steps h3{font-size:clamp(1.25rem,1.9vw,1.65rem);line-height:1.3;color:#203a2f;margin:0 0 12px}
.home-planning-steps p{margin:0;font-size:clamp(1.125rem,1.5vw,1.35rem);line-height:1.55;color:var(--dark-green)}

.home-feedback{background:var(--dark-green);color:var(--cream);padding-block:90px}
.home-feedback-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.45fr);grid-template-areas:'heading quotes' 'cta quotes';gap:28px 48px;align-items:start}
.home-feedback-heading{grid-area:heading;padding-top:18px}
.home-feedback h2{color:var(--cream);font-size:clamp(2.9rem,5vw,5rem);max-width:12ch;margin-bottom:0}
.home-feedback .home-overline{margin-bottom:22px}
.home-feedback-quotes{grid-area:quotes;border-left:1px solid #f1ebe45c;padding-left:48px}
.home-feedback-quotes figure{margin:0;padding-block:18px 28px}
.home-feedback-quotes figure+figure{border-top:1px solid #f1ebe45c;padding-block:32px 18px}
.home-feedback blockquote{margin:0;font-size:clamp(1.5rem,2.6vw,2.35rem);line-height:1.45}
.home-feedback blockquote p{margin:0}
.home-feedback figcaption{margin-top:22px;font-size:clamp(1.05rem,1.5vw,1.35rem);line-height:1.5}
.home-feedback-cta{grid-area:cta;background:var(--cream);color:var(--dark-green);border-color:var(--cream);align-self:start;font-size:17px}
.home-feedback-cta:hover{background:white;opacity:1}
.home-feedback-cta:focus-visible{outline-color:var(--cream)}

.home-oulu{padding-block:40px 90px}
.home-oulu-panel{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.25fr) auto;align-items:center;gap:32px;border:1px solid var(--green);padding:16px}
.home-oulu-photo{width:100%;height:100%;min-height:240px;aspect-ratio:1.6;object-fit:cover;object-position:55% center}
.home-oulu-copy{min-width:0;padding-block:14px}
.home-oulu-copy .home-overline{font-size:13px;margin-bottom:20px}
.home-oulu h2{font-size:clamp(2.5rem,3.4vw,3.7rem);margin-bottom:16px}
.home-oulu-copy>p:last-child{margin:0;color:var(--dark-green);font-size:clamp(1.125rem,1.4vw,1.35rem);line-height:1.55}
.home-oulu .home-button{font-size:17px;margin-right:8px;padding-inline:22px;gap:18px}

@media(max-width:1100px){
 .home-essential-facts article{padding-inline:22px}
 .home-flagship-grid{gap:30px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .home-flagship-facts li{font-size:17px;gap:10px;padding-inline:10px}
 .home-arrangements-grid{gap:28px 32px}
 .home-planning-steps{padding-left:26px}
 .home-planning-steps li{grid-template-columns:80px minmax(0,1fr);gap:16px}
 .home-step-marker{gap:7px;padding-right:8px}
 .home-step-marker svg{width:32px;height:32px;flex-basis:32px}
 .home-feedback-grid{gap:28px 32px;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)}
 .home-feedback-quotes{padding-left:32px}
 .home-oulu-panel{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:24px;grid-template-areas:'photo copy' 'photo cta'}
 .home-oulu-photo{grid-area:photo}
 .home-oulu-copy{grid-area:copy;padding-bottom:0}
 .home-oulu .home-button{grid-area:cta;margin:0 0 6px}
}
@media(max-width:800px){
 .home-section{padding-block:60px}
 .home-section h2{font-size:clamp(2.7rem,7vw,3.7rem)}
 .home-flagship{padding-top:20px}
 .home-flagship-grid{grid-template-columns:minmax(0,1fr);gap:30px}
 .home-flagship-photo{order:2;min-height:0;aspect-ratio:3/2}
 .home-flagship-copy{padding:0}
 .home-flagship-facts li{padding-block:20px;font-size:18px}
 .home-flagship-facts li:nth-child(even){padding-left:20px}
 .home-arrangements-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:'copy' 'steps' 'cta';gap:36px}
 .home-arrangements-copy h2{max-width:15ch}
 .home-planning-steps{padding-left:0;border-left:0}
 .home-planning-steps li{grid-template-columns:94px minmax(0,1fr);gap:22px;padding-block:26px}
 .home-step-marker svg{width:38px;height:38px;flex-basis:38px}
 .home-planning-steps h3{font-size:23px}
 .home-feedback-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:'heading' 'quotes' 'cta';gap:30px}
 .home-feedback-heading{padding-top:0}
 .home-feedback h2{max-width:none}
 .home-feedback-quotes{padding:0;border-left:0}
 .home-feedback blockquote{font-size:clamp(1.5rem,4vw,1.85rem)}
 .home-feedback figcaption{font-size:18px}
 .home-feedback-quotes figure:first-child{padding-top:0}
 .home-feedback-cta{width:100%;margin-top:4px}
}
@media(max-width:640px){
 .home-section{padding-inline:6vw}
 .home-intro{font-size:18px;line-height:1.6}
 .home-overline{font-size:12px}
 .home-button{width:100%;min-height:58px;padding:16px 18px;font-size:17px;gap:14px}
 .home-essentials{padding:48px 6vw 52px}
 .home-essentials-forest{opacity:.28}
 .home-essential-facts{grid-template-columns:minmax(0,1fr)}
 .home-essential-facts article{display:flex;flex-direction:column;align-items:center;gap:16px;padding:24px 0;text-align:center}
 .home-essential-facts article+article{border-left:0;border-top:1px solid #f1ebe44d}
 .home-essential-facts article:first-child{padding-top:0}
 .home-essential-facts article:last-child{padding-bottom:0}
 .home-essential-facts svg{width:49px;height:49px;margin:0 auto}
 .home-essential-facts h3{font-size:21px;line-height:1.35;margin-bottom:10px}
 .home-essential-facts p{font-size:18px;line-height:1.55;max-width:none;margin:0}
 .home-flagship h2{font-size:clamp(2.45rem,10.8vw,3.3rem)}
 .home-flagship-facts{margin-block:26px}
 .home-flagship-facts li{font-size:16px;gap:10px}
 .home-flagship-facts li:nth-child(even){padding-left:14px}
 .home-flagship-facts svg{width:27px;height:27px;flex-basis:27px}
 .home-arrangements-promise{font-size:23px}
 .home-planning-steps li{grid-template-columns:74px minmax(0,1fr);gap:18px}
 .home-step-marker{gap:8px;flex-direction:column;padding-right:14px}
 .home-step-marker svg{width:38px;height:38px;flex-basis:38px;margin-top:0}
 .home-planning-steps h3{font-size:21px}
 .home-planning-steps p{font-size:18px}
 .home-feedback h2{font-size:clamp(2.9rem,12vw,3.6rem)}
 .home-feedback blockquote{font-size:25px;line-height:1.45}
 .home-feedback-quotes figure+figure{padding-top:26px}
 .home-feedback figcaption{font-size:17px;margin-top:18px}
 .home-oulu{padding-top:28px}
 .home-oulu-panel{grid-template-columns:minmax(0,1fr);grid-template-areas:'photo' 'copy' 'cta';padding:12px;gap:22px}
 .home-oulu-photo{min-height:0;aspect-ratio:3/2}
 .home-oulu-copy{padding:0}
 .home-oulu h2{font-size:clamp(2.45rem,10.8vw,3rem)}
 .home-oulu-copy>p:last-child{font-size:18px}
 .home-oulu-copy .home-overline{font-size:12px;margin-bottom:16px}
 .home-oulu .home-button{margin:0;font-size:17px}
}
@media(prefers-reduced-motion:reduce){.home-section .home-button{transition:none}.home-section .home-button:hover{transform:none}}

/* Homepage phone layout only. Keep every desktop/tablet rule above intact. */
@media(max-width:640px){
 /* Extend the photo beyond the first visible screen, including Safari's
    translucent toolbar area. Keep the CTA within the small viewport;
    the extra height belongs below it instead of pushing it out of view. */
 .hero-private{
  --home-hero-extra:96px;
  min-height:calc(100vh + 96px);
  min-height:calc(100svh + var(--home-hero-extra));
  padding:clamp(88px,13svh,112px) 6vw calc(var(--home-hero-extra) + max(32px,env(safe-area-inset-bottom)));
 }
 @supports(height:100lvh){
  .hero-private{--home-hero-extra:max(96px,calc(100lvh - 100svh))}
 }
 .hero-private .hero-copy{
  flex:1 1 auto;
  min-height:0;
  padding-bottom:0;
  grid-template-rows:auto auto minmax(108px,1fr);
 }
 .hero-private .hero-buttons{padding-top:40px}
 .hero-private .hero-buttons .button{max-width:100%;white-space:normal}

 /* Flatten only the non-semantic copy wrapper on phones: one heading,
    then the existing photo, introduction, facts and link. No duplicate copy. */
 .home-flagship-grid{gap:24px}
 .home-flagship-copy{display:contents}
 .home-flagship-copy h2{grid-row:1;margin:0}
 .home-flagship-photo{grid-row:2;order:0;aspect-ratio:4/3;border-radius:10px}
 .home-flagship-copy .home-intro{grid-row:3}
 .home-flagship-facts{grid-row:4;margin:0}
 .home-flagship-copy .home-button{grid-row:5}

 #expeditions .expedition-grid{
  grid-template-columns:minmax(0,1fr);
  gap:24px;
  align-items:stretch;
  padding-block:12px;
 }
 #expeditions .expedition-card{
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
  gap:16px;
  align-items:stretch;
  padding:0 0 24px;
  border-bottom:1px solid var(--rule);
 }
 #expeditions .expedition-card:last-child{padding-bottom:0;border-bottom:0}
 #expeditions .expedition-image{position:relative;min-height:220px;height:100%;aspect-ratio:auto;border-radius:9px}
 #expeditions .expedition-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
 #expeditions .expedition-card:nth-child(2) .expedition-image img{object-position:55% center}
 #expeditions .expedition-card:nth-child(3) .expedition-image img{object-position:80% center}
 #expeditions .expedition-content{min-width:0;padding:2px 0}
 #expeditions .expedition-meta{align-items:flex-start;gap:6px;min-height:0;font-size:12px;line-height:1.3;letter-spacing:.025em}
 #expeditions .expedition-meta svg{width:18px;height:18px;flex-basis:18px}
 #expeditions .expedition-meta span{min-width:0}
 #expeditions .expedition-card h3{font-size:clamp(22px,5.8vw,28px);line-height:1.15;overflow-wrap:break-word}
 #expeditions .card-line{width:28px;height:2px;margin-block:12px}
 /* Show every description in full; each grid row grows with its content. */
 #expeditions .expedition-card p{font-size:15px;line-height:1.45;margin-bottom:14px}
 #expeditions .expedition-link{justify-content:space-between;width:100%;min-height:44px;gap:6px;font-size:13px;line-height:1.4;letter-spacing:.025em}
 #expeditions .expedition-link span{flex-shrink:0;font-size:20px}
}
