/*
Theme Name: The Great Indoors Studio
Description: Studio homepage design, isolated from the existing store theme.
Version: 1.0.0
Text Domain: tgi-studio
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&display=swap');
:root{--paper:#f5f1e8;--ink:#302c26;--mustard:#b7a044;--darkmustard:#796517;--muted:#706b61;--line:#d8d0bf;--serif:'Cormorant Garamond',Georgia,serif;--sans:'DM Sans',Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.8 var(--sans)}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer;color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.02}h2{font-size:clamp(44px,4.8vw,72px);letter-spacing:-.035em}img{width:100%;height:100%;object-fit:cover;display:block}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--darkmustard);outline-offset:6px}.wrap{max-width:1600px;margin:auto;padding-left:6%;padding-right:6%}.eyebrow{font:500 9px/1.7 var(--sans);text-transform:uppercase;letter-spacing:.22em}.header{display:flex;align-items:center;justify-content:space-between;height:106px;gap:30px}.brand{display:flex;align-items:center;gap:14px;flex-shrink:0}.brand-logo{display:block;width:150px;height:auto;object-fit:contain}.mark{font:400 30px/1.1 var(--sans);border:1px solid;padding:10px 6px;letter-spacing:-2px;transform:skewY(-4deg)}.brand-label{font-size:10px;text-transform:uppercase;letter-spacing:.15em;line-height:1.5}.nav{display:flex;gap:36px;align-items:center;font-size:11px}.line-link{border-bottom:1px solid;padding:7px 0;display:inline-flex;gap:35px;align-items:center;font-size:11px}.menu{display:none;background:none;border:0}.hero{display:grid;grid-template-columns:44% 56%;min-height:650px}.hero-copy{background:var(--mustard);padding:65px 10% 42px 13.64%;display:flex;flex-direction:column;align-items:flex-start}.hero h1{font-size:clamp(66px,6.7vw,106px);letter-spacing:-.05em;margin:30px 0 24px}.hero h1 em{font-weight:400}.hero p{font-size:13px;max-width:290px;line-height:1.9}.hero .line-link{margin-top:28px}.hero-foot{margin-top:auto;padding-top:40px;font-size:8px;letter-spacing:.17em;text-transform:uppercase}.hero-art{position:relative;min-height:650px;background:#ddd4c2}.hero-art>img{position:absolute;inset:0}.art-caption{position:absolute;bottom:24px;left:28px;background:var(--paper);padding:10px 17px;font:9px var(--sans);letter-spacing:.13em;text-transform:uppercase}.ticker{padding-top:23px;padding-bottom:23px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font:italic 23px var(--serif);color:var(--darkmustard)}.ticker span:nth-child(even){font:12px var(--sans);color:var(--mustard)}.section{padding-top:100px;padding-bottom:100px}.intro{text-align:center;max-width:900px;margin:auto}.intro h2{margin:22px 0 24px}.intro p:last-child{max-width:535px;margin:auto;color:var(--muted);font-size:14px}.materials{display:grid;grid-template-columns:.9fr 1.1fr;gap:9%;margin-top:66px;align-items:center}.material-photo{height:530px;position:relative;overflow:hidden}.material-photo img{object-position:25% 70%;transform:scale(1.35)}.sample-tag{position:absolute;bottom:20px;left:20px;background:var(--paper);padding:12px 18px;font:italic 24px var(--serif)}.palette-copy h3{font-size:43px;margin:17px 0 20px;letter-spacing:-.02em}.palette-copy>p{max-width:390px;color:var(--muted);font-size:13px}.swatches{display:flex;gap:13px;margin:31px 0 26px}.swatch{width:60px;height:72px;border:0;border-bottom:8px solid #e8e0d2;box-shadow:0 3px 8px #302c2615;transform:rotate(-3deg);position:relative}.swatch:nth-child(even){transform:rotate(3deg)}.swatch[aria-pressed=true]{outline:1px solid var(--ink);outline-offset:5px}.swatch:hover{transform:translateY(-5px)}.palette-detail{border-top:1px solid var(--line);padding-top:18px;min-height:110px}.palette-detail h4{font:400 24px var(--serif);margin:0 0 7px}.palette-detail p{font-size:12px;color:var(--muted);max-width:360px}.palette-hint{font-size:9px!important;text-transform:uppercase;letter-spacing:.13em;color:var(--darkmustard)!important}.work-section{background:#eae4d8}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:42px}.section-head h2{margin-top:16px}.projects{display:grid;grid-template-columns:1.18fr 1fr 1fr;gap:28px}.project:nth-child(2){padding-top:75px}.project:nth-child(3){padding-top:35px}.image-button{width:100%;padding:0;display:block;border:0;background:#ded4c1;position:relative;overflow:hidden}.image-button img{height:370px;transition:transform .5s}.image-button:hover img{transform:scale(1.025)}.enlarge{position:absolute;right:14px;bottom:14px;width:35px;height:35px;background:var(--paper);display:grid;place-items:center}.project h3{font-size:29px;margin:18px 0 7px}.project p{font-size:9px;letter-spacing:.13em;text-transform:uppercase;color:var(--muted)}.project-colours{display:flex;gap:5px;margin-top:15px}.project-colours i{height:13px;width:26px;display:block}.approach{display:grid;grid-template-columns:1fr 1.05fr;gap:12%;align-items:start}.approach h2{margin:20px 0 24px}.approach-intro{font-size:13px;color:var(--muted);max-width:340px}.service-list details{border-top:1px solid var(--line);padding:23px 0}.service-list details:last-child{border-bottom:1px solid var(--line)}summary{list-style:none;display:flex;align-items:center;gap:24px;cursor:pointer;font:29px var(--serif)}summary::-webkit-details-marker{display:none}summary small{font:9px var(--sans);color:var(--darkmustard)}summary:after{content:'+';margin-left:auto;font:20px var(--sans)}details[open] summary:after{content:'−'}details p{padding:18px 25px 0 37px;font-size:12px;color:var(--muted);max-width:400px}.studio{display:grid;grid-template-columns:.85fr 1.15fr;gap:10%;align-items:center;border-top:1px solid var(--line);padding-top:70px}.monica-card{background:var(--mustard);padding:50px 45px;position:relative}.monica-card blockquote{margin:25px 0 30px;font:italic 42px/1.1 var(--serif);letter-spacing:-.02em}.monica-card .signature{font:italic 33px var(--serif)}.studio h2{margin:19px 0 24px}.studio p{font-size:13px;color:var(--muted);max-width:410px;margin-bottom:17px}.studio .line-link{margin-top:5px}.contact{background:var(--mustard);text-align:center;padding-top:76px;padding-bottom:76px}.contact h2{font-size:clamp(50px,6.5vw,90px);margin:21px auto 26px;max-width:760px}.contact .line-link{font-size:12px}.contact .phone{display:block;font-size:11px;margin-top:23px}.footer{padding-top:48px;padding-bottom:22px}.footer-top{display:flex;justify-content:space-between;gap:35px;padding-bottom:45px}.footer address{font-size:11px;line-height:1.9;font-style:normal;color:var(--muted)}.footer-links{display:flex;gap:22px;font-size:10px}.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:18px;gap:25px;color:var(--muted);font-size:9px}.skip{position:absolute;top:-60px;background:white;padding:10px;z-index:10}.skip:focus{top:0}dialog{border:0;padding:0;background:var(--paper);width:min(950px,94vw);max-height:94vh}dialog::backdrop{background:#29251ce6}dialog img{height:auto;max-height:77vh;object-fit:contain;background:#29251c}.dialog-footer{display:flex;justify-content:space-between;align-items:center;padding:16px 22px;gap:20px}.dialog-footer span{font:25px var(--serif)}.dialog-footer button{background:none;border:1px solid var(--line);padding:5px 15px}
@media(min-width:1600px){.hero{max-width:1600px;margin:auto}}
@media(max-width:900px){.nav{gap:20px}.hero h1{font-size:72px}.hero-copy{padding-top:50px}.hero,.hero-art{min-height:620px}.projects{gap:20px}.image-button img{height:300px}.materials{gap:6%}.swatch{width:48px;height:64px}.monica-card{padding:35px 28px}.monica-card blockquote{font-size:35px}.approach{gap:7%}}
@media(max-width:640px){.wrap{padding-left:7%;padding-right:7%}.header{height:88px;position:relative}.menu{display:block}.nav{display:none;position:absolute;left:0;right:0;top:88px;z-index:10;background:var(--paper);padding:22px 7%;border-bottom:1px solid var(--line);align-items:flex-start}.nav.open{display:flex;flex-direction:column;gap:17px}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:40px 7% 31px}.hero h1{font-size:clamp(56px,18.5vw,76px);margin:23px 0}.hero p{max-width:320px}.hero-foot{padding-top:28px}.hero-art{min-height:380px}.art-caption{left:7%;bottom:20px;font-size:8px}.ticker{font-size:19px;flex-wrap:wrap;gap:10px 18px;justify-content:center}.ticker span:nth-last-child(-n+2){display:none}.section{padding-top:62px;padding-bottom:62px}.intro h2{font-size:46px}.materials,.approach,.studio{grid-template-columns:minmax(0,1fr);gap:35px}.materials>*{min-width:0}.sample-tag{right:20px;font-size:21px}.swatches{gap:10px}.swatch{min-width:0}.materials{margin-top:38px}.material-photo{height:350px}.palette-copy h3{font-size:39px}.swatch{width:52px;height:66px}.section-head{display:block}.section-head h2{font-size:46px}.section-head .line-link{margin-top:20px}.projects{grid-template-columns:1fr;gap:35px}.project:nth-child(n){padding-top:0}.image-button img{height:390px}.project h3{font-size:30px}.approach h2{font-size:47px}.studio{padding-top:50px}.monica-card{padding:35px}.monica-card blockquote{font-size:38px}.studio h2{font-size:46px}.contact{padding-top:57px;padding-bottom:57px}.contact h2{font-size:58px}.footer-top{flex-direction:column;gap:25px;padding-bottom:28px}.footer-links{flex-wrap:wrap}.footer-bottom{flex-direction:column;gap:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.earth-study{background:#332e26;color:#f5f1e8;padding-top:78px;padding-bottom:78px}.earth-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:8%;align-items:center}.earth-copy .eyebrow{color:#d0b85d}.earth-copy h2{margin:21px 0 25px;font-size:clamp(45px,4.8vw,70px)}.earth-copy>p{font-size:13px;color:#d6cdbd;max-width:330px}.earth-copy .line-link{color:#d0b85d;margin-top:28px}.earth-image{height:490px}.earth-image img{height:100%;object-position:center}.earth-image .enlarge{color:#302c26}.earth-notes{display:flex;gap:23px;margin-top:22px;flex-wrap:wrap;font:9px/1.8 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:#d6cdbd}.earth-notes span{border-bottom:2px solid #a77753;padding-bottom:7px}.earth-notes span:first-child{border-color:#b7a044}.earth-notes span:last-child{border-color:#b8a473}.monica-card{border-bottom:7px solid #977154}.project-colours i{height:16px}.earth-caption{margin-top:13px;font-size:9px;color:#b7ae9f;letter-spacing:.05em}
@media(max-width:640px){.earth-study{padding-top:53px;padding-bottom:53px}.earth-grid{grid-template-columns:minmax(0,1fr);gap:32px}.earth-copy h2{font-size:48px}.earth-image{height:340px}.earth-notes{gap:18px}.earth-caption{font-size:8px}}
.materials{display:block;max-width:620px;margin:40px auto 0}.palette-copy>p{max-width:100%}.palette-copy h3{font-size:35px}.palette-detail p{max-width:100%}.studio-steps{list-style:none;padding:0;margin:22px 0 0;counter-reset:steps}.studio-steps li{counter-increment:steps;padding:20px 0;border-top:1px solid #302c2640}.studio-steps strong{display:block;font:30px var(--serif)}.studio-steps strong:before{content:'0' counter(steps) ' / ';font:11px var(--sans);margin-right:10px}.studio-steps span{display:block;font-size:12px;margin-top:8px}
.nav .menu-items{display:contents;list-style:none;margin:0;padding:0}.nav .menu-items li{display:contents}.nav .menu-items li:last-child>a{border-bottom:1px solid;padding:7px 0}.wp-block-html{margin:0}
/* Persistent navigation */
html{scroll-padding-top:126px}
.header{position:sticky;top:0;z-index:100;background:var(--paper);box-shadow:0 1px 0 #302c2612}
.skip{z-index:101}
body.admin-bar .header{top:32px}
html:has(body.admin-bar){scroll-padding-top:158px}
@media(max-width:782px){body.admin-bar .header{top:46px}html:has(body.admin-bar){scroll-padding-top:172px}}
@media(max-width:640px){html{scroll-padding-top:108px}.header{position:sticky}.nav{max-height:calc(100dvh - 88px);overflow-y:auto}html:has(body.admin-bar){scroll-padding-top:154px}}
@media(max-width:600px){body.admin-bar .header{top:0}html:has(body.admin-bar){scroll-padding-top:108px}}
/* Full-width navigation background with aligned contents */
.header{max-width:none}
@media(min-width:1600px){.header{padding-left:calc((100% - 1600px)/2 + 6%);padding-right:calc((100% - 1600px)/2 + 6%)}}

/* Scrollable project gallery */
.projects{display:flex;gap:28px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-color:var(--mustard) #d8d0bf;scrollbar-width:auto;padding:7px 3px 26px;overscroll-behavior-x:contain}
.projects .project{flex:0 0 calc((100% - 56px)/3);min-width:0;scroll-snap-align:start}
.projects .project:nth-child(3n+1){padding-top:0}.projects .project:nth-child(3n+2){padding-top:75px}.projects .project:nth-child(3n){padding-top:35px}
.projects::-webkit-scrollbar{height:9px}.projects::-webkit-scrollbar-track{background:#d8d0bf;border-radius:8px}.projects::-webkit-scrollbar-thumb{background:var(--mustard);border-radius:8px}
.gallery-controls{display:flex;align-items:center;gap:12px}.gallery-controls button{width:46px;height:46px;border:1px solid var(--muted);border-radius:50%;background:transparent;font-size:23px;line-height:1}.gallery-controls button:hover{background:var(--mustard)}.gallery-controls button:disabled{opacity:.3;cursor:default;background:transparent}.gallery-count{font-size:11px;min-width:46px;text-align:center}
@media(max-width:900px){.projects{gap:20px}.projects .project{flex-basis:calc((100% - 20px)/2)}}
@media(max-width:640px){.gallery-controls{margin-top:24px}.projects .project{flex-basis:88%}.projects .project:nth-child(n){padding-top:0}}

/* Dedicated portfolio page */
.portfolio-intro{padding-top:65px;padding-bottom:48px;border-bottom:1px solid var(--line);margin-bottom:42px}.portfolio-intro h1{font-size:clamp(64px,7vw,106px);letter-spacing:-.045em;margin:18px 0 24px}.portfolio-intro p:last-child{max-width:470px;color:var(--muted)}.portfolio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 28px;padding-bottom:75px}.portfolio-card{margin:0;min-width:0}.portfolio-card .image-button img{height:auto;aspect-ratio:4/5;object-fit:cover}.portfolio-card figcaption{font:25px var(--serif);margin-top:15px}.portfolio-card small{font:9px var(--sans);color:var(--muted);letter-spacing:.12em;display:block;margin-top:7px}.portfolio-contact{padding:38px 0 65px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:25px}.portfolio-contact p{font:32px var(--serif)}.all-gallery-link{margin-top:26px}.nav .current-menu-item>a{color:var(--darkmustard);text-decoration:underline;text-underline-offset:8px}
@media(max-width:900px){.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.portfolio-intro{padding-top:36px}.portfolio-grid{gap:26px 15px}.portfolio-card figcaption{font-size:20px}.portfolio-contact{align-items:flex-start;flex-direction:column}}
@media(max-width:420px){.portfolio-grid{grid-template-columns:1fr}}
/* Simplified photo controls */
.projects{scrollbar-width:none;-ms-overflow-style:none}
.projects::-webkit-scrollbar{display:none;width:0;height:0}
.image-button .enlarge{display:none}

/* Contact enquiry dialog */
.enquiry-dialog{width:min(620px,calc(100% - 32px));max-height:90dvh;padding:42px;color:var(--ink);overflow-y:auto}.enquiry-dialog h2{font-size:clamp(38px,6vw,56px);margin:18px 0}.enquiry-dialog #enquiry-note{font-size:12px;color:var(--muted);margin-bottom:24px}.enquiry-close{position:absolute;top:12px;right:17px;background:none;border:0;font-size:30px}.enquiry-dialog label{display:block;font-size:12px;margin:15px 0 6px}.enquiry-dialog label span{color:var(--muted)}.enquiry-dialog input,.enquiry-dialog textarea{display:block;width:100%;border:1px solid var(--line);padding:11px 13px;background:#fffaf2;color:var(--ink);font:16px var(--sans);border-radius:0}.enquiry-dialog textarea{resize:vertical}.enquiry-dialog :is(input,textarea):focus{outline:2px solid var(--mustard);outline-offset:2px}.enquiry-submit{margin-top:23px;background:var(--mustard);border:0;padding:14px 22px}.enquiry-status{font-size:13px;margin-top:14px}.enquiry-dialog::backdrop{background:#29251cbd}@media(max-width:640px){.enquiry-dialog{padding:32px 24px}}

.room-preview{position:relative;aspect-ratio:3/2;max-width:1100px;margin:42px auto 24px;background:#ddd4c2;overflow:hidden}.room-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .35s}.room-palette-controls{max-width:1100px;margin:auto}.room-options{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.room-option{flex:1;min-width:140px;padding:12px;background:transparent;border:1px solid var(--line);text-align:left;font-size:12px}.room-option[aria-pressed=true]{border-color:var(--darkmustard);box-shadow:inset 0 -3px var(--mustard)}.room-option i{display:block;height:26px;background:var(--chips);margin-bottom:9px}.room-caption{font-size:11px;color:var(--muted)}.room-description{font-size:14px;min-height:50px}.room-preview.is-loading{cursor:progress}@media(max-width:640px){.room-option{min-width:calc(50% - 12px)}.room-preview{margin-top:30px}}@media(prefers-reduced-motion:reduce){.room-preview img{transition:none}}
/* Room preview beside palette controls */
#materials{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);column-gap:5%;align-items:start}
#materials .room-preview{grid-column:1;grid-row:1 / span 2;width:100%;margin:0;align-self:center}
#materials .intro{grid-column:2;grid-row:1;text-align:left;max-width:none;margin:0}
#materials .intro h2{font-size:clamp(42px,4vw,64px);margin:18px 0 20px}
#materials .intro p:last-child{margin:0;font-size:13px}
#materials .room-palette-controls{grid-column:2;grid-row:2;max-width:none;width:100%;margin:24px 0 0}
#materials .room-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
#materials .room-option{min-width:0;padding:10px;font-size:11px}
#materials .room-description{font-size:12px;min-height:44px}
@media(max-width:900px){#materials{grid-template-columns:1fr;gap:28px}#materials .room-preview{grid-column:1;grid-row:1}#materials .intro{grid-column:1;grid-row:2}#materials .room-palette-controls{grid-column:1;grid-row:3;margin:0}#materials .room-options{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){#materials .room-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Footer icon links */
.footer-links{gap:12px;align-items:flex-start}.footer-links a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;transition:color .2s,background .2s;border-radius:50%}.footer-links a:hover{color:var(--darkmustard);background:#b7a04418}.footer-links svg{display:block;flex-shrink:0}

.enquiry-privacy{font-size:12px;line-height:1.6;margin:16px 0}.enquiry-privacy a{text-decoration:underline}.footer-bottom>a{text-decoration:underline}

/* Keep the opening composition balanced on scaled and shorter laptop displays. */
@media (min-width:641px) and (max-width:1599px) {
  .hero { margin-inline:clamp(20px,3vw,48px); }
  .hero-copy { min-width:0; }
}
@media (min-width:641px) and (max-height:800px) {
  .header { height:72px; }
  .brand-logo { width:120px; }
  html { scroll-padding-top:92px; }
  .hero { min-height:clamp(400px,calc(100svh - 100px),650px); }
  .hero-art { min-height:0; }
  .hero-copy { padding-top:clamp(22px,5svh,40px); padding-bottom:clamp(22px,4svh,32px); }
  .hero h1 { font-size:clamp(48px,min(6.7vw,13svh),106px); margin-top:clamp(16px,3svh,24px); margin-bottom:clamp(16px,3svh,24px); }
  .hero-foot { padding-top:20px; }
  .art-caption { bottom:20px; }
}
