/* AFTIMOTTI / reference-led visual identity.
   Layout and component foundations live in styles.css.
   Keep these overrides last so the studio identity can evolve independently. */
:root {
  --paper: #f1ebe2;
  --light: #faf6ef;
  --ink: #382f27;
  --muted: #756958;
  --olive: #65513c;
  --olive-light: #93795a;
  --line: #d6cbbd;
  --tan: #b79a70;
  --bronze: #c6a77e;
  --dark: #30261e;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
body { background: var(--paper); }
h1, h2 { font-family: var(--sans); font-weight: 300; }
h2 { text-transform: uppercase; font-size: clamp(33px, 3.7vw, 54px); line-height: 1.12; letter-spacing: -.035em; }
h2 em { font-style: normal; color: #968371; }
h3 { font-family: var(--serif); letter-spacing: -.025em; }
.eyebrow { font-size: 9px; letter-spacing: .2em; font-weight: 400; }
.wrap { width: min(1280px, calc(100% - 128px)); }
.section { padding-block: 105px; }
.button { border-radius: 0; min-height: 47px; padding: 13px 22px; font-size: 9px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.button span { font-size: 19px; }
.button-dark { background: var(--olive); border-color: var(--olive); }
.button-dark:hover { background: #493b2d; }
.button-light { background: transparent; border-color: #a78b68; color: #f3eadd; }
.button-light:hover { background: #a78b68; color: #211c17; }
.text-link { font-size: 10px; letter-spacing: .03em; font-weight: 400; }
.text-link:hover { color: #a17a4f; }
:focus-visible { outline-color: #c19a63; }

/* Transparent navigation becomes a compact dark header after scrolling. */
.site-header { position: fixed; top: 0; left: 0; right: 0; height: 138px; border: none; background: transparent; color: #f4ecdf; transition: background .25s, height .25s; }
.site-header.scrolled { height: 86px; background: #30261ef5; border-bottom: 1px solid #b79a7033; backdrop-filter: blur(12px); }
.header-inner { align-items: center; }
.brand { display: inline-flex; padding: 0; width: 178px; flex-shrink: 0; }
.studio-logo { display: block; width: 100%; height: auto; object-fit: contain; }
.site-header .studio-logo { filter: brightness(1.45) saturate(.65); }
.site-header.scrolled .brand { width: 124px; }
.site-header nav { gap: 38px; font-size: 11px; font-weight: 300; }
.site-header nav a { padding: 12px 0; }
.site-header nav a:after { background: #d6b995; bottom: 5px; }
.site-header .nav-contact { min-height: 42px; border: 1px solid #c5a77c; padding: 10px 20px; margin-left: 42px; gap: 27px; text-transform: uppercase; font-size: 8px; letter-spacing: .15em; }
.site-header .nav-contact:after { display: none; }
.site-header .nav-contact:hover { background: #c5a77c26; }
.site-header .nav-contact span { font-size: 17px; }
.menu-toggle { color: #f3ecdf; }

/* The photograph is full bleed. All text and navigation remain live HTML. */
.hero { display: block; position: relative; width: 100%; padding: 0; margin: 0; height: calc(100svh - 100px); min-height: 670px; max-height: 1000px; color: #f7f2e9; isolation: isolate; }
.hero-image { position: absolute; inset: 0; height: 100%; width: 100%; aspect-ratio: auto; min-height: 0; overflow: hidden; z-index: -2; background: #55412e; }
.hero-image img { object-fit: cover; object-position: center; transform: none; }
.hero-image:hover img { transform: none; }
.hero-image:after { background: linear-gradient(180deg, #21180e62 0%, #21180e00 30%, #21180e00 54%, #21180e8a 100%), linear-gradient(90deg, #21180e61 0%, #21180e28 40%, #21180e00 67%); }
.hero-stage { height: 100%; position: relative; }
.hero-copy { position: absolute; left: 0; top: 30%; padding: 0; max-width: 66%; }
.hero .eyebrow { color: #e0cfb7; font-size: 10px; letter-spacing: .23em; font-weight: 400; }
.hero .tiny-line { width: 70px; background: #c7ad89; margin-right: 16px; }
.hero h1 { font: 300 clamp(70px, 7.2vw, 110px)/.98 var(--sans); text-transform: uppercase; letter-spacing: -.045em; margin-top: 27px; color: #f5f0e8; }
.hero-disciplines { display: flex; gap: 15px; align-items: center; font-size: 9px; letter-spacing: .21em; margin-top: 24px; color: #e7d7be; font-weight: 400; }
.hero-disciplines span { color: #c9b28f; }
.hero-project-link { margin-top: 31px; border: 1px solid #c7aa7f; color: #f3e9dc; min-width: 179px; background: #59443021; justify-content: space-between; }
.hero-project-link:hover { background: #c7aa7f30; color: #fff; }
.hero-statement { position: absolute; right: 0; bottom: 79px; width: 261px; }
.statement-line { display: block; width: 72px; height: 1px; background: #d4bd98b3; margin-bottom: 20px; }
.hero-statement p { font: 17px/1.47 var(--serif); letter-spacing: -.015em; color: #f2e9dc; text-shadow: 0 1px 15px #1e160c42; }
.hero-footnote { position: absolute; left: 0; bottom: 26px; margin: 0; display: flex; align-items: center; gap: 12px; font: 7px/1.4 var(--sans); letter-spacing: .16em; color: #dacbb4; }
.hero-footnote span { opacity: .65; }
.hero-image-note { position: absolute; right: 0; bottom: 26px; font-size: 6px; letter-spacing: .1em; color: #d8c8b1; }

/* Four quiet entry points echo the reference's numbered service band. */
.practice-strip { background: #f1e8dc; border-bottom: 1px solid #d9cdbd; }
.practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 28px; }
.practice-grid a { display: flex; align-items: center; gap: 20px; min-width: 0; padding-inline: 28px; border-left: 1px solid #d4c8b8; }
.practice-grid a:first-child { border: none; padding-left: 0; }
.practice-grid a:last-child { padding-right: 0; }
.practice-number { font: 28px/1 var(--serif); letter-spacing: -.03em; color: #574631; }
.practice-grid strong { display: block; font-size: 8px; font-weight: 400; text-transform: uppercase; letter-spacing: .12em; }
.practice-grid small { display: block; font: 10px/1.4 var(--serif); color: #897761; margin-top: 6px; }
.practice-arrow { margin-left: auto; font-size: 15px; color: #a28662; transition: transform .2s; }
.practice-grid a:hover .practice-arrow { transform: translate(3px, -3px); }

/* Editorial project grid, with the established filters and detail views. */
.section-heading { align-items: end; margin-bottom: 25px; }
.section-heading h2 { margin-top: 22px; }
.section-intro { font-size: 12px; line-height: 1.9; }
.work-note { color: #827668; font-size: 10px; line-height: 1.8; max-width: 735px; }
.note-icon { color: #a08868; }
.filter-chip { border-radius: 0; padding: 8px 16px; font-size: 10px; border-color: #d1c4b3; }
.filter-chip[aria-pressed=true] { background: #685440; border-color: #685440; }
.filter-chip:hover { background: #e8dfd2; }
.filter-chip[aria-pressed=true]:hover { background: #80684e; }
.filter-bar { padding-bottom: 20px; }
.select-field select, .search-field input { font-size: 10px; }
.results-bar { min-height: 55px; font-size: 9px; }
.project-grid { column-gap: 38px; row-gap: 47px; }
.project-photo { aspect-ratio: 1.48; }
.project-photo .image-arrow { border-radius: 0; background: #efe7dc; color: #70573c; width: 38px; height: 38px; font-size: 20px; }
.project-status { background: #f2eadfed; color: #5c4b37; letter-spacing: .11em; font-size: 7px; }
.project-meta { font-size: 8px; letter-spacing: .1em; }
.project-card h3 { font-size: 31px; margin-top: 11px; color: #4d3e2e; }
.project-subtitle { font-size: 11px; margin-top: 8px; }
.empty-state { background: #e9dfd0; }

.services-section { background: #30261e; color: #f0e7da; }
.services-section .eyebrow { color: #c4a982; }
.services-intro h2 { margin-top: 25px; }
.services-intro h2 em { color: #be9f79; }
.services-intro>p:not(.eyebrow) { color: #cdbdaa; }
.services-intro>p.services-note { color: #baa78f; }
.service-list details, .service-list details:last-child { border-color: #baa78f44; }
.service-list summary { font-family: var(--serif); font-size: 27px; }
.service-number { color: #b39876; }
.accordion-icon:before, .accordion-icon:after { background: #c5ab88; }
.service-description { color: #c7b8a4; }
.service-description span { color: #b19b7e; }
.process-row { border-color: #baa78f44; padding-top: 38px; }
.process-row h3 { color: #eee2d3; }
.process-row div>span, .process-row div>p { color: #bba78e; }
.about-section { gap: 90px; }
.about-visual { height: 525px; }
.about-image-label { letter-spacing: .19em; }
.about-copy h2 { font-size: clamp(33px, 3.15vw, 47px); }
.about-copy .lead { font: 20px/1.5 var(--serif); color: #594632; }
.about-copy>p:not(.eyebrow):not(.lead) { font-size: 12px; line-height: 1.85; }
.about-facts { font-size: 10px; }
.quote-section { padding-block: 61px 79px; }
.quote-section>p { font-size: clamp(30px, 3.2vw, 46px); color: #6c563e; }
.quote-section>.eyebrow { color: #998164; }
.contact-section { background: #e8ddce; border-color: #d8c9b6; }
.contact-copy h2 { font-size: clamp(32px, 3.1vw, 47px); }
.contact-copy h2 em { color: #957a5b; }
.prototype-note { border-color: #cbbcaa; }
.form-row label, form label { color: #74604b; }
form input, form select, form textarea { border-color: #bda98f; }
form input::placeholder, form textarea::placeholder { color: #8a7965; }
.form-help { color: #88755f; }
.reference-tag { background: #dac9b3; }
.footer { display: block; padding-block: 37px; background: #30261e; color: #e8ddcc; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer .brand { width: 175px; }
.footer .studio-logo { filter: brightness(1.25) saturate(.8); }
.footer p { color: #baa58a; font-size: 9px; }
.footer .text-link { color: #cbb89f; }

.detail-topbar { background: #30261e; color: #eaddca; border-bottom-color: #b2936c33; }
.detail-topbar .eyebrow { color: #bda381; }
.detail-topbar .icon-button { border-color: #b69b754d; }
.detail-topbar .icon-button:hover { background: #68503a; }
.detail-heading h1 { font-family: var(--sans); font-weight: 300; text-transform: uppercase; font-size: clamp(42px, 5.6vw, 77px); line-height: 1.05; }
.detail-tag { background: #e6dac9; color: #786045; }
.detail-heading .subtitle { color: #947959; }
.detail-photo { aspect-ratio: 1.85; }
.detail-copy .lead { color: #5d4833; }
.detail-copy h2 { font-size: 22px; letter-spacing: -.02em; }
.palette-section { background: #e8ddcd; }
.palette-section h2 { font-size: 31px; }
.palette-section h2 em { color: #9a7e5d; }
.detail-cta h2 { font-size: 30px; }
.detail-cta h2 em { color: #9a7e5d; }
.detail-pagination button strong { color: #695038; }
.inquiry-dialog { border-color: #ad906c; }
.inquiry-dialog::backdrop { background: #231b13cf; }
.inquiry-dialog h2 { font-size: 39px; }
.copy-status { color: #695239; }
.toast { background: #4b3927; }

@media (min-width: 1700px) {
  .hero { height: calc(100svh - 100px); min-height: 760px; }
  .hero-copy { top: 32%; }
  .hero h1 { font-size: 116px; }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 80px); }
  .site-header { height: 118px; }
  .brand { width: 155px; }
  .site-header nav { gap: 26px; font-size: 10px; }
  .site-header .nav-contact { margin-left: 20px; padding-inline: 15px; gap: 18px; }
  .hero { height: calc(100svh - 95px); min-height: 650px; max-height: 950px; }
  .hero-copy { top: 29%; max-width: 69%; }
  .hero h1 { font-size: clamp(68px, 8vw, 88px); }
  .hero-statement { width: 235px; bottom: 76px; }
  .hero-statement p { font-size: 15px; }
  .hero .tiny-line { width: 50px; }
  .hero .eyebrow { font-size: 9px; }
  .hero-disciplines { font-size: 8px; gap: 12px; }
  .practice-grid { padding-block: 26px; }
  .practice-grid a { gap: 15px; padding-inline: 20px; }
  .practice-number { font-size: 24px; }
  .practice-grid strong { font-size: 7px; }
  .practice-grid small { font-size: 9px; }
  .practice-arrow { display: none; }
  .about-section { gap: 50px; }
  .about-visual { height: 470px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 52px); }
  .site-header { height: 112px; }
  .brand { width: 133px; }
  .site-header nav { gap: 20px; font-size: 10px; }
  .site-header .nav-contact { margin-left: 3px; padding: 9px 12px; gap: 13px; font-size: 7px; }
  .site-header.scrolled { height: 77px; }
  .site-header.scrolled .brand { width: 112px; }
  .hero { height: 740px; min-height: 700px; max-height: 850px; }
  .hero-copy { top: 26%; max-width: 85%; }
  .hero h1 { font-size: 78px; }
  .hero .eyebrow { font-size: 9px; }
  .hero-statement { width: 238px; bottom: 66px; }
  .hero-footnote { font-size: 6px; bottom: 23px; }
  .hero-image-note { font-size: 5px; bottom: 23px; }
  .practice-grid a { padding-inline: 15px; gap: 12px; }
  .practice-number { font-size: 23px; }
  .practice-grid small { font-size: 8px; }
  .practice-grid strong { font-size: 7px; letter-spacing: .06em; }
  .section { padding-block: 75px; }
  .section-heading { align-items: start; }
  .section-intro { padding-top: 34px; font-size: 11px; }
  .section-heading h2 { font-size: 38px; }
  .project-grid { column-gap: 23px; row-gap: 35px; }
  .project-card h3 { font-size: 27px; }
  .service-list summary { font-size: 23px; }
  .about-section { gap: 34px; }
  .about-visual { height: 430px; }
  .about-copy h2 { font-size: 34px; }
  .about-copy .lead { font-size: 18px; }
  .contact-copy h2 { font-size: 34px; }
  .detail-copy h2 { font-size: 22px; }
  .detail-cta h2 { font-size: 27px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 82px; }
  .wrap { width: calc(100% - 44px); }
  .site-header { height: 112px; }
  .site-header .brand { width: 139px; }
  .site-header.scrolled { height: 78px; }
  .site-header.scrolled .brand { width: 113px; }
  .menu-toggle { padding: 15px 0; font-size: 10px; gap: 15px; letter-spacing: .08em; }
  .menu-lines { border-color: #e5c9a3; }
  .menu-lines:after { background: #e5c9a3; }
  .menu-toggle[aria-expanded=true] .menu-lines:before, .menu-toggle[aria-expanded=true] .menu-lines:after { background: #e5c9a3; }
  .site-header nav { display: none; top: 100%; background: #30261efc; color: #f4e5d3; padding: 20px 25px 30px; border-bottom: 1px solid #b4966f44; gap: 3px; box-shadow: 0 20px 35px #1c130d44; font: 300 29px/1.3 var(--sans); }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding-block: 12px; }
  .site-header .nav-contact { margin: 13px 0 0; font-size: 10px; padding: 14px 18px; letter-spacing: .15em; border: 1px solid #b99b70; justify-content: space-between; }
  .hero { height: 100svh; min-height: 730px; max-height: 950px; }
  .hero-image { min-height: 0; height: 100%; aspect-ratio: auto; }
  .hero-image img { object-position: 61% center; }
  .hero-image:after { background: linear-gradient(180deg, #21180e85 0%, #21180e44 24%, #21180e38 58%, #21180eac 100%), linear-gradient(90deg, #21180e48 0%, #21180e00 100%); }
  .hero-copy { top: 25%; max-width: 100%; }
  .hero .eyebrow { font-size: 8px; letter-spacing: .18em; }
  .hero .tiny-line { width: 34px; margin-right: 12px; }
  .hero h1 { font-size: clamp(52px, 13.1vw, 78px); line-height: 1.01; margin-top: 25px; letter-spacing: -.055em; }
  .hero-disciplines { font-size: 7px; gap: 10px; letter-spacing: .13em; margin-top: 21px; }
  .hero-project-link { margin-top: 27px; font-size: 9px; padding: 13px 17px; min-width: 172px; }
  .hero-statement { right: auto; left: 0; bottom: 94px; width: min(280px, 92%); }
  .hero-statement p { font-size: 16px; line-height: 1.45; }
  .statement-line { width: 47px; margin-bottom: 15px; }
  .hero-footnote { display: flex; font-size: 6px; letter-spacing: .11em; bottom: 42px; gap: 10px; }
  .hero-image-note { left: 0; right: auto; bottom: 22px; font-size: 5px; letter-spacing: .12em; }
  .practice-grid { grid-template-columns: 1fr 1fr; padding-block: 0; }
  .practice-grid a { padding: 23px 13px; min-height: 87px; gap: 12px; }
  .practice-grid a:nth-child(odd) { border-left: none; padding-left: 0; }
  .practice-grid a:nth-child(even) { padding-right: 0; padding-left: 19px; }
  .practice-grid a:nth-child(n+3) { border-top: 1px solid #d8caba; }
  .practice-number { font-size: 26px; }
  .practice-grid strong { font-size: 7px; letter-spacing: .09em; }
  .practice-grid small { font-size: 9px; }
  .section { padding-block: 57px; }
  .section-heading { gap: 18px; }
  .section-heading h2 { font-size: 35px; margin-top: 19px; }
  .section-intro { padding-top: 0; font-size: 11px; }
  .work-note { font-size: 9px; }
  .filter-chip { font-size: 9px; padding: 8px 12px; }
  .filter-fields { gap: 15px; }
  .results-bar { min-height: 44px; font-size: 9px; }
  .project-grid { row-gap: 31px; }
  .project-photo { aspect-ratio: 1.34; }
  .project-meta { font-size: 7px; margin-top: 15px; }
  .project-card h3 { font-size: 29px; margin-top: 9px; }
  .project-subtitle { font-size: 10px; }
  .project-photo .image-arrow { width: 33px; height: 33px; font-size: 19px; }
  .services-intro h2 { font-size: 39px; }
  .service-list summary { font-size: 25px; }
  .process-row { padding-top: 27px; }
  .process-row h3 { font-size: 24px; }
  .about-section { gap: 32px; }
  .about-visual { height: auto; aspect-ratio: 1.13; }
  .about-copy h2 { font-size: 34px; }
  .about-copy .lead { font-size: 20px; }
  .about-facts { font-size: 10px; gap: 37px; }
  .quote-section { padding-block: 45px 54px; }
  .quote-section>p { font-size: 31px; }
  .contact-copy h2 { font-size: 34px; }
  .form-bottom .button { font-size: 8px; letter-spacing: .08em; gap: 16px; }
  .footer { padding-block: 30px; }
  .footer-inner { flex-wrap: wrap; gap: 20px; }
  .footer .brand { width: 170px; margin-right: calc(100% - 170px); }
  .footer p { font-size: 8px; }
  .detail-heading h1 { font-size: 43px; }
  .detail-photo { aspect-ratio: 1.18; }
  .detail-topbar .eyebrow { max-width: 135px; text-align: center; font-size: 6px; }
  .detail-copy h2 { font-size: 22px; }
  .palette-section h2 { font-size: 29px; }
  .detail-cta h2 { font-size: 29px; }
  .inquiry-dialog h2 { font-size: 35px; }
  .review-actions .button { font-size: 9px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 34px); }
  .hero { min-height: 710px; }
  .hero-copy { top: 24%; }
  .hero h1 { font-size: 49px; }
  .hero-disciplines { gap: 8px; font-size: 6px; }
  .hero-statement { bottom: 90px; width: 257px; }
  .hero-statement p { font-size: 15px; }
  .practice-grid a { gap: 10px; }
  .practice-grid a:nth-child(even) { padding-left: 13px; }
  .practice-grid strong { font-size: 6px; }
  .practice-grid small { font-size: 8px; }
  .section-heading h2, .about-copy h2, .contact-copy h2 { font-size: 31px; }
}
