/* ==========================================================================
   Aria Collective Design — Site Stylesheet
   ========================================================================== */

:root {
  --ink: #0b0b0c;
  --ink-soft: #2e2c29;
  --paper: #faf8f4;
  --paper-alt: #f1ede5;
  --line: #e2ddd0;
  --gold: #9c7233;
  --gold-soft: #d6b87e;
  --white: #ffffff;
  --max-width: 1200px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', Arial, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}

h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 .9em;
}

.script-accent {
  font-style: italic;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 3.5rem;
  text-align: center;
  padding: 0 1.5rem;
}
.section-sub { color: var(--ink-soft); font-size: 1.05rem; }

section { position: relative; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .95rem 2.1rem;
  font-family: var(--font-sans);
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover { background: #8f6d3d; border-color: #8f6d3d; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-block { width: 100%; text-align: center; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 248, 244, .96);
  padding: .6rem 0;
  box-shadow: 0 2px 18px rgba(0,0,0,.06);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo-link { display: block; flex-shrink: 0; }
.logo { height: 34px; width: auto; }
.logo-black { display: none; }
.site-header.scrolled .logo-white { display: none; }
.site-header.scrolled .logo-black { display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  font-size: .92rem;
  letter-spacing: .03em;
}
.main-nav a {
  color: var(--white);
  transition: color .25s var(--ease);
  white-space: nowrap;
}
.site-header.scrolled .main-nav a { color: var(--ink); }
.main-nav a:hover { color: var(--gold); }
.nav-cta {
  border: 1px solid rgba(255,255,255,.7);
  padding: .55rem 1.2rem;
  border-radius: 2px;
}
.site-header.scrolled .nav-cta { border-color: var(--ink); }
.nav-cta:hover { background: var(--gold); border-color: var(--gold) !important; color: var(--white) !important; }

.header-phone {
  color: var(--white);
  font-size: .92rem;
  letter-spacing: .03em;
  display: none;
}
.site-header.scrolled .header-phone { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none; border: none; cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--white);
  transition: all .3s var(--ease);
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* Interior pages with no dark hero photo behind the header need it dark from the start */
body.page-light-header .main-nav a { color: var(--ink); }
body.page-light-header .nav-cta { border-color: var(--ink); }
body.page-light-header .logo-white { display: none; }
body.page-light-header .logo-black { display: block; }
body.page-light-header .nav-toggle span { background: var(--ink); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.35) 45%, rgba(10,10,10,.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 8rem 1.5rem 6rem;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.hero-content .eyebrow {
  color: var(--gold-soft);
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: var(--white);
  margin-bottom: .4em;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.94);
  max-width: 560px;
  margin: 0 auto 2rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,.7);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%;
  width: 4px; height: 4px;
  background: var(--white);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollcue 1.8s infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 22px; }
}

/* ============ TRUST STRIP ============ */
.trust-strip {
  background: var(--ink);
  color: rgba(255,255,255,.85);
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.trust-strip strong { color: var(--white); font-weight: 500; }

/* ============ PARTNERS / CREDENTIALS ============ */
.partners-section {
  background: var(--ink);
  color: var(--white);
  padding: 5.5rem 1.5rem;
}
.partners-inner { max-width: var(--max-width); margin: 0 auto; }
.partners-inner .eyebrow { color: var(--gold-soft); }
.partners-inner .section-heading h2 { color: var(--white); }
.partners-inner .section-sub { color: rgba(255,255,255,.72); }
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1rem;
}
.partners-grid span {
  font-family: var(--font-sans);
  font-size: .88rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.92);
  padding: .7rem 1.3rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 2px;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.partners-grid span.badge {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
  font-weight: 500;
}
.partners-grid span:hover { border-color: rgba(255,255,255,.5); }

