@charset "UTF-8";
:root{--ink:#202321;--paper:#f7f7f5;--white:#fff;--muted:#646963;--line:#d9dcd6;--copper:#d7b777;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:1rem;line-height:1.6}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit}img{display:block;max-width:100%;image-orientation:from-image}button{cursor:pointer}h1,h2,h3,p,figure{margin:0}h1,h2{font-family:var(--serif);font-weight:400;letter-spacing:-.045em;line-height:1.07}h1 em,h2 em{font-weight:400}h3{font-size:1.25rem;font-weight:500;line-height:1.3;letter-spacing:-.02em}a:focus-visible,button:focus-visible{outline:3px solid #a47446;outline-offset:5px}.skip-link{position:absolute;left:1rem;top:-100px;background:var(--paper);color:var(--ink);padding:12px 20px;z-index:100}.skip-link:focus{top:1rem}
.site-header{background:var(--ink);color:var(--paper)}.header-inner{max-width:1360px;margin:auto;padding:26px 52px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:inline-flex;align-items:center;gap:18px;flex-shrink:0}.monogram{font-size:2rem;font-weight:800;letter-spacing:-.08em;line-height:1;border-right:1px solid #697069;padding-right:18px}.monogram-dot{color:var(--copper)}.brand-name{font-size:1rem;font-weight:700;letter-spacing:.16em;line-height:1.35}.brand-name>span{display:block;font-size:.75rem;letter-spacing:.12em;font-weight:400;margin-top:4px}nav{display:flex;align-items:center;gap:30px;font-size:.875rem}nav>a:not(.nav-contact){color:#d8dbd7}nav>a:hover{color:var(--copper)}.nav-contact{border:1px solid #74796f;padding:10px 17px;transition:background .2s}.nav-contact:hover{background:#353a35}.menu-toggle{display:none}.hero{background:var(--ink);color:var(--paper)}.hero-inner{max-width:1360px;margin:0 auto;padding:38px 52px 64px;display:grid;grid-template-columns:1.15fr 1fr;gap:70px;align-items:center}.eyebrow{font-size:.75rem;line-height:1.5;letter-spacing:.16em;font-weight:600}.hero .eyebrow{display:flex;align-items:center;gap:15px;color:var(--copper)}.short-rule{width:28px;height:1px;background:var(--copper);flex-shrink:0}h1{font-size:clamp(3.5rem,6.3vw,5.5rem);margin:25px 0}h1 em{color:var(--copper)}.hero-description{max-width:415px;color:#c8cdc7;font-size:1.0625rem;line-height:1.8}.hero-actions{display:flex;align-items:center;gap:26px;margin-top:34px;flex-wrap:wrap}.button{display:inline-flex;justify-content:center;align-items:center;min-height:52px;padding:14px 22px;font-size:.875rem;font-weight:600;line-height:1.4;transition:background .2s}.button-copper{background:var(--copper);color:#1d221c}.button-copper:hover{background:#d8b89b}.text-link{font-size:.875rem;display:inline-block;border-bottom:1px solid;padding:7px 0}.light-link{color:#e6e9e3;border-color:#777f72}.light-link:hover{color:var(--copper)}.hero-footnote{font-size:.75rem;letter-spacing:.11em;color:#a8afa5;margin-top:53px;line-height:1.8}.hero-image{position:relative;margin:0;background:#b8b9b4}.hero-image>img{width:100%;height:520px;object-fit:cover;object-position:50% 48%}.hero-image figcaption{background:#282d28;display:flex;justify-content:space-between;gap:20px;padding:17px 20px;font-size:.75rem;color:#d7ded1}.hero-image figcaption>span:first-child{color:var(--copper);letter-spacing:.08em;white-space:nowrap}.hero-baseline{max-width:1256px;margin:0 auto;display:flex;justify-content:space-between;border-top:1px solid #41463f;padding:20px 0;color:#a8afa5;font-size:.75rem;letter-spacing:.14em}
.section-wrap{max-width:1360px;margin:0 auto;padding:92px 52px}.section-topline{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px}.section-topline .eyebrow{color:#71766f}.section-index{font-size:.75rem;letter-spacing:.12em;color:#7c8278}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:60px;margin-bottom:45px}h2{font-size:clamp(2.5rem,4.5vw,3.65rem)}h2 em{color:#6b7568}.section-heading>p{max-width:350px;color:var(--muted);font-size:1rem;line-height:1.8;padding-bottom:5px}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.project-photo{border:0;background:#e0e2de;padding:0;position:relative;display:block;width:100%;overflow:hidden;text-align:left}.project-photo>img{width:100%;height:390px;object-fit:cover;transition:transform .6s ease}.project-card:nth-child(2) .project-photo>img{object-position:48% 45%}.project-card:nth-child(3) .project-photo>img{object-position:center 32%}.project-photo:hover>img{transform:scale(1.025)}.photo-action{position:absolute;bottom:14px;left:14px;right:14px;background:rgba(32,35,33,.88);color:white;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;font-size:.875rem}.photo-action>span{font-size:1.3rem;line-height:1}.project-meta{display:flex;justify-content:space-between;gap:10px;font-size:.75rem;color:#71766d;letter-spacing:.09em;margin-top:20px;line-height:1.5}.project-card h3{font-family:var(--serif);font-size:1.75rem;margin:10px 0;letter-spacing:-.03em}.project-card>p{font-size:1rem;color:var(--muted);line-height:1.7;max-width:340px}.detail-strip{margin-top:64px;border-top:1px solid var(--line);padding-top:34px;display:grid;grid-template-columns:1fr 2fr;gap:65px;align-items:center}.detail-copy .eyebrow{color:#71766f;margin-bottom:15px}.detail-copy h3{font-family:var(--serif);font-size:2rem;line-height:1.2;margin-bottom:14px}.detail-copy>p:last-child{max-width:260px;color:var(--muted)}.detail-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.detail-photos button{border:0;background:transparent;padding:0;text-align:left;color:var(--ink)}.detail-photos img{width:100%;height:205px;object-fit:cover}.detail-photos span{display:flex;justify-content:space-between;font-size:.875rem;line-height:1.6;padding-top:12px;gap:8px}.detail-photos b{font-weight:400;font-size:1.1rem}.detail-photos button:hover span{text-decoration:underline}
.services-section{border-top:1px solid var(--line)}.service-list{display:grid;grid-template-columns:1fr 1fr;column-gap:64px}.service-list article{border-top:1px solid var(--line);display:flex;gap:24px;padding:29px 0}.service-number{color:#7d8576;font-size:.75rem;padding-top:5px;min-width:22px}.service-list h3{font-size:1.35rem;margin-bottom:10px}.service-list p{color:var(--muted);max-width:400px;line-height:1.8}.approach-section{background:var(--ink);color:var(--paper)}.approach-section .section-topline .eyebrow{color:var(--copper)}.approach-section .section-index{color:#a0aa9b}.approach-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:100px}.approach-section h2 em{color:var(--copper)}.approach-intro{margin-top:28px;color:#c1c9bd;max-width:420px;line-height:1.85}.approach-values>div{position:relative;padding:23px 0 23px 46px;border-top:1px solid #495043}.approach-values>div>span{position:absolute;top:25px;left:0;font-size:.75rem;color:var(--copper)}.approach-values h3{margin-bottom:10px;font-size:1.25rem}.approach-values p{color:#c1c9bd;line-height:1.75;font-size:1rem;max-width:350px}.contact-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:100px}.contact-copy>p{max-width:415px;color:var(--muted);margin-top:24px;line-height:1.8}.button-dark{background:var(--ink);color:var(--white);margin-top:29px}.button-dark:hover{background:#414b3c}.email-address{display:block;width:fit-content;margin-top:19px;font-size:1rem;border-bottom:1px solid #a7aca0;overflow-wrap:anywhere}.contact-copy>.contact-note{font-size:.875rem;margin-top:8px;color:#757b70}.contact-guide{padding-top:9px}.contact-guide>.eyebrow{color:#71796b;margin-bottom:26px}.contact-guide ol{list-style:none;padding:0;margin:0}.contact-guide li{display:flex;gap:24px;padding:24px 0;border-top:1px solid var(--line)}.contact-guide li>span{font-size:.75rem;color:#727c68;padding-top:4px}.contact-guide li h3{font-size:1.25rem;margin-bottom:9px}.contact-guide li p{color:var(--muted);line-height:1.75;max-width:350px}.site-footer{background:var(--ink);color:var(--paper)}.footer-inner{max-width:1360px;padding:34px 52px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:30px}.footer-inner .monogram{font-size:1.65rem}.footer-inner .brand-name{font-size:.875rem}.footer-inner .brand-name>span{font-size:.75rem}.footer-inner>p{font-size:.75rem;color:#b3baad}.footer-top{font-size:.875rem;color:#d8ddd3}.footer-top:hover{color:var(--copper)}
.photo-dialog{width:min(920px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:20px 24px;border:1px solid #636c5b;background:var(--ink);color:var(--paper);overflow:auto}.photo-dialog::backdrop{background:rgba(10,14,10,.88)}.dialog-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px}.dialog-bar>p{font-size:.875rem;color:#c1c9bd}.dialog-close{border:0;background:transparent;color:white;padding:8px;font-size:.875rem;display:flex;align-items:center;gap:13px}.dialog-close>span{font-size:1.7rem;line-height:1}.dialog-image-wrap{display:flex;align-items:center;justify-content:center;background:#161916;min-height:240px}.dialog-image-wrap>img{max-width:100%;width:auto;max-height:65dvh;height:auto;object-fit:contain;image-orientation:from-image}.dialog-bottom{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding-top:17px}.dialog-bottom>button{color:var(--paper);border:1px solid #757e6f;background:transparent;font-size:.875rem;padding:9px 14px}.dialog-bottom>button:hover{background:#3b4535}.dialog-bottom>p{font-size:.875rem;text-align:center;line-height:1.5}.photo-dialog[open]{animation:dialog-in .2s ease}@keyframes dialog-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.hero-image>img{height:560px}}
@media(max-width:1100px){.header-inner{padding:25px 32px}.hero-inner{padding:30px 32px 50px;gap:40px}.hero-image>img{height:475px}.hero-baseline{margin:0 32px}.section-wrap{padding:76px 32px}.section-heading{gap:40px}.section-heading>p{max-width:290px}.project-grid{gap:20px}.project-photo>img{height:335px}.detail-strip{gap:35px}.detail-photos img{height:180px}.approach-layout,.contact-layout{gap:55px}.footer-inner{padding:32px}nav{gap:20px}.brand{gap:12px}.monogram{padding-right:12px}}
@media(max-width:850px){.header-inner{padding:22px 24px;position:relative;flex-wrap:wrap;gap:20px}.menu-toggle{display:flex;align-items:center;gap:13px;border:0;background:transparent;color:var(--paper);padding:10px 0 10px 10px;font-size:.875rem}.menu-lines{display:block;width:20px;height:10px;border-top:1px solid #d3d8ca;border-bottom:1px solid #d3d8ca}nav{display:none;flex-basis:100%;align-items:stretch;border-top:1px solid #495043;padding-top:14px}nav.open{display:flex}nav>a{padding:10px 0}.nav-contact{border:0;border-top:1px solid #495043!important;margin-top:4px!important}nav.open{flex-direction:column;gap:4px}.hero-inner{padding:20px 24px 40px;gap:32px;grid-template-columns:1.1fr 1fr}h1{font-size:clamp(3.1rem,6vw,4.3rem)}.hero-actions{gap:14px}.hero-description{font-size:1rem}.hero-image>img{height:445px}.hero-image figcaption{flex-direction:column;gap:4px;padding:13px 15px}.hero-footnote{margin-top:32px}.hero-baseline{margin:0 24px;font-size:.75rem;letter-spacing:.09em;gap:24px}.section-wrap{padding:64px 24px}.section-heading{align-items:flex-start;gap:30px}.section-heading>p{max-width:260px}.project-photo>img{height:285px}.project-grid{gap:16px}.project-card h3{font-size:1.5rem}.project-meta{font-size:.75rem;letter-spacing:.03em}.detail-strip{grid-template-columns:1fr 2fr;gap:24px}.detail-photos{gap:10px}.detail-photos img{height:165px}.detail-copy h3{font-size:1.65rem}.service-list{column-gap:30px}.service-list article{gap:16px}.service-list h3{font-size:1.2rem}.approach-layout,.contact-layout{gap:35px}.footer-inner{padding:28px 24px;flex-wrap:wrap}.footer-inner>p{margin-left:auto}.footer-top{flex-basis:100%;text-align:right}}
@media(max-width:640px){.header-inner{padding:20px}.brand-name{font-size:.875rem}.monogram{font-size:1.85rem}.brand-name>span{font-size:.75rem;letter-spacing:.08em}.hero-inner{grid-template-columns:1fr;padding:30px 20px 30px;gap:37px}.hero-copy .eyebrow{font-size:.75rem;letter-spacing:.12em}h1{font-size:clamp(3.25rem,12vw,4.9rem);margin:22px 0}.hero-description{max-width:430px}.hero-actions{margin-top:25px;gap:20px}.hero-footnote{margin-top:29px;font-size:.75rem;letter-spacing:.065em}.hero-image>img{height:380px;object-position:50% 46%}.hero-image figcaption{flex-direction:row;gap:12px;font-size:.75rem;flex-wrap:wrap}.hero-baseline{margin:0 20px;padding:18px 0;flex-wrap:wrap;gap:8px;justify-content:flex-start}.hero-baseline>span:last-child{display:none}.section-wrap{padding:54px 20px}.section-topline{margin-bottom:24px}h2{font-size:clamp(2.4rem,8.6vw,3.2rem)}.section-heading{flex-direction:column;gap:22px;margin-bottom:30px}.section-heading>p{max-width:440px}.project-grid{grid-template-columns:1fr;gap:37px}.project-photo>img{height:390px}.project-card:nth-child(2) .project-photo>img{height:300px}.project-card:nth-child(3) .project-photo>img{height:390px}.project-card h3{font-size:1.85rem}.project-card>p{max-width:440px}.project-meta{margin-top:17px;letter-spacing:.08em}.detail-strip{grid-template-columns:1fr;gap:26px;margin-top:43px;padding-top:28px}.detail-copy h3{font-size:1.8rem}.detail-copy h3>br{display:none}.detail-copy>p:last-child{max-width:400px}.detail-photos{gap:12px}.detail-photos img{height:170px}.detail-photos span{font-size:.75rem;line-height:1.5;flex-wrap:wrap;gap:4px}.service-list{grid-template-columns:1fr}.service-list article{padding:25px 0;gap:20px}.service-list h3{font-size:1.35rem}.service-list p{max-width:440px}.approach-layout,.contact-layout{grid-template-columns:1fr;gap:35px}.approach-intro{margin-top:23px}.approach-values>div{padding-top:22px;padding-bottom:22px}.contact-guide{padding-top:9px}.contact-guide>.eyebrow{margin-bottom:19px}.contact-guide li{gap:22px}.footer-inner{padding:30px 20px;flex-direction:column;align-items:flex-start;gap:24px}.footer-inner>p{margin-left:0}.footer-top{flex-basis:auto;text-align:left}.photo-dialog{padding:12px 14px;width:calc(100% - 20px);max-height:calc(100dvh - 20px)}.dialog-image-wrap>img{max-height:60dvh}.dialog-bottom{gap:12px;grid-template-columns:1fr 1fr}.dialog-bottom>p{grid-column:1 / -1;grid-row:1;text-align:left}.dialog-bottom>button{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* Original STM brand artwork. */
.site-header,.site-footer{background:#000}.brand-logo{width:82px;height:82px;object-fit:contain;flex-shrink:0}.header-inner{padding-top:15px;padding-bottom:15px}.footer-inner .brand-logo{width:108px;height:108px}.brand{gap:16px}.button-copper:hover{background:#e7cc94}h1 em,.approach-section h2 em{color:var(--copper)}
@media(max-width:850px){.header-inner{padding-top:12px;padding-bottom:12px}.brand-logo{width:65px;height:65px}.brand{gap:12px}}
@media(max-width:640px){.brand-logo{width:56px;height:56px}.header-inner{column-gap:12px}.brand{gap:10px}.brand-name{font-size:.875rem;letter-spacing:.10em}.brand-name>span{font-size:.75rem;letter-spacing:.03em}.menu-toggle{gap:9px}.footer-inner .brand-logo{width:90px;height:90px}}
@media(max-width:360px){.header-inner>.brand .brand-name{font-size:.75rem}.header-inner>.brand .brand-name>span{font-size:.75rem;letter-spacing:0}.menu-toggle{font-size:.75rem;gap:7px}.menu-lines{width:16px}}

/* Keep the uploaded portfolio and its watermarks visible in full. */
.hero{background:#000}
.hero-brand{display:flex;justify-content:center;align-items:center}
.hero-brand>img{width:100%;max-width:460px;height:auto;object-fit:contain}
.watermarked-project-grid{grid-template-columns:minmax(0,1fr);max-width:1000px;margin:0 auto}
.watermarked-project-grid .portfolio-collage .project-photo>img{height:auto;width:100%;object-fit:contain;object-position:center}
.portfolio-collage .photo-action{position:static;padding:13px 17px;background:var(--ink)}
.portfolio-collage .project-photo:hover>img{transform:none}
.portfolio-collage>p{max-width:700px}
.dialog-bottom>p{grid-column:1/-1}
@media(max-width:640px){.hero-brand>img{max-width:340px}.watermarked-project-grid{grid-template-columns:minmax(0,1fr)}}

/* Show each branded project photo in its complete original framing. */
.watermarked-project-grid{display:block;columns:3;column-gap:28px;max-width:none}
.watermarked-project-grid .portfolio-photo{display:inline-block;width:100%;break-inside:avoid;vertical-align:top;margin-bottom:34px}
.watermarked-project-grid .portfolio-photo .project-photo>img{width:100%;height:auto;object-fit:contain;object-position:center}
.portfolio-photo .photo-action{position:static;padding:11px 14px;background:var(--ink)}
.portfolio-photo .project-photo:hover>img{transform:none}
.portfolio-photo h3{font-size:1.55rem;margin:9px 0 0}
.portfolio-photo .project-meta{margin-top:15px;letter-spacing:.05em}
.dialog-bottom>p{grid-column:auto}
@media(max-width:850px){.watermarked-project-grid{columns:2;column-gap:22px}}
@media(max-width:640px){.watermarked-project-grid{columns:1}.portfolio-photo h3{font-size:1.8rem}.dialog-bottom>p{grid-column:1/-1}}

.watermarked-project-grid .portfolio-photo:last-child{column-span:all;display:block;max-width:1000px;margin:24px auto 0}

.hero-image{background:#000}
.hero-image>img{width:100%;height:auto;object-fit:contain;object-position:center}
.gallery-toolbar{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}
.gallery-filters{display:flex;flex-wrap:wrap;gap:8px}
.gallery-filters>button{padding:10px 16px;min-height:44px;border:1px solid #aeb5a7;background:transparent;color:var(--ink);font-size:.875rem;line-height:1.5}
.gallery-filters>button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.gallery-filters>button:hover{border-color:var(--ink)}
.gallery-count{font-size:.875rem;color:var(--muted);white-space:nowrap}
.watermarked-project-grid .portfolio-photo[hidden]{display:none}
@media(max-width:640px){.gallery-toolbar{flex-direction:column;align-items:flex-start;gap:15px}.gallery-filters{gap:8px}.gallery-filters>button{padding:10px 12px}}

/* Emphasize the STM company branding in the header and footer. */
.brand-logo{width:100px;height:100px}
.brand-name{font-size:1.75rem;font-weight:800;letter-spacing:.11em;line-height:1.15;color:var(--copper)}
.brand-name>span{font-size:1.125rem;font-weight:600;letter-spacing:.075em;line-height:1.3;margin-top:8px;color:#fff}
.footer-inner .brand-logo{width:140px;height:140px}
.footer-inner .brand-name{font-size:2.125rem;font-weight:800;line-height:1.15;color:var(--copper)}
.footer-inner .brand-name>span{font-size:1.25rem;font-weight:600;letter-spacing:.06em;margin-top:10px;color:#fff}
@media(max-width:850px){
  .header-inner .brand-logo{width:80px;height:80px}
  .header-inner .brand-name{font-size:1.5rem}
  .header-inner .brand-name>span{font-size:1rem}
}
@media(max-width:640px){
  .header-inner .brand-logo{width:64px;height:64px}
  .header-inner .brand-name{font-size:1.375rem;letter-spacing:.08em}
  .header-inner .brand-name>span{font-size:.875rem;letter-spacing:.04em;margin-top:6px}
  .footer-inner .brand-logo{width:96px;height:96px}
  .footer-inner .brand-name{font-size:1.75rem;letter-spacing:.08em}
  .footer-inner .brand-name>span{font-size:1rem;letter-spacing:.035em;margin-top:8px}
}
@media(max-width:360px){
  .header-inner>.brand .brand-name{font-size:1.25rem;letter-spacing:.06em}
  .header-inner>.brand .brand-name>span{font-size:.875rem;letter-spacing:.025em}
  .header-inner .brand-logo{width:56px;height:56px}
}

/* Center the logo and company name with natural word spacing. */
.brand-name,.brand-name>span{font-family:var(--brand-font,Palatino,'Palatino Linotype','Book Antiqua',serif);font-style:normal}
.header-inner{display:grid;grid-template-columns:1fr;gap:18px;padding-top:24px;padding-bottom:20px}
.header-inner>.brand{display:flex;justify-content:center;gap:24px;width:100%;min-width:0}
.header-inner .brand-logo{width:116px;height:116px}
.header-inner .brand-name-wide{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px .32em;width:auto;min-width:0;font-size:clamp(2rem,3.65vw,3.125rem);font-weight:800;line-height:1.15;letter-spacing:.035em;color:#e9ca83;text-shadow:0 2px 20px rgba(215,183,119,.18)}
.header-inner .brand-name-wide>span{display:inline;margin:0;font:inherit;letter-spacing:inherit;color:inherit}
.header-inner nav{justify-content:flex-end;gap:32px;border-top:1px solid #735c32;padding-top:16px;font-size:1rem}
.header-inner .nav-contact{border-color:#b8995b;color:#edd59c}
@media(max-width:850px){
  .header-inner{gap:12px;padding:18px 24px 14px}
  .header-inner>.brand{gap:18px}
  .header-inner .brand-logo{width:84px;height:84px}
  .header-inner .brand-name-wide{font-size:clamp(1.5rem,3.65vw,2rem);gap:6px .32em;letter-spacing:.035em}
  .header-inner .menu-toggle{justify-self:end;min-height:44px;font-size:1rem}
  .header-inner nav{width:100%;justify-content:flex-start;gap:4px;font-size:1rem}
}
@media(max-width:640px){
  .header-inner{padding:18px 20px 12px}
  .header-inner>.brand{flex-direction:column;gap:12px}
  .header-inner .brand-logo{width:76px;height:76px}
  .header-inner .brand-name-wide{display:flex;flex-wrap:wrap;max-width:100%;justify-content:center;gap:7px .32em;font-size:clamp(1rem,3.4vw,1.25rem);letter-spacing:.02em;text-align:center}
  .header-inner .brand-name-wide>span:first-child{flex-basis:100%;font-size:clamp(1.75rem,6.8vw,2.5rem);letter-spacing:.06em}
}
@media(max-width:360px){
  .header-inner>.brand{gap:12px}
  .header-inner .brand-logo{width:64px;height:64px}
  .header-inner>.brand .brand-name-wide>span{font-size:inherit;letter-spacing:inherit}
  .header-inner>.brand .brand-name-wide>span:first-child{font-size:1.75rem;letter-spacing:.06em}
}

/* Font comparison is available only through the owner's preview link. */
.font-preview[hidden]{display:none}
.font-preview{width:100%;max-width:960px;justify-self:center;border:1px solid #735c32;padding:24px;color:#eee8dc}
.font-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}
.font-preview h2{font-family:var(--sans);font-size:1.375rem;font-weight:600;letter-spacing:0;line-height:1.4}
.font-preview-heading>a{font-size:.875rem;text-decoration:underline;text-underline-offset:4px}
.font-preview>p{font-size:1rem;color:#c8cdc7;line-height:1.6}
.font-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0 14px}
.font-options>button{display:block;text-align:left;padding:16px;border:1px solid #696352;background:#171612;color:#e9ca83;min-height:100px}
.font-options>button[aria-pressed="true"]{border-color:#e9ca83;background:#292317;box-shadow:inset 0 0 0 1px #e9ca83}
.font-options>button:hover{border-color:#e9ca83}
.font-option-label{display:block;font-size:.875rem;font-family:var(--sans);font-weight:400;font-style:normal;color:#eee8dc;margin-bottom:10px}
.font-option-sample{display:block;font-size:clamp(1.125rem,2vw,1.5rem);font-weight:700;font-style:normal;line-height:1.5}
[data-brand-font="modern"] .font-option-sample{font-family:Arial,Helvetica,sans-serif}
[data-brand-font="elegant"] .font-option-sample{font-family:Georgia,'Times New Roman',serif}
[data-brand-font="classic"] .font-option-sample{font-family:Palatino,'Palatino Linotype','Book Antiqua',serif}
[data-brand-font="bold"] .font-option-sample{font-family:'Trebuchet MS',Arial,sans-serif}
.font-preview>.font-preview-status{font-size:.875rem;color:#e9ca83}
@media(max-width:640px){.font-preview{padding:18px}.font-options{grid-template-columns:1fr}.font-preview-heading{align-items:flex-start;flex-wrap:wrap;gap:8px}}

/* Let narrow screens and larger text reflow without hiding content. */
.header-inner{grid-template-columns:minmax(0,1fr)}
.hero-inner{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.approach-layout,.contact-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.hero-copy,.hero-image,.section-heading>*,.approach-layout>div,.contact-layout>div,.contact-guide li>div,.service-list article>div{min-width:0}
h1,h2,h3,.brand-name,.brand-name>span{overflow-wrap:anywhere}
.button{max-width:100%;white-space:normal;text-align:center}
.footer-inner .brand{max-width:100%;min-width:0;flex-wrap:wrap}
.footer-inner .brand-name{max-width:100%}
.menu-toggle,.dialog-close,.dialog-bottom>button{min-height:44px}
.photo-dialog{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}
.dialog-image-wrap>img{max-height:65vh;max-height:65dvh}
@media(max-width:850px){
  .hero-inner{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
}
@media(max-width:640px){
  .hero-inner,.approach-layout,.contact-layout,.service-list{grid-template-columns:minmax(0,1fr)}
  .hero-copy .eyebrow{flex-wrap:wrap}
  .header-inner .brand-name-wide>span{min-width:0;max-width:100%}
  .dialog-bar{flex-wrap:wrap;gap:8px}
  .photo-dialog{max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px)}
  .dialog-image-wrap>img{max-height:60vh;max-height:60dvh}
}

/* Keep the approved tagline directly beneath the STM name. */
.brand-copy{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0}
.brand-tagline{display:block;color:#eee8dc;font-family:var(--brand-font,Palatino,serif);font-size:clamp(.95rem,1.4vw,1.2rem);font-weight:400;font-style:normal;line-height:1.5;letter-spacing:.015em;text-align:center;max-width:100%;overflow-wrap:normal}
@media(max-width:640px){.brand-copy{width:100%;gap:10px}.brand-tagline{font-size:.95rem;max-width:30ch}}
