/*
Theme Name: Cupola Lane Cottages - Faithful Edition
Description: Faithful original HTML design with editable Gutenberg section blocks.
Version: 2.0.0
Requires at least: 6.2
Text Domain: cupola-lane-faithful
*/

:root{--ink:#293a33;--cream:#f8f6f1;--linen:#e9e3d7;--sage:#c8cdbf;--blue:#dce8e8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Arial,Helvetica,sans-serif}a{color:inherit}header{position:sticky;top:0;z-index:10;background:#faf9f5f5;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 5%;border-bottom:1px solid #e2dfd6}.brand{font-family:Georgia,serif;letter-spacing:.14em;font-size:18px;text-decoration:none;white-space:nowrap}nav{display:flex;align-items:center;gap:24px}nav a,.button,.eyebrow,.overline{font-size:11px;letter-spacing:.19em;text-transform:uppercase;text-decoration:none}nav a:hover{opacity:.6}.button{display:inline-block;background:#24483d;color:white;padding:19px 27px;border:0}.button.light{background:#f7f4ed;color:var(--ink)}.hero{display:grid;grid-template-columns:48% 52%;min-height:680px}.hero-copy{background:var(--linen);padding:9% 12%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.eyebrow{line-height:1.8}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.08}h1{font-size:clamp(52px,6vw,94px);letter-spacing:-.04em;margin:26px 0 26px}h2{font-size:clamp(38px,4.5vw,65px);letter-spacing:-.025em;margin:14px 0 25px}h3{font-size:clamp(30px,3vw,45px);margin:12px 0 18px}p{font-size:16px;line-height:1.9;max-width:570px}.hero p{font-size:17px;margin:0 0 24px}.hero-photo{position:relative;min-height:680px}.hero-photo img,.photo img,.gallery img{width:100%;height:100%;object-fit:cover;display:block}.hero-photo img{object-position:center}.hero-photo:after{content:'';position:absolute;inset:22px;border:1px solid #fff9;pointer-events:none}.intro{text-align:center;padding:110px 20px 115px}.intro p{margin:0 auto;color:#5c655d}.overline{color:#6b7970}.feature{display:grid;grid-template-columns:1fr 1fr;min-height:570px}.feature.reverse .feature-copy{order:2}.feature.reverse .photo{order:1}.feature-copy{padding:11% 13%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;background:#e7ebe5}.feature.reverse .feature-copy{background:#f0e9df}.feature-copy p{margin:0 0 24px}.photo{min-height:570px}.mosaic{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:10px;height:430px;margin:10px}.mosaic img{width:100%;height:100%;object-fit:cover}.barn{background:#263b34;color:#f7f3ea;padding:110px 6%}.barn-heading{text-align:center;max-width:850px;margin:0 auto 55px}.barn-heading p{margin:auto}.barn-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;height:550px}.barn-grid img{width:100%;height:100%;object-fit:cover}.barn-grid .stack{display:grid;grid-template-rows:1fr 1fr;gap:18px;min-height:0}.barn-grid.gathering-first{grid-template-columns:1.65fr .85fr;height:600px}.barn-grid.gathering-first .stack{grid-template-rows:3fr 1fr}.barn-grid.gathering-first .stack img:last-child{object-position:center 46%}.story{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:7%;padding:110px 8%}.story img{width:100%;height:560px;object-fit:cover}.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:8px}.gallery img{aspect-ratio:1;object-fit:cover}.closing{text-align:center;background:#e5e8e0;padding:110px 20px}.closing p{margin:0 auto 24px}footer{padding:42px 6%;display:flex;justify-content:space-between;gap:25px;font-size:12px;letter-spacing:.08em}footer a{text-decoration:none}@media(max-width:850px){header{flex-wrap:wrap;justify-content:center}nav{gap:12px;justify-content:center;flex-wrap:wrap}.hero,.feature,.story{grid-template-columns:1fr}.hero-copy{padding:80px 9%}.hero-photo{min-height:440px;height:440px}.feature.reverse .feature-copy,.feature.reverse .photo{order:initial}.feature-copy{padding:80px 9%}.photo{min-height:430px;height:430px}.barn-grid{height:auto;grid-template-columns:1fr}.barn-grid>img{height:440px}.barn-grid .stack{grid-template-columns:1fr 1fr;grid-template-rows:260px}.barn-grid.gathering-first{grid-template-columns:1fr;height:auto}.barn-grid.gathering-first .stack{grid-template-columns:1.5fr 1fr;grid-template-rows:220px}.mosaic{height:250px}.story{padding:70px 7%}.story img{height:390px}.gallery{grid-template-columns:repeat(2,1fr)}footer{flex-direction:column;text-align:center}}@media(max-width:500px){.brand{font-size:15px}nav a{font-size:9px}.hero h1{font-size:54px}.mosaic{grid-template-columns:1fr 1fr;height:210px}.mosaic img:last-child{display:none}}
.hero-exteriors{display:grid;grid-template-columns:1fr 1fr;gap:7px;min-height:680px;background:#e1e0d5;padding:20px}.hero-exteriors figure{margin:0;position:relative;min-width:0;overflow:hidden}.hero-exteriors img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.hero-exteriors figcaption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(22,31,26,.7));color:white;padding:55px 10px 23px;text-align:center;font-size:11px;letter-spacing:.18em}@media(max-width:850px){.hero-exteriors{min-height:430px;height:430px;padding:9px}}@media(max-width:500px){.hero-exteriors{height:350px;min-height:350px}.hero-exteriors figcaption{font-size:9px;letter-spacing:.1em}}

/* Editorial host page */
.host-page{background:#f8f6f1;color:#263b32;padding:90px max(5vw,24px) 100px;scroll-margin-top:90px}
.host-kicker,.host-overline,.host-role{font-family:Arial,sans-serif;font-size:11px;letter-spacing:3px;font-weight:500}
.host-kicker{text-align:center;margin-bottom:48px;color:#637269}.host-hero{display:grid;grid-template-columns:48% 52%;max-width:1320px;margin:auto;min-height:700px;background:#e8e4d9}.host-hero-photo img{width:100%;height:100%;max-height:850px;object-fit:cover;object-position:center 36%;display:block}.host-hero-text{padding:clamp(34px,5.3vw,95px);align-self:center}.host-overline{color:#6b7b6e}.host-hero h2,.host-details h3{font-family:Georgia,serif;font-weight:400;letter-spacing:-1.5px;line-height:1.08}.host-hero h2{font-size:clamp(44px,5.1vw,78px);margin:25px 0}.host-hero h2 em,.host-details h3 em{font-weight:400}.host-rule{width:55px;height:1px;background:#a5a88f;margin:30px 0}.host-hero p,.host-details p{font-size:16px;line-height:1.85;margin:0 0 18px}.host-hero .host-lead{font-family:Georgia,serif;font-size:22px;line-height:1.5}.host-signoff{font-style:italic;margin-top:30px!important}.host-signature{font-family:Georgia,serif;font-style:italic;font-size:35px!important;margin:0 0 12px!important}.host-role{font-size:10px!important;letter-spacing:2px!important}.host-details{max-width:1190px;margin:105px auto;display:grid;grid-template-columns:1fr 0.85fr;gap:10%;align-items:center}.host-details h3{font-size:clamp(36px,4vw,58px);margin:22px 0 30px}.host-details-photo img{width:100%;height:550px;object-fit:cover;object-position:center 50%}.host-text-link{display:inline-block;margin-top:20px;border-bottom:1px solid #385447;padding-bottom:8px;text-decoration:none;color:#27483a;letter-spacing:2px;font-size:11px}.host-portrait-strip{max-width:1190px;margin:auto;display:grid;grid-template-columns:37% 1fr;align-items:center;background:#e3e9e2}.host-portrait-strip img{width:100%;height:440px;object-fit:cover;object-position:center 25%}.host-portrait-strip>div{padding:8% 12%}.host-portrait-strip p{font:italic clamp(25px,3vw,42px)/1.3 Georgia,serif;margin:25px 0}.host-portrait-strip div>span:last-child{font-size:10px;letter-spacing:2.5px}
@media(max-width:850px){.host-page{padding:55px 18px}.host-hero,.host-details,.host-portrait-strip{grid-template-columns:1fr}.host-hero-photo img{height:480px}.host-hero-text{padding:40px 28px}.host-details{margin:65px auto;gap:30px}.host-details-photo img{height:420px}.host-portrait-strip img{height:420px}.host-portrait-strip>div{padding:40px 30px}}

/* Barn gallery: exterior is the unobstructed left hero image. */
.barn-grid > img {display:block;min-width:0;object-position:center center;}
.barn-grid .stack img {display:block;min-height:0;}

/* Nov 3 refinement: lower the Our Story photo and reduce the barn exterior accent by 25%. */
@media(min-width:851px){
.story{align-items:start;}
.story>div{padding-top:25px;}
.story>img{margin-top:95px;height:470px;object-fit:cover;}
.barn-grid.gathering-first .stack img:last-child{width:75%;height:75%;justify-self:end;align-self:end;object-fit:cover;}
}
@media(max-width:850px){.story>img{margin-top:24px}.barn-grid.gathering-first .stack img:last-child{width:75%;height:75%;justify-self:end;align-self:end;object-fit:cover;}}
.homepage-logo{display:block;width:260px;max-width:85%;height:auto;object-fit:contain;margin:0 0 28px}@media(max-width:850px){.homepage-logo{width:230px}}
.brand-logo{display:block;line-height:0;flex-shrink:0}.brand-logo img{display:block;width:180px;height:auto}.homepage-logo{width:320px;max-width:100%}@media(max-width:850px){.brand-logo img{width:155px}.homepage-logo{width:270px}}
footer{align-items:center;flex-wrap:wrap}.footer-logo{display:block;flex:0 0 100%;text-align:center;margin-bottom:20px}.footer-logo img{display:block;width:230px;max-width:75vw;height:auto;margin:0 auto}

#cottages,.cottage-detail{scroll-margin-top:160px}.cottage-collection{padding:40px 5% 95px;background:#F7F3EA;color:#41413D}.cottage-jump{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;padding:15px 0 50px;font-size:11px;letter-spacing:.15em}.cottage-jump a{text-underline-offset:8px}.cottage-detail{max-width:1350px;margin:0 auto 85px}.cottage-detail:last-child{margin-bottom:0}.cottage-opening{display:grid;grid-template-columns:1fr 1fr;background:#e8e2d8}.cottage-detail:nth-of-type(2) .cottage-opening{background:#e4e9dc}.cottage-detail figure{margin:0;min-width:0}.cottage-cover img{display:block;width:100%;height:100%;min-height:510px;max-height:680px;object-fit:cover}.cottage-cover{position:relative}.cottage-cover figcaption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#0009);padding:60px 24px 25px;color:white;font-size:10px;letter-spacing:.13em}.cottage-description{padding:55px 10%;align-self:center}.cottage-description h2{font-size:clamp(38px,4vw,60px)}.cottage-lead{font:italic 23px/1.5 Georgia,serif}.cottage-description .button{font-size:10px;margin-top:15px}.cottage-note{font-size:13px;line-height:1.7}.cottage-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding-top:16px}.cottage-gallery img{display:block;width:100%;height:250px;object-fit:cover}.cottage-gallery figcaption{font:italic 16px/1.5 Georgia,serif;padding:12px 3px}.cottage-jump a:focus-visible{outline:2px solid #41413D;outline-offset:6px}@media(max-width:850px){.cottage-opening{grid-template-columns:1fr}.cottage-cover img{height:420px;min-height:0}.cottage-description{padding:35px 8%}.cottage-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.cottage-gallery img{height:220px}.cottage-jump{gap:15px}.cottage-collection{padding:30px 5% 55px}}@media(max-width:500px){.cottage-gallery img{height:175px}.cottage-jump span{display:none}.cottage-cover img{height:340px}}
.kentucky-inspiration{max-width:1190px;margin:95px auto 0;border-top:1px solid #C3AC8B;padding-top:65px;scroll-margin-top:160px}.inspiration-heading{text-align:center;max-width:760px;margin:0 auto 38px}.inspiration-heading p{margin:0 auto;max-width:680px}.inspiration-photos{display:grid;grid-template-columns:1.5fr .85fr .85fr;gap:18px}.inspiration-photos figure{margin:0;min-width:0}.inspiration-photos img{display:block;width:100%;height:355px;object-fit:cover}.inspiration-photos figure:first-child img{object-position:65% center}.inspiration-photos figcaption{font:italic 17px/1.6 Georgia,serif;padding-top:12px}.kentucky-inspiration .inspiration-location{font-size:12px;line-height:1.7;text-align:center;max-width:none;margin:25px auto 0;color:#637269}@media(max-width:850px){.inspiration-photos{grid-template-columns:1fr 1fr}.inspiration-photos figure:first-child{grid-column:1/-1}.inspiration-photos figure:first-child img{height:auto}.inspiration-photos img{height:300px}.kentucky-inspiration{margin-top:65px;padding-top:45px}}@media(max-width:500px){.inspiration-photos{gap:12px}.inspiration-photos img{height:235px}.inspiration-photos figcaption{font-size:15px}}.inspiration-photos{grid-template-columns:1.3fr 1fr 1fr}.inspiration-photos figure:first-child{grid-column:1/-1;max-width:790px;width:100%;justify-self:center;margin-bottom:14px}.inspiration-photos figure:first-child img{height:auto;aspect-ratio:auto}.inspiration-photos figure:not(:first-child) img{height:auto;aspect-ratio:3/4;object-fit:cover}@media(max-width:850px){.inspiration-photos{grid-template-columns:repeat(3,minmax(0,1fr))}.inspiration-photos figure:not(:first-child) img{height:auto;aspect-ratio:3/4}}@media(max-width:500px){.inspiration-photos{grid-template-columns:1fr 1fr}.inspiration-photos .barrel-perspective{grid-column:1/-1;max-width:320px;width:100%;justify-self:center}}
.inspiration-photos{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.inspiration-photos .barrel-perspective:first-child{grid-column:1/-1;max-width:540px;justify-self:center;margin:0 0 25px}.inspiration-photos .barrel-perspective:first-child img{width:100%;height:auto;aspect-ratio:auto}.inspiration-photos .travel-couple img{height:auto;aspect-ratio:4/3;object-fit:cover}.inspiration-photos .travel-couple{align-self:center}.inspiration-photos figure:not(:first-child):not(.travel-couple) img{height:auto;aspect-ratio:3/4}@media(max-width:500px){.inspiration-photos{grid-template-columns:1fr 1fr}.inspiration-photos .travel-couple{grid-column:1/-1;max-width:230px;justify-self:center}.inspiration-photos .barrel-perspective:first-child{max-width:100%;grid-column:1/-1}}

/* Barn photographs occupy separate grid cells without overlap. */
.barn-grid.gathering-first{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px;height:auto;align-items:start}
.barn-grid.gathering-first>img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;min-width:0;position:static;transform:none;margin:0}
.barn-grid.gathering-first .stack{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:24px;min-height:0;height:auto;align-items:start}
.barn-grid.gathering-first .stack img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;min-width:0;min-height:0;position:static;transform:none;margin:0;align-self:start;justify-self:start}
.barn-grid.gathering-first .stack img:last-child{width:75%;height:auto;aspect-ratio:4/3;justify-self:end;align-self:start}
@media(max-width:850px){.barn-grid.gathering-first{grid-template-columns:minmax(0,1fr);gap:20px}.barn-grid.gathering-first>img{height:auto;aspect-ratio:4/3}.barn-grid.gathering-first .stack{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);grid-template-rows:auto;gap:20px}.barn-grid.gathering-first .stack img:last-child{width:100%;height:auto}}
@media(max-width:500px){.barn-grid.gathering-first .stack{grid-template-columns:minmax(0,1fr);gap:20px}.barn-grid.gathering-first .stack img:last-child{width:65%;justify-self:end}}
.inspiration-photos{grid-template-columns:repeat(4,minmax(0,1fr))}.inspiration-photos .travel-couple img{height:auto;aspect-ratio:4/3}.inspiration-photos .four-roses-memory img{object-position:center}@media(max-width:850px){.inspiration-photos{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.inspiration-photos .travel-couple{grid-column:auto;max-width:none;align-self:start}.inspiration-photos .travel-couple img{aspect-ratio:4/3}}
.inspiration-photos .travel-couple,.inspiration-photos .four-roses-memory{width:72%;max-width:190px;justify-self:center;align-self:center}.inspiration-photos .travel-couple img{width:100%;height:auto;aspect-ratio:4/3}.inspiration-photos .four-roses-memory img{width:100%;height:auto;aspect-ratio:3/4}@media(max-width:500px){.inspiration-photos .travel-couple,.inspiration-photos .four-roses-memory{width:72%;max-width:150px;grid-column:auto;justify-self:center;align-self:center}}
.guest-voices{padding:90px 6%;background:#F7F3EA;color:#41413D;text-align:center;scroll-margin-top:160px}.guest-review-grid{max-width:1300px;margin:40px auto 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.guest-review{margin:0;padding:32px 24px;background:#ebe6db;display:flex;flex-direction:column;align-items:center}.review-stars{color:#726346;font-size:17px;letter-spacing:4px}.guest-review blockquote{font:italic 24px/1.5 Georgia,serif;margin:24px 0;flex:1}.guest-review figcaption strong{display:block;font:18px Georgia,serif}.guest-review figcaption span{display:block;font-size:11px;line-height:1.7;margin-top:8px}.guest-review>a{font-size:9px;letter-spacing:.1em;margin-top:24px;text-underline-offset:5px}.guest-voices .review-source-note{font-size:11px;max-width:none;margin:24px auto 0;line-height:1.7}@media(max-width:1050px){.guest-review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.guest-review-grid{grid-template-columns:1fr}.guest-voices{padding:65px 6%}}
.guest-review:has(figcaption strong) blockquote{overflow-wrap:break-word}.guest-review-grid{align-items:start}
.guest-review-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.guest-review blockquote{font-size:20px;line-height:1.65;text-align:left}.guest-review{padding:35px}@media(max-width:650px){.guest-review-grid{grid-template-columns:1fr}.guest-review{padding:28px}.guest-review blockquote{font-size:19px}}
.guest-voices .guest-thanks{max-width:700px;margin:0 auto 35px;font-size:17px;line-height:1.9}
.detail-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px;order:1;min-width:0}.detail-photo-grid img{display:block;width:100%;height:290px;object-fit:cover;min-width:0}@media(max-width:850px){.detail-photo-grid{order:initial}.detail-photo-grid img{height:260px}}@media(max-width:500px){.detail-photo-grid img{height:205px}}

.memories{padding:100px 7%;background:#F7F3EA}.memories-main{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:8%;max-width:1200px;margin:auto}.memories-main>img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block}.memories-copy h2{font-size:clamp(42px,4.6vw,68px)}.memories-copy .memories-lead{font-family:Georgia,serif;font-size:24px;line-height:1.55;color:#526255}.memories-copy p{max-width:470px}.memories-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:1200px;margin:28px auto 0}.memories-strip figure{margin:0}.memories-strip img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.memories-strip figcaption{font-family:Georgia,serif;font-size:19px;text-align:center;padding:17px 4px 0;color:#526255}@media(max-width:750px){.memories{padding:65px 7%}.memories-main{grid-template-columns:1fr;gap:30px}.memories-main>img{max-height:600px;object-position:center 40%}.memories-strip{gap:12px}.memories-strip img{aspect-ratio:3/4}.memories-strip figcaption{font-size:16px;line-height:1.4}}@media(max-width:430px){.memories-strip{grid-template-columns:1fr}.memories-strip img{aspect-ratio:4/3}.memories-strip figure{margin-bottom:14px}}

.memories-strip{grid-template-columns:repeat(4,1fr)}.memories-strip figure:last-child img{object-position:center 65%}@media(min-width:751px){.memories-strip img{aspect-ratio:3/4}}@media(min-width:431px) and (max-width:750px){.memories-strip{grid-template-columns:repeat(2,1fr)}}@media(max-width:430px){.memories-strip{grid-template-columns:1fr}.memories-strip figure:last-child img{aspect-ratio:3/4}}
@media(min-width:901px){#kentucky-cottage .cottage-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}

.hero-exteriors {grid-template-columns:minmax(0, 1fr) minmax(0, 1.38fr)}
.hero-exteriors figure:nth-child(2) img {object-position:65% center}

/* WordPress integration */
html{scroll-behavior:smooth}body{margin:0!important}.wp-site-blocks{padding:0!important}.cupola-page{overflow:hidden}.cupola-page *{box-sizing:border-box}.cupola-page img{max-width:100%}.cupola-page .hero .homepage-logo{width:320px;max-width:100%;height:auto}.cupola-page .wp-block-cupola-section{margin:0}.cupola-page .cupola-editor-field{outline:1px dashed #7b9580;outline-offset:3px}.cupola-page .cupola-editor-image{cursor:pointer;outline:2px dashed #7b9580}

/* Multipage navigation and page treatment */
.cupola-site-header{position:sticky;top:0;z-index:100;background:#faf9f5;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 4%;border-bottom:1px solid #e2dfd6}
.cupola-site-header nav{display:flex;flex-wrap:wrap;gap:18px;align-items:center}
.cupola-site-header nav a{font-size:10px;letter-spacing:.13em;white-space:nowrap}
.cupola-home-link{font-family:Georgia,serif;letter-spacing:.13em;font-size:14px;text-decoration:none;white-space:nowrap}
.cupola-page-heading{padding:55px 6% 35px;background:#e9e3d7;text-align:center}
.cupola-page-heading h1{font-size:clamp(40px,5vw,72px);margin:12px 0 0}
.cupola-page-heading a{font-size:12px;letter-spacing:.1em;text-decoration:none}
.cupola-site-footer{padding:40px 6%;display:flex;justify-content:space-between;gap:15px;font-size:11px;letter-spacing:.1em}
.cupola-site-footer a{text-decoration:none}
.cupola-page .hero .homepage-logo{width:230px;max-width:80%;height:auto}
.cupola-page .hero-copy{padding:7% 9%}
@media(max-width:1000px){.cupola-site-header{flex-direction:column}.cupola-site-header nav{justify-content:center}}
@media(max-width:600px){.cupola-site-header nav{gap:12px}.cupola-site-header nav a{font-size:9px}.cupola-site-footer{flex-direction:column;text-align:center}}
