/* ACA Interior — Editorial */

:root {
  --bg: #fdfcfa;
  --surface: #f4f1ec;
  --text: #2b2b28;
  --text-secondary: #6e6a63;
  --accent: #7a8b7f;
  --accent-hover: #556155;
  --accent-link: #65756a;
  --eyebrow: #5e6e62;
  --numeral: #c9c3b8;
  --hairline: #e5e0d8;
  --dark: #2b2b28;
  --dark-hover: #403d38;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --max-width: 1180px;
  --section-pad-y: clamp(72px, 10vw, 128px);
  --section-pad-x: clamp(24px, 5vw, 48px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-link);
}
a:hover {
  color: var(--accent-hover);
}

::selection {
  background: #dde3de;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--eyebrow);
  font-weight: 600;
  margin: 0 0 20px;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}

.section-header h2 {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--text);
  text-wrap: balance;
}

section {
  padding: var(--section-pad-y) var(--section-pad-x);
  scroll-margin-top: 84px;
}

section.surface {
  background: var(--surface);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: #fff;
  padding: 16px 34px;
  border-radius: 2px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  min-height: 48px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 150ms ease;
}
.btn:hover {
  background: var(--dark-hover);
  color: #fff;
}

.text-link {
  color: var(--accent-link);
  font-size: 15px;
  letter-spacing: 0.04em;
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover {
  color: var(--accent-hover);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 250, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.site-header.scrolled {
  border-bottom-color: var(--hairline);
}

.nav-desktop {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 76px;
  padding: 0 var(--section-pad-x);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-location {
  position: absolute;
  left: var(--section-pad-x);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
  white-space: nowrap;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 26px;
  color: var(--text);
  text-decoration: none;
}
.wordmark:hover {
  color: var(--text);
}

.nav-links {
  position: absolute;
  right: var(--section-pad-x);
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--accent-hover);
}

.nav-mobile {
  height: 64px;
  padding: 0 20px;
  display: none;
  align-items: center;
  justify-content: space-between;
}
.nav-mobile .wordmark {
  font-size: 23px;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  margin-right: -12px;
}
.menu-btn span {
  display: block;
  height: 2px;
  background: var(--text);
}

@media (max-width: 860px) {
  .nav-desktop {
    display: none;
  }
  .nav-mobile {
    display: flex;
  }
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 12px 20px 32px;
  overflow-y: auto;
}
.mobile-overlay[hidden] {
  display: none;
}

.mobile-overlay-top {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.close-btn {
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  color: var(--text);
  margin-right: -12px;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
}
.mobile-links a {
  font-family: var(--font-display);
  color: var(--text);
  text-decoration: none;
  font-size: 30px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
}

.mobile-overlay .btn {
  margin-top: 28px;
}

/* Hero */
.hero {
  padding: clamp(56px, 8vw, 96px) var(--section-pad-x) clamp(40px, 5vw, 64px);
  text-align: center;
}
.hero h1 {
  font-size: clamp(44px, 8vw, 84px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  margin: 0 auto 26px;
  max-width: 900px;
}
.hero .subline {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 auto;
  max-width: 540px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}

.hero-image-section {
  padding: 0 var(--section-pad-x);
}
.hero-image {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--surface);
  border-radius: 2px;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About */
.about-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.about-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  background: var(--surface);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-text h2 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
}
.about-copy p {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 18px;
}
.about-copy p:last-child {
  margin-bottom: 0;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(28px, 3vw, 48px);
}
.service-card {
  display: flex;
  flex-direction: column;
}
.service-numeral {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--numeral);
}
.service-card h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 500;
  margin: 8px 0 14px;
}
.service-card > p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.service-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text);
}
.service-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}
.inquire-link {
  color: var(--accent-link);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
}
.inquire-link:hover {
  color: var(--accent-hover);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(28px, 3vw, 44px);
}
.process-numeral {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 400;
  color: var(--numeral);
  line-height: 1;
}
.process-step h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 14px 0 8px;
  font-family: var(--font-body);
}
.process-step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: clamp(16px, 1.8vw, 22px) clamp(16px, 1.8vw, 22px);
}
.portfolio-grid figure {
  margin: 0;
}
.portfolio-grid .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg);
  border-radius: 2px;
}
.portfolio-grid .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-grid figcaption {
  margin-top: 12px;
}
.portfolio-grid figcaption h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 0;
}

/* Contact */
.contact-cta {
  text-align: center;
}
.contact-email {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}
.contact-email:hover {
  color: var(--accent-link);
}
.contact-note {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 18px 0 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: clamp(48px, 6vw, 72px) var(--section-pad-x);
  text-align: center;
}
.site-footer .wordmark {
  font-size: 26px;
}
.footer-tagline {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 16px auto 0;
  max-width: 420px;
}
.footer-contact {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 14px 0 0;
}
.footer-contact a {
  color: var(--text-secondary);
  font-weight: 600;
}
.footer-contact a:hover {
  color: var(--accent-hover);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin: 24px 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.footer-nav a {
  color: var(--text);
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--accent-hover);
}
.copyright {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

/* Focus visibility across the page */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-link);
  outline-offset: 2px;
}