/* ============ SPLIT SECTION ============ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 620px;
}
.split-media { overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5vw;
}
.split-content h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.split-content p { color: var(--ink-soft); font-size: 1.05rem; }

/* ============ STATEMENT (Compose) ============ */
.statement-section {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}
.statement-media { position: absolute; inset: 0; z-index: 0; }
.statement-media img { width: 100%; height: 100%; object-fit: contain; object-position: right center; }
.statement-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.6) 42%, rgba(10,10,10,0) 62%); }
.statement-content {
  position: relative; z-index: 1;
  max-width: 560px;
  padding: 5rem 5vw;
}
.statement-content h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--white); }
.statement-content p { color: rgba(255,255,255,.88); font-size: 1.05rem; }
.statement-content em { color: var(--gold-soft); font-style: italic; }

/* ============ FINISH ============ */
.finish-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}
.finish-media { position: absolute; inset: 0; z-index: 0; }
.finish-media img { width: 100%; height: 100%; object-fit: cover; }
.finish-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.58) 42%, rgba(10,10,10,.12) 100%); }
.finish-content {
  position: relative; z-index: 1;
  max-width: 560px;
  padding: 5rem 5vw;
}
.finish-content h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--white); }
.finish-content p { color: rgba(255,255,255,.88); font-size: 1.05rem; }
.finish-content .eyebrow { color: var(--gold-soft); }
.finish-tag { margin-top: 1.6rem; font-size: 1.15rem; }
.finish-tag em { color: var(--gold-soft); font-style: italic; }

/* ============ SPECIALTIES ============ */
.specialties { padding: 6rem 1.5rem; max-width: var(--max-width); margin: 0 auto; }
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2.5rem;
}
.specialty-card {
  padding: 2rem 1.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.specialty-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(0,0,0,.07); }
.specialty-num {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.specialty-card h3 { margin-bottom: .5em; }
.specialty-card p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 0; }

/* ============ PROCESS (Orchestrate) ============ */
.process-section { position: relative; color: var(--white); overflow: hidden; }
.process-media { position: absolute; inset: 0; z-index: 0; }
.process-media img { width: 100%; height: 100%; object-fit: cover; }
.process-scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,15,20,.92) 0%, rgba(15,15,20,.78) 45%, rgba(30,45,90,.55) 100%); }
.process-content {
  position: relative; z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 1.5rem;
}
.process-content h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--white); }
.process-content > p { max-width: 520px; color: rgba(255,255,255,.88); font-size: 1.05rem; }

.process-steps {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.process-steps li {
  border-top: 1px solid rgba(255,255,255,.25);
  padding-top: 1.4rem;
}
.step-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold-soft);
  margin-bottom: .5rem;
}
.process-steps h3 { color: var(--white); font-size: 1.1rem; }
.process-steps p { color: rgba(255,255,255,.78); font-size: .92rem; margin-bottom: 0; }

/* ============ FEATURE PAIR ============ */
.feature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: var(--max-width);
  margin: 5rem auto;
  gap: 3.5rem;
  padding: 0 1.5rem;
}
.feature-pair.reverse { direction: rtl; }
.feature-pair.reverse > * { direction: ltr; }
.feature-pair-media img { border-radius: 4px; }
.feature-pair-content p { color: var(--ink-soft); }

.feature-photo-band { max-height: 420px; overflow: hidden; }
.feature-photo-band img { width: 100%; height: 100%; object-fit: cover; }

