/* Keep photo geometry and typography stable as mobile browser controls collapse.
   svh still adapts to a real viewport change, including screen rotation. */
.hero-renewed{
  --hero-space:clamp(14px,2.4svh,32px);
  position:relative;isolation:isolate;width:100%;max-width:none;margin:0;
  height:calc(100vh - var(--header-height));height:calc(100svh - var(--header-height));
  min-height:0;padding:var(--hero-space) var(--frame);
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);grid-template-rows:minmax(0,1fr);
  gap:clamp(24px,4vw,80px);align-items:stretch;
}
.hero-renewed .hero-content{min-height:0;height:100%;padding:0;justify-content:center;max-width:920px;justify-self:center}
/* Long translations and enlarged text must stay inside their controls. */
.hero-renewed h1,.hero-renewed .hero-content>p,.hero-renewed .hero-actions>a,.hero-renewed .hero-discover{overflow-wrap:anywhere}
.hero-renewed .eyebrow{font-size:clamp(10px,.8vw,13px);line-height:1.5;margin-bottom:clamp(12px,2.5svh,30px);max-width:none}
.hero-renewed h1{font-size:clamp(42px,min(5.8vw,10.6svh),140px);line-height:1.03;max-width:100%}
.hero-renewed h1 em{font-size:.63em;line-height:1.16;margin-top:clamp(8px,1.8svh,20px);max-width:none}
.hero-renewed .hero-content>p:not(.eyebrow){font-size:clamp(16px,min(1.35vw,2.2svh),23px);line-height:1.65;max-width:640px;margin-top:clamp(14px,2.5svh,30px)}
.hero-renewed .hero-actions{flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px 24px;margin-top:clamp(16px,2.8svh,32px)}
.hero-renewed .hero-actions>.button{padding:15px 20px;min-height:50px}
.hero-renewed .hero-text-link{padding-block:9px;min-height:44px}
.hero-renewed .hero-discover{margin-top:clamp(12px,2.6svh,30px);min-height:36px}
.hero-renewed .hero-media{min-height:0;height:100%;padding:0;grid-template-rows:minmax(0,1fr) auto;gap:12px}
.hero-renewed .hero-photo-frame{min-height:0;height:100%}
.hero-renewed .hero-photo-info{padding:60px 22px 20px;gap:14px;flex-direction:row;flex-wrap:wrap;align-items:flex-end}
.hero-renewed .hero-photo-info>div:first-child{flex:1 1 220px}
.hero-renewed .hero-photo-info .hero-photo-caption{display:grid;font-size:14px;line-height:1.5;margin-top:5px;max-width:330px;overflow-wrap:anywhere}
.hero-renewed .hero-photo-caption>span{grid-area:1/1;min-width:0}
.hero-renewed .hero-caption-reserve{visibility:hidden;pointer-events:none;user-select:none}
.hero-renewed .hero-photo-tabs button{height:clamp(44px,6.2svh,64px);width:clamp(68px,7vw,100px)}
.hero-renewed .hero-photo-info .slider-controls{align-self:auto}
.hero-renewed .hero-autoplay-toggle{display:grid;place-items:center;padding:0}
.hero-renewed .hero-autoplay-toggle svg{width:16px;height:16px}
@media(min-width:1800px){
  .hero-renewed{--frame:clamp(48px,4vw,140px);gap:5vw}
  .hero-renewed .hero-actions .button,.hero-renewed .hero-text-link{font-size:18px}
  .hero-renewed .hero-discover{font-size:16px}
}
@media(max-width:1100px) and (orientation:portrait){
  .hero-renewed{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:20px}
  .hero-renewed .hero-content{height:auto;max-width:none;display:grid;grid-template-columns:minmax(0,1fr);align-content:center}
  .hero-renewed .eyebrow{margin-bottom:14px;font-size:11px}
  .hero-renewed h1{font-size:clamp(46px,7.8vw,80px)}
  .hero-renewed h1 em{font-size:.6em;margin-top:8px}
  .hero-renewed .hero-content>p:not(.eyebrow){max-width:800px;font-size:17px;line-height:1.6;margin-top:16px}
  .hero-renewed .hero-actions{margin-top:18px;gap:12px 28px}
  .hero-renewed .hero-discover{margin-top:12px;justify-self:start}
  .hero-renewed .hero-media{grid-template-rows:minmax(0,1fr)}
  .hero-renewed .hero-photo-tabs{display:none}
}
@media(max-width:600px),(max-height:500px),(max-width:1100px) and (max-height:650px){
  .hero-renewed{
    --hero-space:clamp(12px,2.4svh,24px);
    /* Let short screens and enlarged text grow the section without clipping. */
    height:auto;min-height:calc(100vh - var(--header-height));min-height:calc(100svh - var(--header-height));
    padding:var(--hero-space) max(20px,env(safe-area-inset-right)) max(var(--hero-space),env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));
    grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(min-content,1fr) auto;gap:16px;
    background:var(--ink);color:var(--white);
  }
  .hero-renewed:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#102b238f,#102b2340),linear-gradient(0deg,#102b2366,transparent 50%)}
  .hero-renewed .hero-content,.hero-renewed .hero-photo-info{text-shadow:0 1px 4px #102b2399}
  .hero-renewed .hero-actions>.button{text-shadow:none}
  .hero-renewed .hero-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:center;align-items:center;justify-content:start;gap:clamp(8px,1.8svh,18px) 18px;width:100%;max-width:560px;height:auto;grid-column:1;grid-row:1}
  .hero-renewed .eyebrow{grid-column:1/-1;color:#e7d4b9;font-size:10px;letter-spacing:.08em;line-height:1.5;margin:0}
  .hero-renewed h1{grid-column:1/-1;font-size:clamp(32px,min(12vw,7.7svh),64px);max-width:100%;margin:0}
  .hero-renewed h1 em{color:#e1e9d5;font-size:.65em;line-height:1.15;margin-top:8px}
  .hero-renewed .hero-content>p:not(.eyebrow){grid-column:1/-1;color:#f1f2e9;font-size:clamp(14px,2svh,18px);line-height:1.55;margin:0;max-width:none}
  .hero-renewed .hero-actions{display:contents}
  .hero-renewed .hero-actions>.button{grid-column:1/-1;background:var(--paper);color:var(--ink);font-size:14px;min-height:48px;padding:12px 16px;gap:12px;width:100%;justify-content:space-between}
  .hero-renewed .hero-actions>.button:hover{background:#e7e8db}
  .hero-renewed .hero-text-link{grid-column:1;font-size:13px;color:var(--white);border-color:#ffffff70;line-height:1.5;padding:6px 0;min-height:44px;gap:8px;justify-content:space-between;align-self:stretch}
  .hero-renewed .hero-discover{grid-column:2;font-size:13px;color:var(--white);line-height:1.5;margin:0;gap:8px;min-height:44px;justify-self:stretch;align-self:stretch}
  .hero-renewed .hero-discover span{width:28px;height:36px;border-color:#ffffff70;font-size:19px}
  .hero-renewed .hero-media,.hero-renewed .hero-photo-frame{display:contents}
  .hero-renewed .hero-media .hero-slides{position:absolute;inset:0;z-index:-2}
  .hero-renewed .hero-photo-tabs{display:none}
  .hero-renewed .hero-photo-info{grid-column:1;grid-row:2;width:100%;min-width:0;padding:12px 0 0;margin:0;background:none;border-top:1px solid #ffffff40;gap:12px;flex-wrap:nowrap;align-items:center;justify-content:space-between}
  .hero-renewed .hero-photo-label{font-size:9px;letter-spacing:.08em;line-height:1.5}
  .hero-renewed .hero-photo-info .hero-photo-caption{font-size:12px;line-height:1.45;margin-top:3px;max-width:280px}
  .hero-renewed .hero-photo-info .slider-controls{gap:8px;margin-left:auto}
  .hero-renewed .slider-controls button{width:44px;height:44px;flex:none}
  .hero-renewed .slide-progress{display:none}
}
@media(max-width:359px){
  .hero-renewed .hero-content{column-gap:12px}
  .hero-renewed .hero-text-link,.hero-renewed .hero-discover{font-size:12px}
  .hero-renewed .hero-discover span{width:24px}
  .hero-renewed .hero-actions>.button{font-size:13px;padding-inline:12px}
}
@media(max-height:650px) and (max-width:600px){
  .hero-renewed{gap:10px;--hero-space:12px}
  .hero-renewed .hero-content{row-gap:8px}
  .hero-renewed .eyebrow{font-size:9px;letter-spacing:.06em}
  .hero-renewed h1{font-size:clamp(30px,10vw,38px)}
  .hero-renewed h1 em{font-size:.7em;margin-top:5px}
  .hero-renewed .hero-content>p:not(.eyebrow){font-size:14px;line-height:1.45}
  .hero-renewed .hero-actions>.button{min-height:44px;padding-block:10px}
  .hero-renewed .hero-photo-info{padding-top:8px}
  .hero-renewed .hero-photo-label{display:none}
}
@media(max-height:500px) and (orientation:landscape),(max-width:1100px) and (max-height:650px) and (orientation:landscape){
  .hero-renewed{--hero-space:10px;gap:8px;padding-inline:max(24px,env(safe-area-inset-left)) max(24px,env(safe-area-inset-right))}
  .hero-renewed .hero-content{position:static;max-width:1400px;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;row-gap:8px}
  .hero-renewed .eyebrow{font-size:9px;line-height:1.4}
  .hero-renewed h1{grid-column:1;grid-row:2;font-size:clamp(28px,5vw,42px)}
  .hero-renewed h1 em{font-size:.61em;margin-top:4px}
  .hero-renewed .hero-content>p:not(.eyebrow){grid-column:2;grid-row:2;font-size:13px;line-height:1.45}
  .hero-renewed .hero-actions>.button{grid-column:1;grid-row:3;font-size:13px;min-height:44px;padding-block:8px}
  .hero-renewed .hero-text-link{grid-column:2;grid-row:3;font-size:13px;min-height:44px;justify-self:start}
  .hero-renewed .hero-discover{position:absolute;grid-column:auto;grid-row:auto;left:max(24px,env(safe-area-inset-left));bottom:max(10px,env(safe-area-inset-bottom));min-height:44px;font-size:12px;max-width:calc(100% - 160px)}
  .hero-renewed .hero-photo-info{width:auto;justify-self:end;padding:0;border:0;min-height:44px}
  .hero-renewed .hero-photo-info>div:first-child{display:none}
}
@media(max-height:300px),(max-height:479px) and (max-width:567px){
  .hero-renewed{height:auto;min-height:calc(100vh - var(--header-height));min-height:calc(100svh - var(--header-height));grid-template-rows:auto auto}
  .hero-renewed .hero-content{height:auto}
}
@media(max-width:567px) and (orientation:landscape){
  /* Narrow landscape views need room for complete labels as well as controls. */
  .hero-renewed .hero-content{grid-template-columns:minmax(0,1fr)}
  .hero-renewed h1,.hero-renewed .hero-content>p:not(.eyebrow),.hero-renewed .hero-actions>.button,.hero-renewed .hero-text-link,.hero-renewed .hero-discover{grid-column:1;grid-row:auto}
  .hero-renewed .hero-discover{position:static;max-width:100%;justify-self:start}
}
html:not(.js) .hero-renewed{height:auto;min-height:calc(100svh - var(--header-height))}
