:root {
  --site-bg: #faf8f5;
  --site-text: #2b2825;
  --site-secondary: #3c2f28;
  --site-accent: #8c6a52;
  --site-border: #cec7c7;
  --site-gutter: clamp(20px, 4.167vw, 60px);
}

html { scroll-behavior: smooth; }
body { background: var(--site-bg); color: var(--site-text); overflow-x: clip; }
body, body *:not(svg):not(path) { font-family: "Albert Sans", Arial, sans-serif !important; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--site-accent);
  outline-offset: 3px;
}
.inquiry-status { min-height: 1.5em; margin-top: 12px; font-size: 14px; }
.inquiry-status[data-state="error"] { color: #9a4d42; }
.inquiry-status[data-state="unavailable"] { color: #6e6257; visibility: visible; }
.contact-note { max-width: 26rem; font-size: 17px; line-height: 1.5; color: #6e6257; }
.inquiry-status[data-state="success"] { color: #3d6544; }
.inquiry-status:empty { visibility: hidden; }
button:disabled { cursor: wait; opacity: .7; }
body[data-page="contact"] [data-inquiry-form] :disabled,
body[data-page="projects"] [data-inquiry-form] :disabled { cursor: not-allowed; }
.site-mobile-toggle, .site-mobile-panel { display: none; }
body[data-page="home"] .site-header .header-logo,
body[data-page="home"] .site-header .header-navigation a { color: #fff; }
body[data-page="home"] .site-header .services-arrow { border-color: #fff; }
body[data-page="home"] .site-header .services-dropdown a { color: var(--site-text); }

footer .footer-logo, footer .footer-col-brand h3 {
  font-size: clamp(15px, 1.5vw, 20px) !important;
  letter-spacing: .06em !important;
  overflow-wrap: normal;
}

@media (min-width: 1101px) {
  body[data-page="home"] .site-header {
    top: 40px; left: var(--site-gutter); width: calc(100% - 2 * var(--site-gutter));
    height: 52px; padding: 0;
  }
  body[data-page="home"] .site-header .header-logo,
  body[data-page="home"] .site-header .header-navigation a { color: #fff; }
  body[data-page="home"] .site-header .services-arrow { border-color: #fff; }
  body[data-page="home"] .site-header .services-dropdown a { color: var(--site-text); }
  body[data-page="home"] .hero-overlay { background: rgba(0, 0, 0, .3); }
  body[data-page="home"] .hero-content { left: 4.0278vw; top: 18.8194vw; width: 37.2222vw; }
  body[data-page="home"] .hero h1 {
    max-width: 37.2222vw; font-size: 3.8889vw; line-height: 1.2;
    letter-spacing: 0; font-weight: 500;
  }
  body[data-page="home"] .hero-description {
    width: 37.2222vw; margin-top: 1.3889vw; font-size: 1.1111vw;
    line-height: 1.2; color: #fff;
  }
  body[data-page="home"] .hero .primary-button {
    width: 13.8889vw; height: 3.3333vw; margin-top: 2.2222vw;
    border-radius: 0; font-size: .9722vw;
  }
  body[data-page="home"] .stats-section { height: calc(28.0973vw - 9px); }
  body[data-page="home"] .services-heading { top: 3px; }
  body[data-page="home"] .services-heading .heading-line { margin-top: 1.85vw; }
  body[data-page="home"] .why-section { margin-top: -2.2389vw; height: 52.9222vw; }
  body[data-page="home"] .why-card:nth-child(-n+2) { top: 12.55vw; }
  body[data-page="home"] .why-card:nth-child(n+3) { top: 28.53vw; }
  body[data-page="home"] .cta-section { height: 43.6111vw; }
  body[data-page="home"] .site-footer { margin-top: 6.8056vw; }
  body[data-page="services_interior_design"] .page { min-height: 2595px; }
  body[data-page="services_interior_design"] .hero-title { top: 212px; }
  body[data-page="services_interior_design"] .hero-description { top: 366px; }
  body[data-page="services_interior_design"] .hero-image { left: 711px; top: 160px; }
  body[data-page="services_interior_design"] .way-title,
  body[data-page="services_interior_design"] .way-description { top: 735px; }
  body[data-page="services_interior_design"] .expertise-title { top: 971px; }
  body[data-page="services_interior_design"] .expertise-image { top: 1163px; }
  body[data-page="services_interior_design"] .item-01 { top: 971px; }
  body[data-page="services_interior_design"] .item-02 { top: 1080px; }
  body[data-page="services_interior_design"] .item-03 { top: 1189px; }
  body[data-page="services_interior_design"] .item-04 { top: 1298px; }
  body[data-page="services_interior_design"] .item-05 { top: 1407px; }
  body[data-page="services_interior_design"] .item-06 { top: 1516px; }
  body[data-page="services_interior_design"] .cta-title,
  body[data-page="services_interior_design"] .cta-image { top: 1713px; }
  body[data-page="services_interior_design"] .cta-description { top: 1858px; }
  body[data-page="services_interior_design"] .footer { top: 2175px; }
}

@media (max-width: 700px) {
  body[data-page="contact"] .contact-form,
  body[data-page="contact"] .fields,
  body[data-page="contact"] .field,
  body[data-page="contact"] .field input,
  body[data-page="contact"] .message,
  body[data-page="contact"] .message textarea { width: 100%; max-width: 100%; }
  body[data-page="contact"] .fields { grid-template-columns: 1fr; gap: 26px; }
  body[data-page="contact"] .contact-main { grid-template-columns: minmax(0, 1fr); }
  body[data-page="projects"] .portfolio-hero,
  body[data-page="projects"] .projects-showcase,
  body[data-page="projects"] .portfolio-cta { padding-left: var(--site-gutter); padding-right: var(--site-gutter); }
}

@media (max-width: 800px) {
  body[data-page="home"] .site-header { height: 80px; padding: 0 var(--site-gutter); }
  body[data-page="home"] .site-header .header-logo { color: #fff; }
  body[data-page="home"] .hero { height: min(100svh, 680px); min-height: 540px; }
  body[data-page="home"] .hero-overlay { background: rgba(0, 0, 0, .35); }
  body[data-page="home"] .hero-content {
    top: clamp(175px, 30vh, 280px); left: var(--site-gutter);
    width: min(480px, calc(100% - 2 * var(--site-gutter)));
  }
  body[data-page="home"] .hero h1 {
    max-width: 100%; font-size: clamp(38px, 8vw, 54px); line-height: 1.12;
    letter-spacing: -.025em;
  }
  body[data-page="home"] .hero-description {
    width: 100%; margin-top: 22px; font-size: 16px; line-height: 1.45;
  }
  body[data-page="home"] :is(.primary-button, .about-button, .cta-button) {
    width: 200px; height: 48px; margin-top: 24px; border-radius: 2px; font-size: 14px;
  }
  body[data-page="home"] .stats-section {
    height: auto; margin-inline: var(--site-gutter); padding: 64px 0;
  }
  body[data-page="home"] .stats-section::before { top: 44px; }
  body[data-page="home"] .stats-grid {
    position: static; height: auto; display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 24px;
  }
  body[data-page="home"] .stat { padding-left: 0; border-left: 0; }
  body[data-page="home"] .stat-label { font-size: 13px; line-height: 1.25; }
  body[data-page="home"] .stat-value { margin-top: 14px; font-size: 32px; }
  body[data-page="home"] .stat-description { width: 100%; margin-top: 10px; font-size: 14px; line-height: 1.4; }
  body[data-page="home"] .about-section {
    height: auto; margin-inline: var(--site-gutter); padding: 72px 0;
    grid-template-columns: minmax(0, 1fr); gap: 28px;
  }
  body[data-page="home"] .about-title,
  body[data-page="home"] .section-heading h2,
  body[data-page="home"] .services-heading h2,
  body[data-page="home"] .why-heading h2 { font-size: clamp(32px, 5vw, 42px); line-height: 1.08; }
  body[data-page="home"] .about-copy p { font-size: 16px; line-height: 1.55; }
  body[data-page="home"] .portfolio-section {
    height: auto; margin-inline: var(--site-gutter); display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px;
  }
  body[data-page="home"] .section-heading { position: static; grid-column: 1 / -1; height: auto; }
  body[data-page="home"] .section-heading h2 { width: auto; max-width: 350px; }
  body[data-page="home"] .section-heading .heading-line { margin-left: 24px; margin-top: 18px; }
  body[data-page="home"] .project { position: static; width: auto; min-width: 0; }
  body[data-page="home"] .project-image,
  body[data-page="home"] .project-1 .project-image,
  body[data-page="home"] .project-2 .project-image,
  body[data-page="home"] .project-3 .project-image,
  body[data-page="home"] .project-4 .project-image {
    width: 100%; height: auto; aspect-ratio: 3 / 4;
  }
  body[data-page="home"] .project-2 .project-image,
  body[data-page="home"] .project-3 .project-image { aspect-ratio: 4 / 3; }
  body[data-page="home"] .project-info,
  body[data-page="home"] .project-1 .project-info,
  body[data-page="home"] .project-2 .project-info,
  body[data-page="home"] .project-3 .project-info,
  body[data-page="home"] .project-4 .project-info { margin: 18px 0; }
  body[data-page="home"] .project-info h3 { font-size: 20px; }
  body[data-page="home"] .project-info p { margin-top: 6px; font-size: 14px; }
  body[data-page="home"] .services-section {
    height: auto; margin: 80px var(--site-gutter) 0; padding-top: 30px;
  }
  body[data-page="home"] .services-heading { position: static; height: auto; }
  body[data-page="home"] .services-heading h2 { width: auto; white-space: nowrap; }
  body[data-page="home"] .services-heading .heading-line { margin-left: 24px; margin-top: 18px; }
  body[data-page="home"] .services-grid {
    position: static; margin-top: 48px; display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px;
  }
  body[data-page="home"] .service-content { height: auto; min-height: 82px; }
  body[data-page="home"] .service-content h3 { font-size: 20px; }
  body[data-page="home"] .service-content p { width: 100%; margin-top: 8px; font-size: 14px; line-height: 1.4; }
  body[data-page="home"] .service-image { height: auto; aspect-ratio: 3 / 4; }
  body[data-page="home"] .service:nth-child(2n) :is(.service-content, .service-image) { transform: none; }
  body[data-page="home"] .why-section {
    height: auto; margin: 80px var(--site-gutter) 0; padding-top: 30px;
  }
  body[data-page="home"] .why-heading { position: static; height: auto; }
  body[data-page="home"] .why-heading h2 { width: auto; }
  body[data-page="home"] .why-heading .heading-line { margin-left: 24px; margin-top: 18px; }
  body[data-page="home"] .why-grid {
    position: static; height: auto; margin-top: 40px; display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  }
  body[data-page="home"] .why-card {
    position: static; height: auto; min-height: 160px; padding: 24px;
    border: 1px solid var(--site-border);
  }
  body[data-page="home"] .why-box { display: none; }
  body[data-page="home"] .why-text,
  body[data-page="home"] .why-card:nth-child(n) .why-text {
    position: static; width: auto; height: auto;
  }
  body[data-page="home"] .why-text h3 { font-size: 20px; }
  body[data-page="home"] .why-text p { margin-top: 10px; font-size: 14px; line-height: 1.4; }
  body[data-page="home"] .cta-section {
    height: 420px; margin: 80px var(--site-gutter) 0;
  }
  body[data-page="home"] .cta-content { top: 72px; left: 24px; right: 24px; }
  body[data-page="home"] .cta-content h2 { font-size: clamp(32px, 5vw, 42px); line-height: 1.1; }
  body[data-page="home"] .cta-content p { margin-top: 18px; font-size: 15px; line-height: 1.4; }
  body[data-page="home"] .site-footer { margin-top: 32px; }
  header :is(.header-logo, .logo, .logo-placeholder a) {
    font-size: 16px !important;
    letter-spacing: .04em !important;
    white-space: nowrap;
  }
  body[data-auto-nav="true"] header nav:not(.site-mobile-panel),
  body[data-auto-nav="true"] header .menu-item,
  body[data-auto-nav="true"] header .header-navigation,
  body[data-auto-nav="true"] header .navbar-links { display: none !important; }
  body[data-auto-nav="true"] .site-mobile-toggle {
    display: block; position: fixed; top: 15px; right: 20px; z-index: 10001;
    min-width: 72px; padding: 10px 14px; border: 1px solid var(--site-border);
    background: var(--site-bg); color: var(--site-text); border-radius: 2px;
    font-size: 14px; cursor: pointer;
  }
  body[data-auto-nav="true"] .site-mobile-panel {
    display: none; position: fixed; inset: 0; z-index: 10000; overflow-y: auto;
    background: var(--site-bg); padding: 76px var(--site-gutter) 30px;
    flex-direction: column; gap: 0;
  }
  body[data-auto-nav="true"] .site-mobile-panel.open { display: flex; }
  .site-mobile-panel a { display: block; padding: 12px 0; color: var(--site-text); text-decoration: none; border-bottom: 1px solid var(--site-border); font-size: 17px; }
  .site-menu-open { overflow: hidden; }
}

@media (max-width: 600px) {
  body[data-page="home"] :is(.portfolio-section, .services-grid, .why-grid) {
    grid-template-columns: minmax(0, 1fr);
  }
  body[data-page="home"] .services-heading h2 { white-space: normal; }
  body[data-page="home"] .project-image,
  body[data-page="home"] .project-1 .project-image,
  body[data-page="home"] .project-2 .project-image,
  body[data-page="home"] .project-3 .project-image,
  body[data-page="home"] .project-4 .project-image { aspect-ratio: 4 / 5; }
}

@media (min-width: 801px) and (max-width: 1100px) {
  header :is(.header-logo, .logo, .logo-placeholder a) {
    font-size: 15px !important;
    letter-spacing: .04em !important;
    white-space: nowrap;
  }
  header .menu-item { gap: clamp(12px, 1.5vw, 22px) !important; font-size: 13px !important; }
}

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