/* ============ PORTFOLIO ============ */
.portfolio { padding: 6rem 1.5rem; max-width: var(--max-width); margin: 0 auto; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.portfolio-item {
  border: none; padding: 0; margin: 0; cursor: zoom-in;
  overflow: hidden; border-radius: 3px;
  aspect-ratio: 4/3; background: var(--ink);
}
.portfolio-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.portfolio-item:hover img { transform: scale(1.06); }

/* ============ QUOTE ============ */
.quote-section {
  background: var(--paper-alt);
  padding: 6rem 1.5rem;
  text-align: center;
}
.quote-section blockquote {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--ink);
}
.quote-section span {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============ ABOUT ============ */
.about-section {
  padding: 6rem 1.5rem;
  background: var(--ink);
  color: var(--white);
}
.about-content { max-width: 760px; margin: 0 auto; text-align: center; }
.about-content h2 { color: var(--white); }
.about-content p { color: rgba(255,255,255,.85); font-size: 1.08rem; }
.about-signature { margin-top: 2rem; }
.about-signature p { color: var(--white); margin: 0; }

/* ============ CTA BANNER (Trade Partners page) ============ */
.cta-banner {
  padding: 6rem 1.5rem;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}
.cta-banner > div { max-width: 640px; margin: 0 auto; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 1.8rem; }

/* ============ CONTACT ============ */
.contact-section { padding: 6rem 1.5rem; }
.contact-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
}
.contact-intro p { color: var(--ink-soft); }
.contact-details { list-style: none; margin: 2rem 0 0; padding: 0; }
.contact-details li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 1.2rem;
  align-items: baseline;
  font-size: 1rem;
}
.contact-details li:last-child { border-bottom: 1px solid var(--line); }
.contact-details span {
  min-width: 110px;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-details a:hover { color: var(--gold); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2.5rem;
}
.form-row { margin-bottom: 1.3rem; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-bottom: 1.3rem; }
.form-row-split .form-row { margin-bottom: 0; }
.form-row-quad { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-bottom: 1.3rem; }
.form-row-quad .form-row { margin-bottom: 0; }
.form-optional { text-transform: none; letter-spacing: normal; font-size: .78rem; color: var(--ink-soft); opacity: .75; }
label {
  display: block;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .5rem;
}
input, select, textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: .98rem;
  background: var(--paper);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
}
input[type="file"] { padding: .55rem .9rem; cursor: pointer; }
input[type="file"]::file-selector-button {
  margin-right: .9rem;
  padding: .5rem 1rem;
  border: none;
  border-radius: 3px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: .85rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .25s var(--ease);
}
input[type="file"]::file-selector-button:hover { background: var(--gold); }
.form-hint { font-size: .8rem; color: var(--ink-soft); opacity: .75; margin: .6rem 0 0; }
.form-note { font-size: .82rem; color: var(--ink-soft); text-align: center; margin: .9rem 0 0; }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}
.footer-logo img { height: 30px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-left: auto; font-size: .9rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; text-align: right; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.2rem 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10,10,10,.94);
  display: none;
  align-items: center; justify-content: center;
  z-index: 999;
  padding: 3rem 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 3px; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none;
  color: var(--white); font-size: 2.4rem;
  line-height: 1; cursor: pointer;
}

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
/* If JS fails to load, never hide content */
.no-js .reveal { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (min-width: 900px) {
  .header-phone { display: block; }
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .site-header.open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    padding: 1.5rem;
    gap: 1.2rem;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
  }
  .site-header.open .main-nav a { color: var(--ink); }
  .specialty-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .split-section { grid-template-columns: 1fr; }
  .split-media img { min-height: 260px; }
  .feature-pair { grid-template-columns: 1fr; }
  .feature-pair.reverse { direction: ltr; }
  .specialty-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row-split { grid-template-columns: 1fr; }
  .form-row-quad { grid-template-columns: 1fr; }
  .footer-inner { text-align: center; }
  .footer-nav { margin-left: 0; justify-content: center; }
  .footer-contact { text-align: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .statement-section { min-height: 0; }
  .statement-media img { object-position: center 30%; }
  .statement-content { max-width: 100%; padding: 3.5rem 5vw; }
  .statement-scrim { background: rgba(10,10,10,.72); }
  .finish-section { min-height: 0; }
  .finish-content { max-width: 100%; padding: 3.5rem 5vw; }
  .finish-scrim { background: rgba(10,10,10,.78); }
}
