/* ============================================
   Multi-page additions
   ============================================ */

/* Sub-page header */
.page-header{
  position:relative;
  height: 62vh;
  min-height: 600px;
  color: var(--bone);
  overflow:hidden;
}
.page-header .bg{
  position:absolute; inset:0; background:#2c3327;
}
.page-header .bg::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.2) 40%, rgba(0,0,0,.6) 100%);
}
.page-header .bg img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}
.page-header .content{
  position:relative; z-index:2;
  height:100%;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding-bottom: 80px;
}
.page-header .ph-meta{
  display:flex; justify-content:space-between; align-items:baseline;
  border-top:1px solid rgba(244,239,230,.4);
  padding-top: 18px;
  margin: 0 0 32px;
  width: 100%;
  max-width: none;
}
.page-header .ph-meta .num{
  font-family:"Cormorant Garamond", serif; font-style:italic; font-size: 16px;
  color: rgba(244,239,230,.75);
}
.page-title{
  font-family:"Cormorant Garamond", serif;
  font-weight:300;
  font-size: clamp(40px, 5.2vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  max-width: 22ch;
  min-height: 3.6em;        /* reserve consistent height — matches haiku's 3-line height */
}
.page-title em{ font-style:italic; font-weight:300; }
.page-lede{
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.6;
  opacity: .92;
  margin: 0;
  min-height: 4.8em;        /* reserve ~3 lines so shorter ledes don't pull the rule line down */
}

/* Landing teaser cards */
.landing-section{
  background: var(--paper);
}
.teaser-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px 64px;
  margin-top: 60px;
}
.teaser{
  display:flex; flex-direction:column;
  text-decoration:none; color:inherit;
  group: teaser;
}
.teaser .img-wrap{
  position:relative;
  margin-bottom: 26px;
  overflow:hidden;
}
.teaser .img-wrap .ph{
  height: 460px;
  transition: transform .9s ease;
}
.teaser:hover .img-wrap .ph{ transform: scale(1.03); }
.teaser .img-wrap .badge{
  position:absolute; left:18px; top:18px; z-index:2;
  font-family:"Cormorant Garamond", serif; font-style:italic;
  background: var(--paper);
  padding: 6px 14px;
  border:1px solid var(--rule);
  font-size: 14px;
}
.teaser .label{ margin-bottom: 10px; }
.teaser h3{
  font-family:"Cormorant Garamond", serif;
  font-weight:400;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.teaser h3 em{ font-style:italic; }
.teaser p{
  font-size: 16px; line-height: 1.6; color: var(--ink-2);
  margin: 0 0 22px; max-width: 52ch;
}
.teaser .more{
  font-size:12px; letter-spacing:.22em; text-transform:uppercase;
  display:inline-flex; align-items:center; gap:14px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
  align-self: flex-start;
  transition: gap .25s;
}
.teaser:hover .more{ gap: 22px; }
.teaser .more .arr{ font-family:"Cormorant Garamond", serif; font-style:italic; font-size: 18px; letter-spacing: 0; }

@media (max-width: 900px){
  .teaser-grid{ grid-template-columns: 1fr; gap: 48px; }
  .teaser .img-wrap .ph{ height: 320px; }
}

/* Landing inline strip — quick facts */
.fact-strip{
  background: var(--bone);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 38px 0;
}
.fact-strip .row{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  align-items: center;
}
.fact-strip .item{ text-align:left; }
.fact-strip .item .v{
  font-family:"Cormorant Garamond", serif;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1; letter-spacing: -0.01em;
}
.fact-strip .item .v em{ font-style:italic; }
.fact-strip .item .k{
  font-size: 11px; letter-spacing:.2em; text-transform:uppercase; color: var(--muted);
  margin-top: 10px;
}
@media (max-width: 720px){
  .fact-strip .row{ grid-template-columns: 1fr 1fr; gap: 28px 16px; }
}

/* Bottom CTA strip */
.bottom-cta{
  background: var(--ink);
  color: var(--bone);
  padding: 88px 0;
}
.bottom-cta .inner{
  display:grid; grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
}
.bottom-cta .label{ color: rgba(244,239,230,.7); }
.bottom-cta h2.display{ color: var(--bone); }
.bottom-cta .actions{ display:flex; flex-direction:column; gap: 22px; align-items:flex-start; justify-content:flex-end; }

.btn-link{
  display:inline-flex; align-items:center; justify-content:space-between; gap: 24px;
  background: var(--bone); color: var(--ink);
  padding: 22px 28px;
  text-decoration: none;
  font-family:"Inter Tight", sans-serif;
  font-size: 13px; letter-spacing:.22em; text-transform:uppercase;
  min-width: 320px;
  transition: background .25s, color .25s;
}
.btn-link:hover{ background: var(--paper); }
.btn-link .arrow{ font-family:"Cormorant Garamond", serif; font-style:italic; font-size: 22px; letter-spacing:0; }

.text-link{
  color: var(--bone);
  font-size: 13px; letter-spacing:.22em; text-transform:uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(244,239,230,.4);
  padding-bottom: 4px;
}
.text-link:hover{ border-bottom-color: var(--bone); }

@media (max-width: 900px){
  .bottom-cta .inner{ grid-template-columns: 1fr; gap: 28px; }
}

/* Page body wrapper used on inner pages */
.page-body{
  padding: 110px 0;
}
@media (max-width: 720px){ .page-body{ padding: 70px 0; } }

/* Enquiry calendar — adapted from booking calendar */
.cal.enquiry{ padding: 22px; }
.cal-day.range-start, .cal-day.range-end{ background: var(--ink); color: var(--bone); border-color: var(--ink); }
.cal-day.in-range{ background: var(--vine); color: var(--bone); }

/* Two-month enquiry calendar layout */
.cal-pair{
  display:grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
@media (max-width: 720px){ .cal-pair{ grid-template-columns: 1fr; } }

/* Enquiry layout */
.enquiry-grid{
  display:grid; grid-template-columns: 1fr; gap: 40px;
  background: var(--bone);
  border: 1px solid var(--rule);
  padding: 40px;
}
.enquiry-grid h3.heading{ margin-bottom: 8px; }
.enquiry-summary{
  display:flex; gap: 32px; flex-wrap: wrap;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
  margin: 22px 0 28px;
}
.enquiry-summary .item .k{ font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--muted); margin-bottom: 4px; }
.enquiry-summary .item .v{ font-family:"Cormorant Garamond", serif; font-size: 22px; }
.enquiry-summary .item .v em{ font-style:italic; }

@media (max-width: 720px){
  .enquiry-grid{ padding: 24px; }
}

/* ============================================
   Architecture rotating gallery
   ============================================ */
.arch-gallery{
  background: var(--ink);
  color: var(--bone);
  padding: 0 0 140px;
  margin-top: -1px; /* absorb gd section bottom rule */
}
.arch-gallery .label{
  color: rgba(244,239,230,.75);
  font-size: 11px;
  text-transform: uppercase;
}
.arch-gallery-head{
  display:flex; align-items:center; gap: 28px;
  padding-bottom: 28px;
  margin-bottom: 32px;
}
.arch-gallery-rule{
  flex:1;
  height:1px;
  background: rgba(244,239,230,.18);
}
.arch-gallery-meta{
  font-family:"Cormorant Garamond", serif;
  font-style: italic;
  font-size: 18px;
  color: rgba(244,239,230,.7);
}
.arch-gallery-nav{
  display:flex; gap: 8px;
  margin-left: 4px;
}
.arch-nav-btn{
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(244,239,230,.28);
  background: transparent;
  color: var(--bone);
  font-size: 18px;
  line-height: 1;
  display:inline-flex; align-items:center; justify-content:center;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
  font-family: inherit;
}
.arch-nav-btn:hover{
  background: rgba(244,239,230,.08);
  border-color: rgba(244,239,230,.55);
}
.arch-nav-btn:active{
  background: rgba(244,239,230,.14);
}
.arch-nav-btn:focus-visible{
  outline: 2px solid rgba(244,239,230,.6);
  outline-offset: 2px;
}
.arch-gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.arch-gallery-slot{
  position:relative;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  background: #0e0e0c;
}
.arch-gallery-slot .layer{
  position:absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  will-change: opacity;
  transition: opacity var(--fade, 1200ms) ease-in-out;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}
.arch-gallery-slot .layer.is-front{ opacity: 1; }
.arch-gallery-slot::after{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  box-shadow: inset 0 0 0 1px rgba(244,239,230,.06);
}
.arch-gallery-progress{
  display:flex; gap: 6px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.arch-gallery-progress .tick{
  flex: 1 1 14px;
  min-width: 14px;
  height: 2px;
  background: rgba(244,239,230,.12);
  transition: background .5s ease;
}
.arch-gallery-progress .tick.on{
  background: rgba(244,239,230,.7);
}

@media (max-width: 900px){
  .arch-gallery{ padding-bottom: 96px; }
  .arch-gallery-grid{ gap: 10px; }
  .arch-gallery-slot{ aspect-ratio: 3 / 4; }
  .arch-gallery-head{ gap: 14px; margin-bottom: 22px; padding-bottom: 18px; }
  .arch-gallery-meta{ font-size: 15px; }
}
@media (max-width: 560px){
  .arch-gallery-grid{ grid-template-columns: 1fr; }
  .arch-gallery-slot{ aspect-ratio: 4 / 5; }
}

/* ============================================
   Placeholder rotating gallery (awaiting photography)
   ============================================ */
.ph-gallery{ padding-top: 96px; padding-bottom: 96px; }
.ph-gallery-slot{ background:#15170f; }
.ph-layer{
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    repeating-linear-gradient(135deg,
      #1a1f17 0 14px,
      #161a13 14px 28px);
  box-shadow: inset 0 0 0 1px rgba(244,239,230,.06);
}
.ph-layer .ph-tag{
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: lowercase;
  color: rgba(244,239,230,.78);
  background: rgba(0,0,0,.42);
  border: 1px solid rgba(244,239,230,.18);
  padding: 6px 10px;
  max-width: 78%;
  text-align:center;
  line-height: 1.4;
}
@media (max-width: 560px){
  .ph-gallery{ padding-top: 64px; padding-bottom: 64px; }
}
