/* One horizontal system for every chapter: 1280px canvas, 12 columns, shared gutters. */
:root{
  --paper:#f8f4e9;
  --sand:#e3eacf;
  --ink:#183e2b;
  --muted:#4d6654;
  --green:#194c32;
  --green-dark:#123d2d;
  --terra:#b34f18;
  --line:#c7d1b9;
  --chapter-ink:#173f2d;
  --chapter-paper:#f8f4e9;
  --chapter-line:#bdc9b3;
  --chapter-green:#e5ecd8;
  --chapter-green-card:#dce6cb;
  --orange:#b34f18;
  --orange-vivid:#dc7932;
  --orange-soft:#ffb477;
  --page-gutter:clamp(20px,4vw,64px);
  --chapter-space:clamp(84px,8vw,128px);
}
.container{
  width:min(1280px,calc(100% - var(--page-gutter) - var(--page-gutter)));
  margin-inline:auto;
}
.site-header,
.hero .hero-layout{
  padding-inline:max(var(--page-gutter),calc((100% - 1280px)/2));
}
.site-header{background:var(--paper);border-bottom:2px solid var(--orange-vivid)}
.site-header .brand{
  max-width:calc(100% - 90px);
  font-size:clamp(.88rem,1.2vw,1.08rem);
  line-height:1.12;
  letter-spacing:-.035em;
  text-transform:none;
  white-space:normal;
}
.hero .hero-panorama::after{background:linear-gradient(180deg,rgba(15,56,38,.02) 0%,rgba(15,56,38,.08) 30%,rgba(15,56,38,.58) 64%,rgba(12,49,34,.94) 100%)}
.hero .hero-panorama .hero-photo{filter:saturate(1.18) contrast(1.04)}
.hero .title-line:first-child{color:var(--orange-soft);font-size:.46em;letter-spacing:-.035em}
.hero .title-line:nth-child(2){color:#fff}
.hero .title-line:nth-child(3){color:var(--orange-soft)}
.hero .button-light{background:var(--orange);color:#fff}
.hero .button-light:hover,.hero .button-light:focus-visible{background:var(--orange-soft);color:var(--green-dark)}
.hero .light-link:hover,.hero .light-link:focus-visible{color:var(--orange-soft)}
.site-header .nav{gap:clamp(18px,2.4vw,38px)}
.site-header .nav a{font-size:.79rem}
.section-kicker{margin:0 0 24px;color:var(--orange);font-size:.85rem;letter-spacing:.08em;text-transform:none}
.story-copy h2,.arch-intro h2,.arch-tab-panel h3,.memory-content h2,.archive-v2 h2{
  font-family:'Bahnschrift','Arial Narrow','Segoe UI',Arial,sans-serif;
  font-weight:800;
  letter-spacing:-.065em;
  line-height:.97;
}

/* History: photo and text share the page columns; dates stay on the same outer edge. */
.story-v2{padding-block:var(--chapter-space);background:var(--chapter-paper);color:var(--chapter-ink)}
.story-v2-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:clamp(20px,3vw,48px);
  align-items:center;
  min-height:0;
}
.story-landscape{grid-column:1/8;position:relative;height:clamp(470px,48vw,680px);min-height:0;margin:0;overflow:hidden;border-bottom:7px solid var(--orange-vivid);background:#7e968e}
.story-landscape img{width:100%;height:100%;object-fit:cover;object-position:center}
.story-landscape::after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,rgba(13,34,29,.65));pointer-events:none}
.story-landscape figcaption{position:absolute;z-index:1;bottom:25px;left:25px;margin:0;color:#fff;font-size:.84rem;font-weight:600}
.story-copy{grid-column:9/-1;display:block;max-width:none;padding:0}
.story-copy h2{margin:0 0 31px;font-size:clamp(3.1rem,4.7vw,5.7rem)}
.story-copy p:not(.section-kicker){max-width:480px;margin:0 0 18px;font-size:1.05rem;line-height:1.65}
.story-copy p:last-child{margin-bottom:0}
.history-line{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  margin-top:clamp(52px,6vw,88px);
  padding:0;
  border-top:1px solid var(--chapter-line);
}
.history-line>div{display:block;min-width:0;padding:26px 30px 0;border-left:1px solid var(--chapter-line)}
.history-line>div:first-child{padding-left:0;border-left:0}
.history-line time{display:block;margin:0 0 13px;color:var(--orange);font-family:'Bahnschrift','Arial Narrow','Segoe UI',Arial,sans-serif;font-size:1.55rem;font-weight:800;line-height:1}
.history-line p{max-width:290px;margin:0;font-size:.9rem;line-height:1.5}

/* Architecture: a single aligned stage with a panel that ends on the right grid edge. */
.arch-showcase{padding-block:var(--chapter-space);background:var(--chapter-green);color:var(--chapter-ink)}
.arch-intro{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  align-items:end;
  gap:clamp(20px,3vw,48px);
  padding-bottom:clamp(42px,5vw,70px);
}
.arch-intro .section-kicker{grid-column:1/4;align-self:start;margin:6px 0 0}
.arch-intro h2{grid-column:4/10;max-width:680px;margin:0;font-size:clamp(3.3rem,4.6vw,5.8rem)}
.arch-intro>p:last-child{grid-column:10/-1;max-width:310px;margin:0 0 5px;font-size:1.04rem;line-height:1.55}
.arch-stage{
  position:relative;
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  align-items:center;
  gap:clamp(20px,3vw,48px);
  min-height:clamp(570px,50vw,720px);
  overflow:visible;
  background:transparent;
}
.arch-visual{grid-column:1/10;grid-row:1;position:relative;inset:auto;align-self:stretch;min-height:570px;overflow:hidden;background:#789088}
.arch-scene{position:absolute;inset:0;margin:0;opacity:0;transform:scale(1.035);transition:opacity .6s ease,transform 1.2s cubic-bezier(.19,1,.22,1)}
.arch-scene.is-active{opacity:1;transform:scale(1)}
.arch-scene img{width:100%;height:100%;object-fit:cover;object-position:center 47%}
.arch-scene[data-scene="jardins"] img{object-position:center 55%}
.arch-scene figcaption{position:absolute;left:22px;bottom:20px;width:max-content;max-width:calc(100% - 44px);padding:8px 12px;background:rgba(16,50,46,.85);color:#fff;font-size:.76rem;font-weight:650;line-height:1.2}
.arch-panel{
  grid-column:8/-1;
  grid-row:1;
  position:relative;
  z-index:1;
  width:auto;
  min-height:0;
  margin:0;
  padding:clamp(30px,4vw,58px);
  background:var(--green-dark);
  color:#fff;
  box-shadow:none;
  border-top:7px solid var(--orange-vivid);
}
.arch-tabs{display:flex;gap:28px;margin-bottom:40px;border-bottom:1px solid rgba(242,244,237,.32)}
.arch-tabs button{appearance:none;min-height:50px;margin:0 0 -1px;padding:0 0 13px;border:0;border-bottom:3px solid transparent;background:transparent;color:#cedbd3;font-size:.91rem;font-weight:700;cursor:pointer;transition:color .18s,border-color .18s}
.arch-tabs button[aria-selected="true"],.arch-tabs button:hover,.arch-tabs button:focus-visible{color:var(--orange-soft);border-bottom-color:var(--orange-soft)}
.arch-tab-panel[hidden]{display:none}
.arch-tab-panel:not([hidden]){animation:arch-panel-enter .38s cubic-bezier(.19,1,.22,1) both}
@keyframes arch-panel-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.arch-tab-panel h3{max-width:420px;margin:0 0 23px;font-size:clamp(2.8rem,3.5vw,4.3rem)}
.arch-tab-panel p{max-width:390px;margin:0;color:#deebe1;font-size:1rem;line-height:1.58}
.arch-explore{display:inline-block;margin-top:32px;padding-bottom:6px;border-bottom:1px solid var(--orange-soft);color:var(--orange-soft);font-size:.91rem;font-weight:700;text-decoration:none}
.arch-explore:hover,.arch-explore:focus-visible{color:#fff;border-bottom-color:#fff}

/* Memory uses the same column boundaries and section rhythm. */
.memory-v2{display:block;min-height:0;padding-block:var(--chapter-space);background:var(--green-dark);color:#fff}
.memory-v2-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:clamp(20px,3vw,48px);align-items:center}
.memory-content{grid-column:1/7;grid-row:1;display:block;padding:0}
.memory-visual{grid-column:8/-1;grid-row:1;position:relative;height:clamp(500px,48vw,690px);margin:0;overflow:hidden;border-left:7px solid var(--orange-vivid);background:#5e8075}
.memory-visual img{height:100%;width:100%;object-fit:cover;object-position:center 50%}
.memory-content .section-kicker{margin-bottom:28px;color:var(--orange-soft)}
.memory-content h2{max-width:720px;margin:0 0 31px;font-size:clamp(3.2rem,5vw,6rem)}
.memory-content>p:not(.section-kicker){max-width:570px;font-size:1.08rem;line-height:1.6}
.memory-content .memory-callout{margin:10px 0 46px;color:var(--orange-soft);font-family:var(--serif);font-size:clamp(1.5rem,2.4vw,2.3rem)!important;font-style:italic}
.heritage-note{display:grid;grid-template-columns:minmax(130px,.4fr) 1fr;gap:26px;max-width:680px;padding-top:24px;border-top:1px solid rgba(225,236,228,.35)}
.heritage-note strong{color:var(--orange-soft);font-size:.9rem;line-height:1.45}
.heritage-note p{margin:0;color:#d3e1d9;font-size:.86rem;line-height:1.55}

/* The collection and footer close on the same canvas edges. */
.archive-v2{padding-block:var(--chapter-space);background:var(--chapter-paper)}
.archive-v2 .archive-head,.archive-v2 .archive-head>div{display:block;max-width:none}
.archive-v2 .archive-head .section-kicker{margin-bottom:24px;color:var(--orange)}
.archive-v2 h2{max-width:850px;margin:0 0 25px;color:var(--chapter-ink);font-size:clamp(4rem,6.2vw,7rem)}
.archive-v2 .archive-head p:last-child{max-width:570px;margin:0;font-size:1.08rem;line-height:1.55}
.archive-v2 .filters{gap:11px;margin:48px 0 30px}
.archive-v2 .filter{padding:11px 18px;border-color:#aebfb4;background:transparent;color:var(--chapter-ink)}
.archive-v2 .filter.active,.archive-v2 .filter:hover,.archive-v2 .filter:focus-visible{border-color:var(--orange);background:var(--orange);color:#fff}
.archive-v2 .archive-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;grid-auto-flow:dense}
.archive-v2 .archive-card{background:var(--chapter-green-card);box-shadow:none}
.archive-v2 .archive-card:nth-child(1),.archive-v2 .archive-card:nth-child(6),.archive-v2 .archive-card:nth-child(15){grid-column:span 2}
.archive-v2 .archive-card:nth-child(1) img,.archive-v2 .archive-card:nth-child(6) img,.archive-v2 .archive-card:nth-child(15) img{aspect-ratio:1.4}
.archive-v2 .archive-card .archive-card-caption{background:var(--chapter-green-card)}
.site-footer{background:#171a17;color:#eee9df}
.footer-main{grid-template-columns:minmax(0,1.45fr) minmax(0,.8fr) minmax(0,.85fr);gap:clamp(36px,5vw,84px);padding-top:48px;padding-bottom:42px}
.footer-intro{max-width:440px}
.site-footer .footer-brand{
  max-width:none;
  font-family:Arial,'Segoe UI',sans-serif;
  font-size:clamp(1.6rem,2.2vw,2.05rem);
  font-weight:600;
  line-height:1.15;
  letter-spacing:-.035em;
  text-transform:none;
}
.footer-brand-acervo,.footer-brand-name{display:block}
.footer-brand-acervo{font-size:.72em;font-weight:500;letter-spacing:-.02em}
.footer-intro>p{max-width:410px;margin:22px 0 0;color:#c4c9c2;font-size:.89rem;line-height:1.55}
.footer-links{display:block;align-content:initial;padding:0}
.site-footer .footer-links nav{gap:10px}
.footer-links h2,.footer-place h2{margin:2px 0 17px;color:#b2bdb2!important;font-size:.72rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.site-footer .footer-links a{font-size:.9rem;line-height:1.35}
.footer-place p{margin:0 0 17px;color:#d7ddd5;font-size:.9rem;line-height:1.4}
.footer-bottom{padding-top:24px;padding-bottom:27px;border-color:#363b35;color:#9ea79f;font-size:.73rem}
.site-footer .footer-brand:hover,.site-footer .footer-brand:focus-visible,
.site-footer .footer-links a:hover,.site-footer .footer-links a:focus-visible{color:var(--orange-soft)}

/* Motion stays tied to the photographs and the selected architecture panel. */
.image-reveal.motion-pending{opacity:.2;transform:translateY(32px) scale(.985)}
.image-reveal.motion-pending img{transform:scale(1.06)}
.image-reveal.motion-pending.is-visible{opacity:1;transform:none;transition:transform .95s cubic-bezier(.19,1,.22,1),opacity .65s ease-out}
.image-reveal.motion-pending.is-visible img{transform:scale(1);transition:transform 1.25s cubic-bezier(.19,1,.22,1)}

@media(max-width:1100px){
  .arch-intro .section-kicker{grid-column:1/-1;margin:0}
  .arch-intro h2{grid-column:1/9}
  .arch-intro>p:last-child{grid-column:9/-1}
  .story-copy{grid-column:8/-1}
  .story-copy h2{font-size:clamp(2.9rem,5vw,4.8rem)}
}
@media(max-width:900px){
  .story-v2-grid,.memory-v2-grid{display:flex;flex-direction:column;align-items:stretch;gap:42px}
  .story-landscape{height:clamp(390px,60vw,540px)}
  .story-copy{max-width:680px}
  .history-line{margin-top:55px}
  .arch-intro{grid-template-columns:repeat(2,minmax(0,1fr))}
  .arch-intro .section-kicker{grid-column:1/-1}
  .arch-intro h2{grid-column:1}
  .arch-intro>p:last-child{grid-column:2}
  .arch-stage{display:block;min-height:0}
  .arch-visual{height:clamp(400px,60vw,540px);min-height:0}
  .arch-panel{width:100%;padding:38px 42px}
  .arch-tab-panel h3{max-width:560px}
  .memory-visual{order:-1;height:clamp(400px,62vw,540px)}
  .memory-content{max-width:680px}
  .archive-v2 .archive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .footer-main{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:36px}
  .footer-intro{grid-column:1/-1;max-width:560px}
  .site-footer .footer-brand{font-size:1.9rem}
}
@media(max-width:700px){
  :root{--page-gutter:20px;--chapter-space:76px}
  .site-header{padding-inline:var(--page-gutter)}
  .menu-button{min-height:44px}
  .story-v2-grid,.memory-v2-grid{gap:38px}
  .story-landscape{height:clamp(300px,72vw,430px)}
  .story-landscape figcaption{left:18px;bottom:18px}
  .story-copy h2{margin-bottom:27px;font-size:clamp(3.2rem,10vw,4.6rem)}
  .story-copy p:not(.section-kicker){font-size:1rem}
  .history-line{display:block;margin-top:48px}
  .history-line>div,.history-line>div:first-child{display:grid;grid-template-columns:78px 1fr;gap:15px;padding:19px 0;border:0;border-bottom:1px solid var(--chapter-line)}
  .history-line time{margin:0}
  .history-line p{max-width:none}
  .arch-intro{display:block;padding-bottom:34px}
  .arch-intro .section-kicker{margin-bottom:23px}
  .arch-intro h2{margin-bottom:22px;font-size:clamp(3.2rem,10vw,4.6rem)}
  .arch-intro>p:last-child{max-width:440px;font-size:1rem}
  .arch-visual{height:clamp(300px,72vw,410px)}
  .arch-panel{padding:34px 24px 40px}
  .arch-tabs{margin-bottom:28px}
  .arch-tab-panel h3{font-size:clamp(2.65rem,9vw,3.7rem)}
  .memory-visual{height:clamp(300px,72vw,430px)}
  .memory-content h2{font-size:clamp(3.2rem,10vw,4.6rem)}
  .memory-content .memory-callout{margin-bottom:38px}
  .heritage-note{display:block}
  .heritage-note strong{display:block;margin-bottom:14px}
  .archive-v2 h2{font-size:clamp(3.5rem,10vw,5.2rem)}
  .archive-v2 .filters{margin-top:36px}
  .archive-v2 .archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .archive-v2 .archive-card:nth-child(1),.archive-v2 .archive-card:nth-child(6),.archive-v2 .archive-card:nth-child(15){grid-column:span 1}
  .archive-v2 .archive-card:nth-child(1){grid-column:span 2}
  .archive-v2 .archive-card:nth-child(6) img,.archive-v2 .archive-card:nth-child(15) img{aspect-ratio:4/5}
  .archive-v2 .archive-card:nth-child(1) img{aspect-ratio:1.55}
  .archive-v2 .archive-card-caption{min-height:4.5em;font-size:.875rem;line-height:1.4}
  #lightbox{padding:52px 18px 66px}
  .lightbox-close,.lightbox-prev,.lightbox-next{width:44px;height:44px}
  .lightbox-close{top:6px;right:6px}
  .lightbox-prev,.lightbox-next{bottom:8px}
  .footer-main{padding-top:35px;padding-bottom:30px;gap:26px 20px}
  .site-footer .footer-brand{font-size:clamp(1.7rem,7vw,1.9rem)}
  .footer-intro>p{margin-top:16px}
  .site-footer .footer-links nav{gap:8px}
  .footer-links h2,.footer-place h2{margin-bottom:13px}
  .footer-bottom{gap:7px;padding-top:16px;padding-bottom:18px}
}
@media(max-width:360px){
  :root{--page-gutter:18px}
  .site-header .brand{font-size:.88rem}
  .hero .hero-layout{min-height:clamp(630px,calc(100svh - 72px),700px);padding-bottom:42px}
  .archive-v2 h2{font-size:clamp(3.15rem,10.5vw,3.55rem)}
  .archive-v2 .archive-grid{gap:8px}
  .archive-v2 .archive-card-caption{padding:11px 10px 13px}
}
@media(prefers-reduced-motion:reduce){
  .image-reveal.motion-pending,.image-reveal.motion-pending.is-visible,.image-reveal.motion-pending img,.image-reveal.motion-pending.is-visible img{opacity:1;transform:none;transition:none}
  .arch-scene,.arch-tabs button{transition:none}
  .arch-tab-panel:not([hidden]){animation:none}
}
