:root {
  color-scheme: light;
  --paper: #f4f2ed;
  --paper-deep: #eae6de;
  --white: #fbfaf7;
  --ink: #171916;
  --muted: #66665f;
  --line: rgba(23, 25, 22, .14);
  --stone: #b68e6c;
  --forest: #28302a;
  --gutter: clamp(18px, 4.2vw, 72px);
  --serif: Georgia, 'Times New Roman', serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  font-family: 'DM Sans', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--white); background: var(--forest); }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: butt; stroke-linejoin: miter; transition: transform .25s ease; }
.skip-link { position: fixed; z-index: 50; top: 12px; left: 12px; padding: 12px 18px; color: white; background: var(--ink); border-radius: 999px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid #9d704f; outline-offset: 4px; }
.section-shell { width: min(calc(100% - var(--gutter) - var(--gutter)), 1500px); margin-inline: auto; }

/* Hero */
.hero-section { padding: 14px; }
.hero-layout { display: grid; height: calc(100svh - 28px); min-height: 0; max-height: 920px; grid-template-columns: minmax(0, 1.16fr) minmax(360px, .9fr); gap: 14px; }
.hero-panel, .hero-image { height: 100%; min-height: 0; border-radius: 34px; overflow: hidden; }
.hero-panel { position: relative; display: flex; flex-direction: column; padding: clamp(25px, 3vw, 48px) clamp(25px, 3.7vw, 58px) clamp(28px, 3vw, 46px); background: #eeece6; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 46px; }
.brand { display: inline-flex; width: 100px; flex: 0 0 auto; align-items: center; }
.brand img { width: 100%; height: auto; }
.brand-dark { filter: brightness(.13); }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 44px); margin-inline: auto; }
.main-nav a { color: #686862; font-size: 12px; transition: color .2s ease; }
.main-nav a:hover, .footer-column a:hover { color: var(--stone); }
.button { display: inline-flex; min-height: 58px; width: fit-content; align-items: center; justify-content: center; gap: 22px; border: 0; border-radius: 999px; padding: 0 26px; font-size: 13px; font-weight: 600; transition: transform 160ms var(--ease-out), background-color .25s ease; cursor: pointer; }
.button:hover .icon, .text-link:hover .icon, .location-links a:hover .icon { transform: translateX(4px); }
.button-small { min-height: 42px; gap: 12px; padding-inline: 18px; font-size: 11px; white-space: nowrap; }
.button-dark { color: var(--white); background: var(--ink); }

.button-primary { margin-top: 28px; color: var(--white); background: var(--ink); }

.menu-toggle, .mobile-nav { display: none; }
.hero-copy { max-width: 720px; margin-block: auto; padding: 56px 0 42px; }
.hero-copy h1 { max-width: 710px; margin: 0; font-family: Manrope, sans-serif; font-size: clamp(42px, 5.4vw, 78px); font-weight: 400; line-height: .99; letter-spacing: -.072em; }
.hero-copy h1 em, .section-heading h2 em { font-family: var(--serif); font-weight: 400; }
.hero-lede { max-width: 540px; margin: 24px 0 0; color: var(--muted); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.65; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fact-card { position: relative; display: grid; grid-template-columns: 46px 1fr; grid-template-rows: 1fr auto; min-height: 108px; align-items: end; gap: 0 10px; padding: 18px 14px 16px; border-radius: 17px; background: rgba(255,255,255,.72); }
.fact-photo { position: absolute; top: -16px; left: 15px; width: 35px; height: 35px; overflow: hidden; border: 3px solid #eeece6; border-radius: 50%; }
.fact-photo img { width: 100%; height: 100%; object-fit: cover; }
.fact-card strong { grid-column: 1 / -1; align-self: end; margin-bottom: 4px; font-family: Manrope, sans-serif; font-size: clamp(18px, 1.75vw, 25px); font-weight: 400; letter-spacing: -.05em; }
.fact-card > span:last-child { grid-column: 1 / -1; color: #74746d; font-size: 10px; line-height: 1.35; }
.hero-image { position: relative; margin: 0; background: var(--paper-deep); }
.hero-image::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(19, 22, 20, .32)); content: ''; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 50%; }
.hero-image figcaption, .hero-image-index { position: absolute; z-index: 1; bottom: 26px; color: white; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.hero-image figcaption { left: 28px; }
.hero-image-index { right: 28px; display: flex; align-items: center; gap: 8px; }
.hero-image-index i { width: 22px; height: 1px; background: rgba(255,255,255,.75); }

/* Featured projects */
.projects-section { padding-top: clamp(100px, 12vw, 176px); padding-bottom: clamp(84px, 10vw, 144px); }
.section-heading { display: grid; align-items: end; }
.section-heading-split { grid-template-columns: 1fr .65fr; gap: clamp(40px, 9vw, 140px); margin-bottom: 44px; }
.section-heading h2, .gallery-heading h2, .contact-copy h2 { max-width: 790px; margin: 0; font-family: Manrope, sans-serif; font-size: clamp(36px, 5.2vw, 72px); font-weight: 400; letter-spacing: -.07em; line-height: 1.03; }
.section-heading h2 em { white-space: nowrap; }
.section-intro { max-width: 440px; padding-bottom: 4px; }
.section-intro p { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 600; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 14px; }
.project-card { display: flex; min-width: 0; flex-direction: column; gap: 24px; }
.project-media { --arrow: 56px; --notch-gap: 8px; --fillet: 18px; position: relative; aspect-ratio: .8; overflow: hidden; border-radius: 27px 27px 0 27px; isolation: isolate; background: #d9d5ce; }
.project-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.project-card:hover .project-media > img { transform: scale(1.045); }
.project-notch { position: absolute; z-index: 1; right: 0; bottom: 0; width: calc(var(--arrow) + var(--notch-gap)); height: calc(var(--arrow) + var(--notch-gap)); border-top-left-radius: calc(var(--arrow) / 2 + var(--notch-gap)); background: var(--paper); }
.project-notch::before, .project-notch::after { position: absolute; width: var(--fillet); height: var(--fillet); background: radial-gradient(circle at 0 0, transparent calc(var(--fillet) - .6px), var(--paper) var(--fillet)); content: ''; }
.project-notch::before { right: 0; bottom: 100%; }
.project-notch::after { right: 100%; bottom: 0; }
.project-arrow { position: absolute; z-index: 2; right: 0; bottom: 0; display: grid; width: var(--arrow); height: var(--arrow); place-items: center; border-radius: 50%; color: var(--ink); background: #dfd6bd; transition: background .25s ease, color .25s ease; }
.project-arrow .icon { width: 20px; height: 20px; }
.project-arrow:hover { color: var(--white); background: var(--ink); }
.project-arrow:hover .icon { transform: translateX(3px); }
.project-copy { padding-right: 8px; }
.project-copy h3 { margin: 0 0 10px; font-family: Manrope, sans-serif; font-size: clamp(20px, 1.65vw, 25px); font-weight: 400; letter-spacing: -.045em; line-height: 1.14; }
.project-copy p { max-width: 36ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

/* Moving material strip */
.marquee { overflow: hidden; padding: 18px 0; color: #e8e4db; background: #242724; }
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 110s linear infinite; }
.marquee-group { display: flex; flex: 0 0 auto; align-items: center; }
.marquee-group span { padding: 0 28px; white-space: nowrap; font-size: 10px; letter-spacing: .26em; }
.marquee-mark { width: 7px; height: 7px; flex: 0 0 auto; fill: #c5a17a; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

/* About / Renata */
.about-section { padding-top: clamp(110px, 14vw, 190px); padding-bottom: clamp(108px, 14vw, 190px); }
.about-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.about-portrait { position: relative; width: 100%; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 27px; background: #ddd8cf; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.about-content { display: flex; min-width: 0; flex-direction: column; justify-content: center; }
.about-content h2 { max-width: 640px; margin: 0; font-family: Manrope, sans-serif; font-size: clamp(36px, 4.2vw, 60px); font-weight: 400; letter-spacing: -.067em; line-height: 1.04; }
.about-story { display: grid; max-width: 560px; gap: 16px; margin: 34px 0 40px; }
.about-story p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.about-person { max-width: 560px; margin: 0; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.75; }
.about-person strong { color: var(--ink); font-weight: 600; }

/* Full-bleed image gallery: big, tall and small tiles in three closed bands */
.gallery-section { padding-top: 20px; container-type: inline-size; }
.gallery-heading { display: grid; grid-template-columns: 1fr .65fr; align-items: end; gap: clamp(35px, 8vw, 120px); padding-bottom: 40px; }
.gallery-heading h2 { max-width: 760px; font-size: clamp(34px, 4.6vw, 64px); }
.gallery-heading .section-intro p { font-size: 14px; }
.bento-grid { --bento-gap: 6px; --bento-row: min(calc((100cqw - 12px - 4 * var(--bento-gap)) / 5 * .8), 330px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(6, var(--bento-row)); gap: var(--bento-gap); padding: 0 6px; }
.bento-item { position: relative; min-width: 0; min-height: 0; overflow: hidden; margin: 0; border-radius: 12px; background: #d9d5ce; }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.bento-item:hover img { transform: scale(1.035); }
.bento-04 { grid-area: 1 / 1 / span 2 / span 2; }
.bento-01 { grid-area: 1 / 3 / span 2 / span 1; }
.bento-12 { grid-area: 1 / 4 / span 2 / span 2; }
.bento-03 { grid-area: 3 / 1; }
.bento-06 { grid-area: 4 / 1; }
.bento-08 { grid-area: 3 / 2 / span 2 / span 1; }
.bento-14 { grid-area: 3 / 3 / span 2 / span 2; }
.bento-07 { grid-area: 3 / 5; }
.bento-11 { grid-area: 4 / 5; }
.bento-10 { grid-area: 5 / 1 / span 2 / span 1; }
.bento-02 { grid-area: 5 / 2 / span 2 / span 2; }
.bento-09 { grid-area: 5 / 4; }
.bento-13 { grid-area: 6 / 4; }
.bento-05 { grid-area: 5 / 5 / span 2 / span 1; }
.bento-10 img { object-position: 42% center; }
.bento-04 img { object-position: 62% center; }

/* FAQ */
.faq-section { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr); gap: clamp(50px, 12vw, 190px); padding-top: clamp(110px, 14vw, 190px); padding-bottom: clamp(115px, 14vw, 190px); }
.faq-heading { position: sticky; top: 38px; align-self: start; }
.faq-heading h2 { max-width: 390px; margin: 0 0 20px; font-family: Manrope, sans-serif; font-size: clamp(39px, 5vw, 68px); font-weight: 400; letter-spacing: -.075em; line-height: 1.02; }
.faq-heading h2 span { color: var(--stone); }
.faq-heading p { max-width: 320px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: grid; grid-template-columns: 40px 1fr 28px; align-items: center; gap: 16px; min-height: 83px; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-index { color: #756448; font-size: 10px; letter-spacing: .1em; }
.faq-item summary > span:nth-child(2) { font-size: clamp(15px, 1.35vw, 18px); letter-spacing: -.02em; }
.faq-symbol { position: relative; width: 25px; height: 25px; border: 1px solid var(--line); border-radius: 50%; }
.faq-symbol::before, .faq-symbol::after { position: absolute; top: 11px; left: 7px; width: 9px; height: 1px; background: var(--ink); content: ''; }
.faq-symbol::after { transform: rotate(90deg); transition: transform .2s ease; }
.faq-item[open] .faq-symbol::after { transform: rotate(0); }
.faq-answer { padding: 0 47px 24px 56px; }
.faq-answer p { max-width: 660px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* Contact */
.contact-section { display: grid; grid-template-columns: minmax(0, .92fr) minmax(450px, 1fr); gap: clamp(50px, 8vw, 120px); align-items: start; padding-top: clamp(85px, 10vw, 135px); padding-bottom: clamp(95px, 11vw, 145px); border-top: 1px solid var(--line); }
.contact-copy h2 { max-width: 640px; font-size: clamp(39px, 5vw, 68px); }
.contact-lede { max-width: 600px; margin: 22px 0 35px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.contact-locations { border-top: 1px solid var(--line); }
.location-card { padding: 22px 0; border-bottom: 1px solid var(--line); }
.location-heading { display: flex; align-items: center; gap: 14px; }
.location-heading > span { color: #756448; font-size: 10px; letter-spacing: .1em; }
.location-heading h3 { margin: 0; font-size: 15px; font-weight: 500; }
.location-heading i { color: var(--stone); font-style: normal; }
.location-card address { margin: 12px 0 0 32px; color: var(--muted); font-size: 13px; font-style: normal; line-height: 1.55; }
.location-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 13px 0 0 32px; }
.location-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; }
.location-links .icon { width: 14px; height: 14px; }
.location-links a:last-child { color: var(--muted); }
.contact-form-wrap { padding: clamp(28px, 4vw, 54px); border: 1px solid rgba(23,25,22,.07); border-radius: 26px; background: var(--white); box-shadow: 0 25px 75px rgba(36,31,24,.06); }
.form-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-index { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.form-heading p { margin: 0; color: var(--muted); font-size: 12px; }
#contact-form { display: grid; gap: 21px; }
#contact-form label { display: grid; gap: 9px; min-width: 0; color: #686862; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#contact-form input, #contact-form select, #contact-form textarea { width: 100%; min-height: 51px; border: 1px solid #d9d7d1; border-radius: 12px; padding: 13px 15px; color: var(--ink); background: #f7f6f2; font-size: 13px; letter-spacing: 0; text-transform: none; outline: none; transition: border-color .2s ease, background .2s ease; }
#contact-form textarea { min-height: 112px; resize: vertical; }
#contact-form input:focus, #contact-form select:focus, #contact-form textarea:focus { border-color: #9d704f; background: white; }
#contact-form ::placeholder { color: #aaa8a1; }
.form-privacy { margin: -5px 0 0; color: #6e6e67; font-size: 11px; line-height: 1.6; }
.form-submit { min-height: 55px; }
.form-status { min-height: 1px; margin: 0; color: #52624d; font-size: 12px; line-height: 1.5; }
.form-fallback-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.site-footer { padding: clamp(54px, 7vw, 92px) var(--gutter) 28px; color: #f1efe9; background: #181b1a; }
.footer-main { display: grid; grid-template-columns: 1.35fr .85fr 1fr .85fr; gap: clamp(30px, 6vw, 90px); width: min(100%, 1500px); margin: 0 auto; padding-bottom: 70px; }
.brand-light { width: 142px; }
.footer-brand-column > p { max-width: 310px; margin: 24px 0; color: #aaa9a2; font-size: 13px; line-height: 1.7; }
.social-link { display: inline-flex; align-items: center; gap: 10px; color: #f1efe9; font-size: 13px; transition: color .2s ease; }
.social-link:hover { color: var(--stone); }
.icon-instagram { width: 20px; height: 20px; stroke-width: 1.6; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-column h2 { margin: 4px 0 8px; color: #c7c5be; font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.footer-column a { color: #aaa9a2; font-size: 12px; line-height: 1.45; transition: color .2s ease; }
.footer-column a span { color: #a1a39c; }
.footer-legal { display: flex; justify-content: space-between; gap: 24px; width: min(100%, 1500px); margin: 0 auto; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); color: #858781; }
.footer-legal p { margin: 0; font-size: 10px; line-height: 1.6; }
.footer-legal span { color: #c6a680; }

@media (min-width: 1600px) {
  .hero-layout { max-width: 1900px; margin-inline: auto; }
}

@media (min-width: 961px) and (max-height: 800px) {
  .hero-panel { padding-top: 24px; padding-bottom: 22px; }
  .hero-copy { padding: 24px 0 20px; }
  .hero-copy h1 { font-size: clamp(44px, 8vh, 64px); }
  .hero-lede { margin-top: 16px; font-size: 14px; line-height: 1.5; }
  .button-primary { min-height: 50px; margin-top: 18px; }
  .fact-card { min-height: 92px; padding-top: 16px; padding-bottom: 12px; }
}

@media (max-width: 1100px) {
  .hero-layout { grid-template-columns: minmax(0, 1.05fr) minmax(320px, .88fr); }
  .brand { width: 82px; }
  .main-nav { gap: 17px; }
  .main-nav a { font-size: 11px; }
  .header-cta { padding-inline: 14px; font-size: 10px; }
  .hero-facts { gap: 8px; }
  .fact-card { min-height: 100px; padding-inline: 11px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 14px; }
  .project-media { aspect-ratio: 1; }
  .about-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .contact-section { grid-template-columns: minmax(0, .85fr) minmax(420px, 1fr); gap: 48px; }
}

@media (max-width: 960px) {
  :root { --gutter: 22px; }
  .hero-section { padding: 8px; }
  .hero-layout { height: auto; max-height: none; grid-template-columns: 1fr; gap: 8px; }
  .hero-panel { min-height: 680px; padding: 24px 25px 28px; border-radius: 25px; }
  .hero-image { min-height: 480px; height: 66vw; max-height: 620px; border-radius: 25px; }
  .site-header { gap: 16px; }
  .brand { width: 80px; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: grid; width: 44px; height: 44px; place-content: center; gap: 6px; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 15px; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav:not([hidden]) { position: absolute; z-index: 4; top: 76px; right: 22px; left: 22px; display: grid; gap: 0; padding: 10px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 20px 50px rgba(0,0,0,.08); }
  .mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .mobile-nav a:last-child { border-bottom: 0; }
  .hero-copy { padding: 60px 0 46px; }
  .hero-copy h1 { max-width: 610px; font-size: clamp(48px, 10vw, 76px); }
  .hero-lede { max-width: 510px; }
  .hero-facts { gap: 10px; }
  .fact-card { min-height: 105px; padding: 17px 14px 14px; }
  .fact-card strong { font-size: clamp(17px, 3.2vw, 23px); }
  .fact-card > span:last-child { font-size: 10px; }
  .projects-section { padding-top: 100px; padding-bottom: 95px; }
  .section-heading-split, .gallery-heading { grid-template-columns: 1fr 1fr; gap: 35px; }
  .project-grid { gap: 40px 10px; }
  .project-media { border-radius: 22px 22px 0 22px; }
  .project-copy h3 { font-size: 22px; }
  .about-layout { gap: 40px; }
  .about-portrait { border-radius: 22px; }
  .about-content h2 { font-size: clamp(31px, 4.6vw, 44px); }
  .about-story { margin: 26px 0 34px; }
  .about-story p { font-size: 14px; }
  .about-person { padding-top: 22px; font-size: 14px; }
  .bento-grid { --bento-gap: 5px; padding-inline: 5px; }
  .faq-section { grid-template-columns: .72fr 1fr; gap: 45px; padding-top: 110px; padding-bottom: 115px; }
  .contact-section { grid-template-columns: 1fr; gap: 45px; }
  .contact-copy { max-width: 700px; }
  .contact-locations { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; border-top: 0; }
  .location-card { border-top: 1px solid var(--line); }
  .location-heading { align-items: flex-start; gap: 8px; }
  .location-heading h3 { font-size: 13px; }
  .location-card address, .location-links { margin-left: 0; }
  .location-links { flex-direction: column; gap: 9px; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-column:last-child { grid-column: 2 / 4; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .hero-section { padding: 6px; }
  .hero-panel { min-height: 680px; padding: 20px 19px 22px; border-radius: 20px; }
  .hero-image { min-height: 430px; height: 115vw; border-radius: 20px; }
  .hero-copy { padding: 56px 0 50px; }
  .hero-copy h1 { font-size: clamp(45px, 12.2vw, 63px); }
  .hero-lede { margin-top: 17px; font-size: 14px; }
  .button-primary { min-height: 52px; margin-top: 21px; }
  .hero-facts { gap: 7px; }
  .fact-card { min-height: 94px; grid-template-columns: 1fr; padding: 17px 10px 12px; border-radius: 13px; }
  .fact-photo { top: -14px; left: 10px; width: 30px; height: 30px; }
  .fact-card strong { font-size: clamp(15px, 4vw, 19px); }
  .fact-card > span:last-child { font-size: 9px; }
  .hero-image figcaption, .hero-image-index { bottom: 20px; font-size: 9px; }
  .projects-section { padding-top: 80px; padding-bottom: 76px; }
  .section-heading-split, .gallery-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
  .section-heading h2, .gallery-heading h2 { font-size: clamp(38px, 10vw, 52px); }
  .section-intro p { margin-bottom: 12px; font-size: 13px; }
  .project-grid { grid-template-columns: 1fr; gap: 40px; }
  .project-media { --arrow: 52px; aspect-ratio: .92; border-radius: 19px 19px 0 19px; }
  .project-copy h3 { font-size: 24px; }
  .project-copy p { font-size: 14px; }
  .marquee { padding: 15px 0; }
  .marquee-group span { padding: 0 22px; font-size: 9px; }
  .about-section { padding-top: 82px; padding-bottom: 85px; }
  .about-layout { grid-template-columns: 1fr; gap: 34px; }
  .about-portrait { border-radius: 19px; }
  .about-content h2 { font-size: clamp(34px, 9vw, 44px); }
  .about-story { margin: 22px 0 30px; }
  .about-story p, .about-person { font-size: 14px; }
  .gallery-section { padding-top: 0; }
  .gallery-heading { padding-bottom: 25px; }
  .bento-grid { --bento-gap: 4px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: calc((100cqw - 8px - var(--bento-gap)) / 2 * .8); grid-auto-flow: row dense; padding: 0 4px; }
  .bento-grid .bento-item { grid-area: auto; border-radius: 9px; }
  .bento-grid .bento-big { grid-column: span 2; grid-row: span 2; }
  .bento-grid .bento-tall { grid-row: span 2; }
  .faq-section { display: block; padding-top: 82px; padding-bottom: 86px; }
  .faq-heading { position: static; margin-bottom: 29px; }
  .faq-heading h2 { max-width: 330px; font-size: 48px; }
  .faq-heading p { font-size: 13px; }
  .faq-item summary { grid-template-columns: 27px 1fr 26px; gap: 10px; min-height: 76px; }
  .faq-index { font-size: 9px; }
  .faq-item summary > span:nth-child(2) { font-size: 14px; line-height: 1.4; }
  .faq-answer { padding: 0 8px 20px 37px; }
  .faq-answer p { font-size: 13px; }
  .contact-section { gap: 33px; padding-top: 74px; padding-bottom: 80px; }
  .contact-copy h2 { font-size: 46px; }
  .contact-lede { margin: 16px 0 25px; font-size: 13px; }
  .contact-locations { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .location-card { padding: 19px 0; }
  .location-heading h3 { font-size: 14px; }
  .location-links { flex-direction: row; }
  .contact-form-wrap { padding: 25px 19px; }
  .form-heading { display: block; margin-bottom: 24px; }
  .form-heading p { margin-top: 9px; }
  #contact-form { gap: 18px; }
  .form-row { grid-template-columns: 1fr; gap: 18px; }
  .form-submit { width: 100%; }
  .site-footer { padding-top: 52px; padding-bottom: 22px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 38px 22px; padding-bottom: 42px; }
  .footer-brand-column { grid-column: 1 / -1; }
  .footer-brand-column > p { max-width: 340px; }
  .brand-light { width: 130px; }
  .footer-column:last-child { grid-column: auto; }
  .footer-column h2 { font-size: 9px; }
  .footer-column a { font-size: 11px; }
  .footer-legal { flex-direction: column; gap: 8px; }
}

/* ------------------------------------------------------------------ */
/* Motion: entrances, text reveals, interactive details               */
/* ------------------------------------------------------------------ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.count-up { font-variant-numeric: tabular-nums; }

/* Buttons: press feedback for everyone, text roll and lift on real hover */
.button:active { transform: scale(.97); }
.roll { display: inline-block; height: 1.3em; overflow: hidden; line-height: 1.3; }
.roll-inner { display: block; transition: transform 300ms var(--ease-out); }
.roll-inner::after { display: block; content: attr(data-text); content: attr(data-text) / ""; }
@media (hover: hover) and (pointer: fine) {
  .button:hover .roll-inner { transform: translateY(-50%); }
  .button-dark:hover, .button-primary:hover { background-color: #343a34; }
  .fact-card { transition: transform 300ms var(--ease-out), background-color .3s ease; }
  .fact-card:hover { transform: translateY(-4px); background-color: rgba(255,255,255,.92); }
  .project-card { transition: opacity 300ms ease, filter 300ms ease; }
  .project-grid:has(.project-card:hover) .project-card:not(:hover) { opacity: .58; filter: saturate(.6); }
}

/* Text link: underline retracts and redraws on hover */
.text-link { border-bottom: 0; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
@media (hover: hover) and (pointer: fine) {
  .text-link:hover { animation: underline-redraw 650ms var(--ease-in-out); }
}
@keyframes underline-redraw {
  0% { background-position: 100% 100%; background-size: 100% 1px; }
  45% { background-position: 100% 100%; background-size: 0 1px; }
  55% { background-position: 0 100%; background-size: 0 1px; }
  100% { background-position: 0 100%; background-size: 100% 1px; }
}

/* Hero panel: soft light that follows the pointer */
.hero-panel { isolation: isolate; }
.hero-panel::before { position: absolute; z-index: -1; inset: 0; background: radial-gradient(560px circle at var(--mx, 70%) var(--my, 30%), rgba(255,255,255,.7), transparent 62%); opacity: 0; transition: opacity 600ms ease; pointer-events: none; content: ''; }
@media (hover: hover) and (pointer: fine) {
  .hero-panel:hover::before { opacity: 1; }
}

/* Floating split navigation (morphic): splits around the current section */
.float-nav { position: fixed; z-index: 40; top: 14px; left: 50%; display: flex; align-items: center; gap: 8px; translate: -50% 0; filter: drop-shadow(0 12px 28px rgba(28,26,22,.13)); transform: translateY(calc(-100% - 30px)); opacity: 0; pointer-events: none; transition: transform 360ms var(--ease-out), opacity 260ms ease; }
.float-nav.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.float-brand { display: inline-flex; height: 46px; align-items: center; padding: 0 18px; border-radius: 999px; background: var(--white); }
.float-brand img { width: 58px; filter: brightness(.13); }
.split-nav { display: flex; }
.split-nav a { position: relative; display: inline-flex; height: 46px; align-items: center; padding: 0 17px; background: var(--white); color: #74746d; font-size: 12px; transition: transform 280ms var(--ease-in-out), border-radius 280ms var(--ease-in-out), color 150ms ease; }
.split-nav a + a { margin-left: -1px; }
.split-nav a:first-child { padding-left: 21px; border-radius: 999px 0 0 999px; }
.split-nav a:last-child { padding-right: 21px; border-radius: 0 999px 999px 0; }
.split-nav a.is-active { border-radius: 999px; color: var(--ink); }
.split-nav a.is-prev { border-top-right-radius: 999px; border-bottom-right-radius: 999px; }
.split-nav a.is-next { border-top-left-radius: 999px; border-bottom-left-radius: 999px; }
.split-nav a.is-before { transform: translateX(-6px); }
.split-nav a.is-after { transform: translateX(6px); }
.split-nav a::after { position: absolute; bottom: 9px; left: 50%; width: 14px; height: 2px; margin-left: -7px; border-radius: 2px; background: var(--stone); transform: scaleX(0); transition: transform 220ms var(--ease-out); content: ''; }
.split-nav a.is-active::after { transform: scaleX(1); }
.float-cta { min-height: 46px; }
@media (hover: hover) and (pointer: fine) {
  .split-nav a:hover { color: var(--ink); }
}

/* Marquee driven by scroll velocity once the script takes over */
.marquee-track.is-scripted { animation: none; will-change: transform; }

/* Gallery: zoom cursor and lightbox */
.bento-item[role="button"] { cursor: zoom-in; }
.bento-item:focus-visible { outline-offset: -4px; }
.has-bento-cursor .bento-item[role="button"] { cursor: none; }
.bento-cursor { position: fixed; z-index: 45; top: 0; left: 0; width: 92px; height: 92px; margin: -46px 0 0 -46px; pointer-events: none; }
.bento-cursor span { display: grid; width: 100%; height: 100%; place-items: center; border-radius: 50%; color: var(--white); background: rgba(23,25,22,.86); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: 0; transform: scale(.4); transition: opacity 200ms ease, transform 300ms var(--ease-out); }
.bento-cursor.is-on span { opacity: 1; transform: none; }
html.is-locked { overflow: hidden; }
.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; color: var(--white); background: transparent; }
.lightbox::backdrop { background: rgba(14,15,13,.94); }
.lightbox-figure { display: grid; height: 100%; margin: 0; padding: 72px clamp(16px, 8vw, 120px) 92px; place-content: center; justify-items: center; gap: 18px; }
.lightbox-figure img { max-width: 100%; max-height: calc(100dvh - 190px); border-radius: 14px; object-fit: contain; }
.lightbox-figure figcaption { max-width: 640px; color: #c9c7c0; font-size: 13px; line-height: 1.5; text-align: center; }
.lightbox-count { position: absolute; top: 28px; left: 32px; margin: 0; color: #a9a7a0; font-size: 11px; letter-spacing: .16em; font-variant-numeric: tabular-nums; }
.lightbox-btn { position: absolute; display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: var(--white); background: rgba(255,255,255,.06); cursor: pointer; transition: transform 160ms var(--ease-out), background-color .2s ease; }
.lightbox-btn:active { transform: scale(.94); }
.lightbox-btn .icon { width: 20px; height: 20px; }
.lightbox-close { top: 16px; right: 18px; }
.lightbox-prev, .lightbox-next { top: 50%; margin-top: -26px; }
.lightbox-prev { left: 18px; }
.lightbox-prev .icon { transform: rotate(180deg); }
.lightbox-next { right: 18px; }
@media (hover: hover) and (pointer: fine) {
  .lightbox-btn:hover { background-color: rgba(255,255,255,.16); }
}

/* FAQ answers animate their height from the script */
.faq-answer { overflow: hidden; }

/* Entrances: hidden only when the script can reveal them.
   :not(.is-in) holds the start state, :not(.is-done) holds the entrance timing,
   so hover transitions are back to normal once an entrance has finished. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal="up"]:not(.is-in) { opacity: 0; transform: translateY(28px); }
  .js [data-reveal="fade"]:not(.is-in) { opacity: 0; transform: translateY(-10px); }
  .js [data-reveal="up"]:not(.is-done), .js [data-reveal="fade"]:not(.is-done) { transition: opacity 900ms var(--ease-out) var(--d, 0ms), transform 1100ms var(--ease-out) var(--d, 0ms); }

  .js .hero-image > img, .js .about-portrait > img { scale: 1.08; }
  .js [data-reveal="mask"]:not(.is-done) { clip-path: inset(0 0 0 0); }
  .js [data-reveal="mask"]:not(.is-in) { clip-path: inset(100% 0 0 0); }
  .js [data-reveal="mask"]:not(.is-in) > img { scale: 1.22; }
  .js [data-reveal="mask"]:not(.is-done) { transition: clip-path 1300ms var(--ease-in-out) var(--d, 0ms); }
  .js [data-reveal="mask"]:not(.is-done) > img { transition: scale 1800ms var(--ease-out) var(--d, 0ms); }

  .js [data-reveal="card"]:not(.is-done) .project-media { clip-path: inset(0 0 0 0); }
  .js [data-reveal="card"]:not(.is-in) .project-media { clip-path: inset(100% 0 0 0); }
  .js [data-reveal="card"]:not(.is-in) .project-media > img { scale: 1.2; }
  .js [data-reveal="card"]:not(.is-in) .project-copy { opacity: 0; transform: translateY(18px); }
  .js [data-reveal="card"]:not(.is-done) .project-media { transition: clip-path 1200ms var(--ease-in-out) var(--d, 0ms); }
  .js [data-reveal="card"]:not(.is-done) .project-media > img { transition: scale 1700ms var(--ease-out) var(--d, 0ms), transform .7s cubic-bezier(.2,.7,.2,1); }
  .js [data-reveal="card"]:not(.is-done) .project-copy { transition: opacity 800ms var(--ease-out) calc(var(--d, 0ms) + 280ms), transform 1000ms var(--ease-out) calc(var(--d, 0ms) + 280ms); }

  .js [data-reveal="tile"]:not(.is-in) { opacity: 0; transform: scale(.94); }
  .js [data-reveal="tile"]:not(.is-done) { transition: opacity 800ms var(--ease-out) var(--d, 0ms), transform 1100ms var(--ease-out) var(--d, 0ms); }

  .js [data-split]:not(.is-split) { opacity: 0; }
  .js [data-split] .word { display: inline-block; margin: 0 -.08em -.14em; padding: 0 .08em .14em; overflow: hidden; vertical-align: top; }
  .js [data-split] .word-inner { display: inline-block; transition: transform 1100ms var(--ease-out) calc(var(--d, 0ms) + var(--i, 0) * 45ms); }
  .js [data-split]:not(.is-in) .word-inner { transform: translateY(112%); }
  .js [data-split="blur"] .word { overflow: visible; }
  .js [data-split="blur"] .word-inner { transition: opacity 800ms var(--ease-out) calc(var(--d, 0ms) + var(--i, 0) * 60ms), filter 1000ms var(--ease-out) calc(var(--d, 0ms) + var(--i, 0) * 60ms), transform 1100ms var(--ease-out) calc(var(--d, 0ms) + var(--i, 0) * 60ms); }
  .js [data-split="blur"]:not(.is-in) .word-inner { opacity: 0; filter: blur(12px); transform: translateY(28%); }

  /* If the motion script never runs, show everything after a moment */
  .js:not(.motion-ready) [data-reveal], .js:not(.motion-ready) [data-reveal] > img, .js:not(.motion-ready) [data-reveal] .project-media, .js:not(.motion-ready) [data-reveal] .project-copy, .js:not(.motion-ready) [data-split] { animation: reveal-failsafe 0s 2.5s forwards; }
}
@keyframes reveal-failsafe { to { opacity: 1; transform: none; clip-path: none; scale: 1; } }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal]:not(.is-in), .js [data-split]:not(.is-in) { opacity: 0; }
  .js [data-reveal]:not(.is-done), .js [data-split] { transition: opacity 500ms ease var(--d, 0ms); }
  .roll-inner::after { display: none; }
}

@media (max-width: 960px) {
  .float-nav { right: 10px; left: 10px; justify-content: space-between; translate: none; }
  .split-nav { display: none; }
  .float-brand { height: 44px; padding: 0 16px; }
  .float-cta { min-height: 44px; }
  .lightbox-figure { padding: 68px 12px 96px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 22px; margin-top: 0; }
  .lightbox-prev { left: calc(50% - 64px); }
  .lightbox-next { right: calc(50% - 64px); }
  .lightbox-count { top: 32px; left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
