/* ============================================
   WOA Architects + Interiors & More
   Design tokens
   ============================================ */
:root {
  --plaster: #F1ECE2;
  --plaster-deep: #E9E3D4;
  --ink: #24261F;
  --ink-soft: #4B4C43;
  --umber: #7A3E22;
  --blueprint: #2E4356;
  --sage: #7C8567;
  --line: #C9C1B0;
  --line-soft: #DAD3C2;

  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --display: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  --max: 1180px;
  --gutter: clamp(24px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.14;
  margin: 0 0 0.4em;
  letter-spacing: 0;
}

p { max-width: 62ch; margin: 0 0 1.1em; }

.eyebrow-off { /* intentionally unused: no all-caps eyebrow labels in this system */ }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--umber);
  outline-offset: 3px;
}

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

/* ============================================
   Layout helpers
   ============================================ */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.frame-line {
  border-top: 1px solid var(--line);
}

section { position: relative; }

/* corner marks -- architectural drafting motif, used sparingly */
.corner-marks { position: relative; }
.corner-marks::before, .corner-marks::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-top: 1px solid var(--blueprint);
  border-left: 1px solid var(--blueprint);
  top: 0; left: 0;
  opacity: 0.5;
}
.corner-marks::after {
  top: auto; left: auto;
  bottom: 0; right: 0;
  border-top: none;
  border-left: none;
  border-bottom: 1px solid var(--blueprint);
  border-right: 1px solid var(--blueprint);
}

/* ============================================
   Header / Nav
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  color: #fff;
}
.site-header.is-solid {
  background: var(--plaster);
  color: var(--ink);
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: 0 1px 0 var(--line);
}
.page:not(.has-hero) .site-header {
  background: var(--plaster);
  color: var(--ink);
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: 0 1px 0 var(--line);
  position: static;
}

.brandmark {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  font-family: var(--sans);
}
.brandmark .b1 { font-size: 19px; font-weight: 600; letter-spacing: 0.02em; }
.brandmark .b-div { opacity: 0.45; font-size: 14px; }
.brandmark .b2 { font-size: 13px; opacity: 0.85; }

.main-nav { display: flex; gap: clamp(18px, 3vw, 34px); font-family: var(--sans); font-size: 14px; }
.main-nav a { text-decoration: none; position: relative; padding-bottom: 3px; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }
.main-nav a.is-active { font-weight: 600; }

.nav-cta {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  background: var(--umber);
  color: #fff !important;
  padding: 9px 18px;
  text-decoration: none !important;
  margin-left: 6px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--ink); }
@media (max-width: 720px) {
  .nav-cta { margin-left: 0; align-self: flex-start; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: inherit;
  font-family: var(--sans);
  font-size: 14px;
  cursor: pointer;
  padding: 6px 2px;
}

@media (max-width: 720px) {
  .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0;
    height: 100svh;
    width: min(78vw, 320px);
    background: var(--plaster);
    color: var(--ink);
    padding: 96px 32px 32px;
    gap: 26px;
    font-size: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .main-nav.is-open { transform: translateX(0); box-shadow: -6px 0 24px rgba(0,0,0,0.12); }
  .nav-toggle { display: block; z-index: 101; }
  .nav-scrim {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20,20,16,0.35);
    z-index: 98;
  }
  .nav-scrim.is-visible { display: block; }
}

/* ============================================
   Hero (index only)
   ============================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
}
.hero video, .hero .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,16,0.28) 0%, rgba(20,20,16,0.12) 35%, rgba(18,18,14,0.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--gutter);
  padding-bottom: 64px;
}
.hero-content .hero-kicker {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.03em;
  opacity: 0.85;
  margin-bottom: 14px;
}
.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  max-width: 14ch;
  color: #fff;
  margin-bottom: 0.3em;
}
.hero-content .hero-sub {
  font-family: var(--sans);
  font-size: 15px;
  opacity: 0.9;
  max-width: 46ch;
  margin-bottom: 0;
}
.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 34px;
  z-index: 2;
  writing-mode: vertical-rl;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #fff;
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: 10px;
}
.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: currentColor;
}

/* ============================================
   Sub-page header (About / Portfolio / Contact)
   ============================================ */
