/* Dans Decor — shared design system and responsive components. */
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/roboto-variable.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700.woff2') format('woff2'); }

:root {
  --color-accent: #be422c;
  --color-accent-hover: #a43321;
  --color-coral: #f18068;
  --color-grey: #252b29;
  --color-dark: #202622;
  --color-white: #fff;
  --color-text: #60655f;
  --color-muted: #697064;
  --color-surface: #f5f4ef;
  --color-border: #e2e4dc;
  --font-body: 'Roboto', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --container: 1184px;
  --section-space: clamp(64px, 7vw, 104px);
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { font-family: var(--font-body); font-size: 17px; line-height: 1.75; color: var(--color-text); background: var(--color-white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
::selection { background: #f4d1c7; color: var(--color-dark); }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 5px; }
.container { width: calc(100% - 64px); max-width: var(--container); margin: 0 auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 500; padding: 12px 20px; color: white; background: var(--color-dark); border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }

/* Quiet, consistent controls. */
.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 12px; padding: 13px 24px; border: 1px solid transparent; border-radius: 7px; font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: 0; text-align: center; background: var(--color-dark); color: white; transition: background-color 180ms, border-color 180ms, transform 180ms; }
.btn:hover { background: #354037; transform: translateY(-1px); }
.btn--accent { color: white; background: var(--color-accent); }
.btn--accent:hover { background: var(--color-accent-hover); }
.btn--outline { color: white; background: transparent; border-color: #ffffff8c; }
.btn--outline:hover { background: #ffffff15; border-color: white; }
.btn:disabled { cursor: wait; opacity: 0.65; transform: none; }

/* Header and brand. */
.site-header { position: relative; z-index: 30; background: white; border-bottom: 1px solid #e5e5dd; }
.header-top { background: var(--color-surface); border-bottom: 1px solid #e8e8e1; }
.header-top__inner { min-height: 34px; display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.header-top__link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.4; color: #61665f; }
.header-top__link img { width: 13px; height: 13px; }
.header-top__link:hover { color: var(--color-accent); }
.site-header__logo { position: absolute; top: 49px; left: max(32px, calc((100% - var(--container)) / 2)); z-index: 2; display: flex; align-items: center; gap: 12px; color: var(--color-dark); }
.site-header__logo > img { width: 58px; height: 58px; }
.site-header__wordmark { display: flex; flex-direction: column; gap: 3px; }
.site-header__name { font-family: var(--font-heading); font-weight: 600; font-size: 23px; line-height: 1.15; letter-spacing: -0.8px; }
.site-header__tagline { font-size: 10px; line-height: 1.3; letter-spacing: 1.4px; text-transform: uppercase; color: var(--color-muted); }
.header-main__inner { min-height: 88px; display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.site-nav ul { display: flex; align-items: center; gap: 8px; list-style: none; }
.site-nav a { display: block; padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--color-dark); position: relative; }
.site-nav a::after { content: ''; position: absolute; bottom: 5px; left: 14px; right: 14px; height: 2px; background: var(--color-accent); transform: scaleX(0); transition: transform 180ms; }
.site-nav a:hover::after, .site-nav a[aria-current='page']::after { transform: scaleX(1); }
.site-nav a[aria-current='page'] { color: var(--color-accent); }
.header-main .btn { min-height: 44px; padding: 10px 21px; font-size: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--color-border); border-radius: 6px; background: white; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--color-dark); transition: transform 180ms, opacity 180ms; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Photography stays visible; a directional overlay keeps copy readable. */
.hero { position: relative; display: flex; align-items: center; min-height: 650px; padding: 104px 0; isolation: isolate; background: var(--color-grey); }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,28,23,.87) 0%, rgba(18,28,23,.66) 45%, rgba(18,28,23,.15) 100%); }
.hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__kicker { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: 2px; text-transform: uppercase; color: #f3f3ea; }
.hero__kicker img { width: 30px; height: 3px; }
.hero__title { max-width: 740px; font-family: var(--font-heading); font-size: clamp(40px, 4.7vw, 64px); font-weight: 600; line-height: 1.13; letter-spacing: -2px; color: white; text-wrap: balance; }
.hero__title span { color: var(--color-coral); }
.hero__summary { max-width: 530px; font-size: 17px; line-height: 1.8; color: #e4e7df; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hero__content > .btn { margin-top: 6px; }
.hero--page { min-height: 370px; padding: 52px 0 64px; }
.hero--page .hero__title { font-size: clamp(36px, 4vw, 52px); max-width: 820px; }
.hero--page .hero__image { object-position: center 65%; }
.hero--page .hero__content { gap: 18px; }
.breadcrumbs { font-size: 12px; line-height: 1.6; color: #dadfd6; margin-bottom: 10px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 5px 10px; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 10px; color: #a6b0a4; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* A common spacing rhythm across every page. */
.section { padding: var(--section-space) 0; }
.section--grey { color: #d1d7ce; background: var(--color-grey); }
.section--soft { background: var(--color-surface); }
.section-title, .contact-info__title { font-family: var(--font-heading); font-size: clamp(30px, 3.2vw, 42px); line-height: 1.2; font-weight: 600; letter-spacing: -1.4px; color: var(--color-dark); text-wrap: balance; }
.section-title span { color: var(--color-accent); }
.section-title--center { text-align: center; }
.section--grey .section-title { color: white; }
.section--grey .section-title span { color: var(--color-coral); }
.section-intro { max-width: 740px; margin-top: 24px; line-height: 1.8; }
.section--grey .section-intro { color: #d1d7ce; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 72px; margin-bottom: 36px; }
.section-heading .section-intro { margin: 0; }
.eyebrow { display: block; margin-bottom: 14px; color: var(--color-accent); font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: 2px; text-transform: uppercase; }
.section--grey .eyebrow { color: var(--color-coral); }
.section-intro a, .service-row__content p a, .about-page-content p a, .faq-list a, .about-row__content p a { color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #a0a99b; }
.section-intro a:hover, .service-row__content p a:hover, .faq-list a:hover { color: var(--color-accent); }
.section--grey .section-intro a:hover { color: var(--color-coral); }
.stack { display: flex; flex-direction: column; align-items: center; width: calc(100% - 64px); }
.gap-64 { gap: 36px; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Service cards. */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.service-card { position: relative; display: flex; align-items: flex-end; padding: 28px; aspect-ratio: 1.15; border-radius: var(--radius); overflow: hidden; isolation: isolate; background: #d5d8cf; }
.service-card .cover-img { z-index: -2; transition: transform 450ms; }
.service-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(17,25,20,.3) 52%, rgba(17,25,20,.9)); }
.service-card::after { content: '↗'; flex-shrink: 0; width: 34px; height: 34px; display: grid; place-items: center; margin-left: auto; border: 1px solid #ffffff60; border-radius: 50%; color: white; font-size: 20px; line-height: 1; }
.service-card h3, .service-card h4 { max-width: 250px; padding-right: 12px; font-family: var(--font-heading); font-size: 20px; font-weight: 600; line-height: 1.35; letter-spacing: -.4px; color: white; }
.service-card__content { padding-right: 10px; }
.service-card__content p { margin-top: 7px; font-size: 13px; line-height: 1.5; color: #e5e8df; }
.service-card:hover .cover-img { transform: scale(1.035); }
.service-card:hover h3, .service-card:focus-visible h3 { text-decoration: underline; text-underline-offset: 5px; }

/* Recent work, with unhurried manual controls. */
.carousel { position: relative; width: 100%; padding: 0 60px; }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; gap: 16px; transition: transform 400ms ease; }
.carousel__slide { flex: 0 0 calc((100% - 48px) / 4); min-width: 0; }
.carousel__slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.carousel__prev, .carousel__next, .slider__prev, .slider__next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #ffffff60; border-radius: 50%; background: transparent; transition: background 180ms; }
.carousel__prev, .slider__prev { left: 0; }
.carousel__next, .slider__next { right: 0; }
.carousel__prev img, .carousel__next img, .slider__prev img, .slider__next img { width: 18px; }
.carousel__prev:hover, .carousel__next:hover, .slider__prev:hover, .slider__next:hover { background: #ffffff15; }
.section--soft .carousel__prev, .section--soft .carousel__next { border-color: #c9cec4; background: white; }
.section--soft .carousel__prev img, .section--soft .carousel__next img { filter: brightness(0); }
.section--soft .carousel__prev:hover, .section--soft .carousel__next:hover { background: #e9ece3; }

/* Personal introduction and service detail rows. */
.about-row { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 88px; }
.about-row__image { position: relative; overflow: hidden; aspect-ratio: 4 / 4.5; border-radius: var(--radius); }
.about-row__content, .service-row__content { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.about-row__content .eyebrow { margin: 0; }
.about-row__content p { max-width: 560px; }
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-media__video { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
.about-media__video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-media__images { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.about-media__images > div { position: relative; overflow: hidden; border-radius: var(--radius); }
.about-page-content { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; margin: 48px 0 0; }
.service-section { padding: 0 0 64px; }
.hero--page + .service-section { padding-top: var(--section-space); }
.service-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.service-row__image { position: relative; aspect-ratio: 1.1; border-radius: var(--radius); overflow: hidden; }
.service-row--reverse .service-row__image { order: 2; }
.service-row--reverse .service-row__content { order: 1; }
.service-row__content p { max-width: 560px; }
.service-overview { padding-bottom: 48px; }
.service-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.service-links a { padding: 10px 17px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--color-dark); }
.service-links a:hover { border-color: #bfc6b9; background: #edeFe7; }
.area-panel { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 88px; padding: 48px; background: var(--color-surface); border-radius: var(--radius); }
.area-panel .section-intro { margin-top: 18px; font-size: 15px; }
.area-links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.area-links a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px; border: 1px solid #d8ded1; border-radius: 7px; color: var(--color-dark); font-size: 15px; font-weight: 500; background: #ffffff80; }
.area-links a::after { content: '↗'; color: var(--color-accent); }
.area-links a:hover { background: white; border-color: var(--color-accent); }
.areas-section { padding-top: 0; }

/* Testimonials and useful questions. */
.testimonials-inner { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.testimonials-inner > .eyebrow { margin-bottom: -20px; }
.slider { position: relative; width: 100%; display: flex; justify-content: center; }
.slider__viewport { display: grid; width: calc(100% - 160px); max-width: 840px; overflow: hidden; }
.testimonial { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; visibility: hidden; }
.testimonial.is-active, .testimonial.is-leaving { visibility: visible; }
.testimonial.is-leaving { pointer-events: none; }
.testimonial blockquote { font-family: var(--font-heading); font-size: clamp(18px, 1.8vw, 24px); line-height: 1.7; font-weight: 400; color: #f3f4ee; }
.testimonial .stars { margin-top: 28px; width: 110px; }
.faq-list { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.faq-list > .section-title { grid-column: 1 / -1; margin-bottom: 12px; }
.faq-list article { padding: 28px 0; border-top: 1px solid var(--color-border); }
.faq-list h3 { max-width: 460px; margin-bottom: 12px; font-family: var(--font-heading); font-size: 17px; line-height: 1.5; font-weight: 600; letter-spacing: -.3px; color: var(--color-dark); }
.faq-list p { font-size: 15px; line-height: 1.8; }

/* Gallery: preserve natural image proportions. */
.gallery-intro { margin-bottom: 36px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: flex-start; gap: 20px; }
.gallery-grid.is-enhanced { display: flex; }
.gallery-col { flex: 1; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.gallery-grid a { position: relative; display: block; border-radius: 9px; overflow: hidden; }
.gallery-grid img { width: 100%; height: auto; transition: transform 350ms; }
.gallery-grid a:hover img { transform: scale(1.025); }
.gallery-grid a::after { content: '↗'; position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 32px; height: 32px; background: #ffffffea; border-radius: 50%; color: var(--color-dark); opacity: 0; transition: opacity 180ms; }
.gallery-grid a:hover::after, .gallery-grid a:focus-visible::after { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(15,21,18,.95); }
.lightbox.is-open { display: flex; }
.lightbox__image { max-width: calc(100vw - 160px); max-height: 88vh; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox__close { position: absolute; top: 16px; right: 20px; width: 48px; height: 48px; background: transparent; color: white; border: 1px solid #ffffff60; border-radius: 50%; font-size: 32px; line-height: 1; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #ffffff60; border-radius: 50%; background: transparent; }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__prev img, .lightbox__next img { width: 22px; }

/* A calm enquiry panel with real labels and comfortable fields. */
#contact-section { background: var(--color-surface); color: var(--color-text); }
.contact-row { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 88px; }
.contact-info { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 20px; min-width: 0; }
.contact-info::before { content: 'LET’S TALK ABOUT YOUR PROJECT'; color: var(--color-accent); font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: 1.7px; }
.contact-info__title { font-size: clamp(32px, 3.4vw, 44px); }
.contact-info__text { max-width: 460px; font-size: 16px; line-height: 1.85; }
.contact-info ul { list-style: none; margin-top: 6px; }
.contact-info li a { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--color-dark); overflow-wrap: anywhere; }
.contact-info li a:hover { color: var(--color-accent); }
.contact-info li img { width: 32px; height: 32px; flex-shrink: 0; }
.contact-card { min-width: 0; padding: 36px; border: 1px solid var(--color-border); border-radius: var(--radius); background: white; box-shadow: 0 12px 40px #20262205; }
.contact-card__title { font-family: var(--font-heading); font-size: 22px; font-weight: 600; line-height: 1.4; letter-spacing: -.6px; color: var(--color-dark); }
.contact-card__intro { font-size: 14px; margin: 8px 0 28px; }
.contact-form { width: 100%; }
.form-row { display: flex; gap: 16px; margin-bottom: 18px; }
.form-row > * { flex: 1; min-width: 0; }
.form-field { min-width: 0; }
.form-field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--color-dark); }
.form-label__optional { font-weight: 400; color: var(--color-muted); }
.contact-form input, .contact-form textarea { display: block; width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--color-dark); background: #fcfcfa; border: 1px solid #daddd4; border-radius: 6px; transition: border-color 180ms, box-shadow 180ms; }
.contact-form input { height: 48px; }
.contact-form textarea { min-height: 132px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px #be422c15; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #697064; opacity: 1; font-size: 14px; }
.form-field--hp { position: absolute; left: -9999px; }
#submit-button { display: flex; width: 100%; margin-top: 24px; color: white; background: var(--color-accent); }
#submit-button:hover { background: var(--color-accent-hover); }
.form-privacy { margin-top: 16px; font-size: 12px; line-height: 1.65; color: var(--color-muted); }
.form-privacy a { text-decoration: underline; text-underline-offset: 3px; }
.form-status { display: none; margin-top: 18px; padding: 12px 14px; border-radius: 6px; font-size: 14px; line-height: 1.6; }
.form-status.is-success { display: block; color: #215235; background: #edf5eb; }
.form-status.is-error { display: block; color: #95351e; background: #fbefe9; }

/* Footer. */
.site-footer { background: var(--color-grey); color: #b9c1b6; }
.site-footer__main { padding: 60px 0 48px; }
.site-footer__cols { display: grid; grid-template-columns: 1.3fr .7fr .85fr 1.25fr; gap: 40px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand__logo { width: 70px; margin-bottom: 16px; }
.footer-brand__tagline { max-width: 240px; margin-bottom: 20px; color: #b9c1b6; font-size: 13px; line-height: 1.75; }
.footer-brand__social { display: flex; gap: 12px; }
.footer-brand__social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #52604f; border-radius: 50%; }
.footer-brand__social img { width: 18px; height: 18px; }
.footer-menu__title { margin-bottom: 18px; font-family: var(--font-body); font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: 1px; color: #f0f2ea; text-transform: uppercase; }
.footer-menu ul { list-style: none; }
.footer-menu a { display: inline-block; padding: 5px 0; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.footer-menu a:hover, .footer-menu a[aria-current='page'] { color: var(--color-coral); }
.site-footer__bottom { border-top: 1px solid #ffffff15; padding: 20px 0; }
.site-footer__bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.site-footer__bottom p, .footer-legal { font-size: 12px; color: #adb6a8; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a:hover { color: white; }
.legal-content { width: calc(100% - 64px); max-width: 800px; margin: 0 auto; padding: var(--section-space) 0; }
.legal-content h1 { margin-bottom: 32px; font-family: var(--font-heading); font-size: clamp(30px, 4vw, 44px); color: var(--color-dark); line-height: 1.2; letter-spacing: -1px; }
.legal-content h2 { margin: 32px 0 12px; font-family: var(--font-heading); font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--color-dark); }
.legal-content p { margin-bottom: 16px; }
.legal-content a { text-decoration: underline; text-underline-offset: 4px; color: var(--color-accent); }

/* Tablet. */
@media (max-width: 1024px) {
  .header-main__inner { gap: 16px; }
  .site-nav a { padding-inline: 10px; }
  .site-header__name { font-size: 20px; }
  .site-header__tagline { font-size: 9px; letter-spacing: 1px; }
  .hero { min-height: 570px; padding: 80px 0; }
  .hero--page { min-height: 340px; padding: 48px 0; }
  .section-heading, .about-row, .service-row, .contact-row, .area-panel { gap: 40px; }
  .service-card { padding: 20px; }
  .service-card h3, .service-card h4 { font-size: 17px; }
  .service-card__content p { font-size: 12px; }
  .services-grid { gap: 18px; }
  .carousel__slide { flex-basis: calc((100% - 16px) / 2); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid, .gallery-col { gap: 16px; }
  .contact-card { padding: 28px; }
  .contact-row { grid-template-columns: .85fr 1.15fr; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 36px 64px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; order: 2; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 12px 22px 20px; background: white; border-top: 1px solid var(--color-border); box-shadow: 0 15px 25px #20262212; }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: block; }
  .site-nav a { padding: 12px 10px; }
  .site-nav a::after { display: none; }
  .site-nav a:hover, .site-nav a[aria-current='page'] { background: var(--color-surface); border-radius: 5px; }
  .area-panel { padding: 32px; }
  .area-links { grid-template-columns: 1fr; }
  .area-links a { padding: 12px 16px; }
}

/* Phone. */
@media (max-width: 767px) {
  :root { --section-space: 64px; }
  html { scroll-padding-top: 24px; }
  body { font-size: 16px; }
  .container, .stack, .legal-content { width: calc(100% - 40px); }
  .header-top { display: none; }
  .header-main__inner { min-height: 82px; gap: 8px; }
  .site-header__logo { top: 17px; left: 20px; gap: 9px; }
  .site-header__logo > img { width: 48px; height: 48px; }
  .site-header__name { font-size: 19px; letter-spacing: -.7px; }
  .site-header__tagline { font-size: 8px; letter-spacing: .6px; }
  .header-main .btn { padding: 10px 14px; font-size: 12px; }
  .nav-toggle { width: 40px; height: 42px; padding: 10px; }
  .hero { min-height: 560px; padding: 64px 0; }
  .hero::before { background: linear-gradient(90deg, rgba(18,28,23,.85), rgba(18,28,23,.5)); }
  .hero__image { object-position: 62% center; }
  .hero__content { gap: 20px; }
  .hero__title { font-size: clamp(36px, 9.6vw, 50px); line-height: 1.14; letter-spacing: -1.4px; }
  .hero__kicker { font-size: 10px; letter-spacing: 1.5px; gap: 10px; }
  .hero__kicker img { width: 22px; }
  .hero__summary { font-size: 15px; line-height: 1.8; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { font-size: 13px; padding: 12px 17px; }
  .hero--page { min-height: 340px; padding: 36px 0 48px; }
  .hero--page .hero__title { font-size: 34px; letter-spacing: -1.1px; }
  .breadcrumbs { font-size: 11px; margin-bottom: 6px; }
  .section-title { font-size: 30px; letter-spacing: -1px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
  .section-intro { margin-top: 20px; }
  .section-heading .section-intro { margin-top: 0; }
  .services-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
  .service-card { aspect-ratio: 1.3; padding: 24px; }
  .service-card h3, .service-card h4 { font-size: 21px; }
  .service-card__content p { font-size: 13px; }
  .carousel { padding: 0 0 64px; }
  .carousel__slide { flex-basis: 100%; }
  .carousel__slide img { aspect-ratio: 1.2; }
  .carousel__prev, .carousel__next { top: auto; bottom: 0; transform: none; }
  .carousel__prev { left: calc(50% - 50px); }
  .carousel__next { right: calc(50% - 50px); }
  .gap-64 { gap: 28px; }
  .about-row, .service-row, .contact-row, .area-panel { grid-template-columns: 1fr; gap: 32px; }
  .about-row__image { aspect-ratio: 1.1; }
  .about-row__content, .service-row__content { gap: 20px; }
  .about-media { grid-template-columns: 1fr; gap: 18px; }
  .about-media__video { aspect-ratio: 1; }
  .about-media__images { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 14px; }
  .about-media__images > div { aspect-ratio: 1; }
  .about-page-content { margin-top: 32px; }
  .service-row--reverse .service-row__image, .service-row--reverse .service-row__content { order: initial; }
  .service-section { padding-bottom: 48px; }
  .service-row__image { aspect-ratio: 1.2; }
  .service-overview { padding-bottom: 36px; }
  .service-links { gap: 8px; }
  .service-links a { font-size: 13px; padding: 9px 12px; }
  .area-panel { width: calc(100% - 40px); padding: 28px 24px; }
  .area-links { grid-template-columns: 1fr 1fr; gap: 10px; }
  .area-links a { font-size: 13px; padding: 13px 11px; gap: 6px; }
  .slider { padding-bottom: 62px; }
  .slider__viewport { width: 100%; }
  .slider__prev, .slider__next { top: auto; bottom: 0; transform: none; }
  .slider__prev { left: calc(50% - 50px); }
  .slider__next { right: calc(50% - 50px); }
  .testimonial blockquote { font-size: 18px; }
  .testimonial .stars { margin-top: 22px; }
  .faq-list { grid-template-columns: 1fr; margin-top: 28px; }
  .faq-list article { padding: 24px 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid, .gallery-col { gap: 18px; }
  .lightbox__image { max-width: calc(100vw - 24px); max-height: calc(100dvh - 160px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { left: calc(50% - 58px); }
  .lightbox__next { right: calc(50% - 58px); }
  .contact-info { padding-top: 0; gap: 20px; }
  .contact-info__title { font-size: 32px; }
  .contact-card { padding: 24px; }
  .contact-card__title { font-size: 20px; }
  .form-row { gap: 12px; }
  .form-row:first-of-type { flex-direction: column; gap: 18px; }
  .contact-form textarea { min-height: 140px; }
  .site-footer__main { padding: 44px 0 36px; }
  .site-footer__cols { gap: 32px 22px; }
  .footer-brand, .footer-menu[aria-label='Contact'] { grid-column: 1 / -1; }
  .footer-brand__tagline { max-width: 320px; }
  .footer-menu__title { margin-bottom: 12px; }
  .site-footer__bottom .container { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (max-width: 380px) {
  .site-header__wordmark { display: none; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .hero__title, .hero--page .hero__title { font-size: 32px; }
  .area-links { grid-template-columns: 1fr; }
  .contact-card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