.page-hero {
  padding: 168px var(--gutter) 56px;
  border-bottom: 1px solid var(--line);
}
.page-hero .page-kicker {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 18ch; }
.page-hero .page-lede { font-size: 18px; color: var(--ink-soft); max-width: 56ch; }

/* ============================================
   Sections generic
   ============================================ */
.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}
.section.tight { padding: 64px 0; }
.section:last-of-type { border-bottom: none; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 52px;
  align-items: end;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 14ch; }
.section-head .section-note { font-family: var(--sans); font-size: 15px; color: var(--ink-soft); max-width: 42ch; }

@media (max-width: 780px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================
   Home / intro split (architecture + interiors)
   ============================================ */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.duo > div {
  padding: 64px var(--gutter);
}
.duo .duo-arch { border-right: 1px solid var(--line); }
.duo .duo-mark {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--blueprint);
  margin-bottom: 18px;
}
.duo .duo-interiors .duo-mark { color: var(--umber); }
.duo h3 { font-size: 1.6rem; margin-bottom: 0.5em; }
.duo p { color: var(--ink-soft); }
.duo a.more {
  font-family: var(--sans);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line);
}
@media (max-width: 780px) {
  .duo { grid-template-columns: 1fr; }
  .duo .duo-arch { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ============================================
   Project grid
   ============================================ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.project-card {
  background: var(--plaster);
  padding: 0;
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.project-card img { width: 100%; height: auto; }
.project-card .project-meta {
  padding: 22px 26px 30px;
}
.project-card .project-meta .project-tag {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.project-card .project-meta h3 { font-size: 1.3rem; margin-bottom: 0; }

@media (max-width: 780px) {
  .project-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Services list (used on Home summary + could extend)
   ============================================ */
.service-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.service-block h3 {
  font-size: 1.05rem;
  font-family: var(--sans);
  font-weight: 600;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 16px;
}
.service-block ul {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}
.service-block li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.service-block li:last-child { border-bottom: none; }
.service-side-label {
  font-family: var(--sans);
  font-size: 13px;
  margin-bottom: 22px;
}
.service-side-label.arch { color: var(--blueprint); }
.service-side-label.interiors { color: var(--umber); }

@media (max-width: 780px) {
  .service-cols { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================
   About page specific
   ============================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.about-split .about-panel {
  padding: 64px var(--gutter);
}
.about-split .about-panel:first-child { border-right: 1px solid var(--line); }
.about-split img { border: 1px solid var(--line); margin-bottom: 26px; }
.about-split .role-label {
  font-family: var(--sans);
  font-size: 13px;
  margin-bottom: 10px;
}
.about-split .role-label.arch { color: var(--blueprint); }
.about-split .role-label.interiors { color: var(--umber); }
.about-split .principal-name {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.about-split p { color: var(--ink-soft); }

@media (max-width: 780px) {
  .about-split { grid-template-columns: 1fr; }
  .about-split .about-panel:first-child { border-right: none; border-bottom: 1px solid var(--line); }
}

.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.values-row div h4 { font-family: var(--sans); font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.values-row div p { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 780px) {
  .values-row { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================
   Contact page
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-block h3 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}
.contact-block .contact-line { font-family: var(--sans); font-size: 15px; color: var(--ink-soft); margin-bottom: 4px; }
.contact-block .contact-line a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-block .contact-line a:hover { border-color: var(--ink); }
.contact-divider { border: none; border-top: 1px solid var(--line-soft); margin: 26px 0; }

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  padding: 9px 2px;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-bottom-color: var(--umber);
}
.form-row textarea { resize: vertical; min-height: 100px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  background: var(--ink);
  color: var(--plaster);
  border: none;
  padding: 13px 24px;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--umber); }

.map-embed {
  border: 1px solid var(--line);
  height: 320px;
  width: 100%;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  padding: 46px var(--gutter) 34px;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 18px; }
.footer-social { display: flex; gap: 16px; }

/* ============================================
   CTA strip
   ============================================ */
.cta-strip {
  padding: 70px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-strip h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 16ch; margin: 0; }

/* ============================================
   WhatsApp floating action button
   ============================================ */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  font-family: var(--sans);
}
.wa-fab-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(20,20,16,0.28);
}
.wa-fab-toggle svg { width: 28px; height: 28px; }
.wa-fab-menu {
  position: absolute;
  bottom: 68px;
  right: 0;
  background: var(--plaster);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(20,20,16,0.16);
  width: 232px;
  padding: 14px;
  display: none;
}
.wa-fab-menu.is-open { display: block; }
.wa-fab-menu .wa-fab-label {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.wa-fab-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
}
.wa-fab-menu a:first-of-type { border-top: none; }
.wa-fab-menu a:hover { color: var(--umber); }

@media (max-width: 480px) {
  .wa-fab { right: 16px; bottom: 16px; }
}

/* ============================================
   Portfolio: project features (real photography)
   ============================================ */
.project-feature {
  border-bottom: 1px solid var(--line);
}
.project-feature-media {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.project-feature-body {
  padding: 26px var(--gutter) 40px;
}
.project-feature-body .project-tag {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.project-feature-body h3 { font-size: 1.5rem; margin-bottom: 0.3em; }
.project-feature-body p { color: var(--ink-soft); font-family: var(--sans); font-size: 14.5px; max-width: 56ch; }

.filmstrip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 220px));
  justify-content: start;
  gap: 1px;
  background: var(--line);
  margin-top: 4px;
}
.filmstrip img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: var(--plaster-deep);
}

@media (max-width: 780px) {
  .project-feature-body { padding: 22px var(--gutter) 32px; }
}

/* ============================================
   Interiors & upholstery gallery
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gallery-grid figure {
  margin: 0;
  background: var(--plaster);
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}
.gallery-grid figcaption {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  padding: 12px 16px 18px;
}

/* ============================================
   Credential strip (homepage, sub-page heroes)
   ============================================ */
.credential-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px var(--gutter);
}
.credential-strip .cred-item {
  padding: 0 22px;
  border-right: 1px solid var(--line-soft);
}
.credential-strip .cred-item:last-child { border-right: none; }
@media (max-width: 780px) {
  .credential-strip { padding: 14px var(--gutter); }
  .credential-strip .cred-item { padding: 0 14px 0 0; border-right: none; }
}

/* ============================================
   Pull quote (brand story)
   ============================================ */
.pull-quote {
  padding: 70px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.pull-quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.35;
  max-width: 26ch;
  color: var(--ink);
}
.pull-quote cite {
  display: block;
  margin-top: 20px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ============================================
   Timeline strip
   ============================================ */
.timeline-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.timeline-strip .tl-item {
  padding: 26px var(--gutter);
  border-right: 1px solid var(--line);
}
.timeline-strip .tl-item:last-child { border-right: none; }
.timeline-strip .tl-year {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--umber);
  margin-bottom: 6px;
}
.timeline-strip .tl-label {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
}
@media (max-width: 780px) {
  .timeline-strip { grid-template-columns: repeat(2, 1fr); }
  .timeline-strip .tl-item:nth-child(2) { border-right: none; }
  .timeline-strip .tl-item { border-bottom: 1px solid var(--line); }
}

/* ============================================
   Expanded profile panels (About page)
   ============================================ */
.profile-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border: 1px solid var(--line);
  margin-bottom: 26px;
  display: block;
}
.credential-line {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.focus-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.focus-list li {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}
.focus-list-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 26px;
  margin-bottom: 4px;
}

/* ============================================
   Team credit strip (Portfolio page)
   ============================================ */
.team-credit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.team-credit .tc-panel {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px var(--gutter);
}
.team-credit .tc-panel:first-child { border-right: 1px solid var(--line); }
.team-credit .tc-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.team-credit .tc-logo {
  height: 34px;
  width: auto;
  margin-bottom: 8px;
  display: block;
}
.team-credit .tc-name {
  font-family: var(--display);
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.team-credit .tc-role {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
}
@media (max-width: 780px) {
  .team-credit { grid-template-columns: 1fr; }
  .team-credit .tc-panel:first-child { border-right: none; border-bottom: 1px solid var(--line); }
}
