/* Arcadia Building Co — temp landing page
   Palette: warm charcoal greys per client direction (no blue). */

:root {
  --ink: #1B1A18;
  --char: #2C2A27;
  --stone: #8C877E;
  --ground: #ECEBE7;
  --paper: #F5F4F1;
  --text: #26241F;
  --text-on-dark: #F0EEE9;
  --muted-on-dark: #A8A49B;
  --hairline-dark: #3B3936;
  --hairline-light: #D8D5CE;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Figtree', 'Segoe UI', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

/* ---------- shared ---------- */

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.eyebrow.dark { color: var(--stone); }

.wordmark {
  font-family: 'Marcellus', Georgia, serif;
  font-size: 1.45rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  white-space: nowrap;
}
.wordmark span { color: var(--muted-on-dark); }

.btn-ghost, .btn-solid {
  display: inline-block;
  font-family: 'Figtree', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 2.2rem;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-ghost {
  color: var(--text-on-dark);
  border: 1px solid rgba(240, 238, 233, 0.55);
  background: transparent;
}
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--text-on-dark); color: var(--ink); border-color: var(--text-on-dark); }
.btn-solid {
  color: var(--text-on-dark);
  background: var(--ink);
  border: 1px solid var(--ink);
}
.btn-solid:hover, .btn-solid:focus-visible { background: var(--char); border-color: var(--char); }

:focus-visible { outline: 2px solid var(--stone); outline-offset: 3px; }

/* ---------- header ---------- */

.site-head {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem clamp(1.4rem, 5vw, 4rem);
}
.head-phone {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-on-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 238, 233, 0.35);
  padding-bottom: 2px;
}
.head-phone:hover { border-bottom-color: var(--text-on-dark); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--ink);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-settle 2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes hero-settle {
  from { transform: scale(1.05); }
  to { transform: scale(1); }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(27, 26, 24, 0.82) 0%, rgba(27, 26, 24, 0.28) 45%, rgba(27, 26, 24, 0.18) 100%);
}
.hero-copy {
  position: absolute;
  left: clamp(1.4rem, 5vw, 4rem);
  right: clamp(1.4rem, 5vw, 4rem);
  bottom: clamp(2.5rem, 8vh, 5.5rem);
  max-width: 44rem;
}
.hero h1 {
  font-family: 'Marcellus', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
  line-height: 1.08;
  color: var(--text-on-dark);
  margin: 1rem 0 1.1rem;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; }
.hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  color: rgba(240, 238, 233, 0.85);
  max-width: 34rem;
  margin-bottom: 1.9rem;
}

/* load-in rises */
.rise { opacity: 0; transform: translateY(26px); animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.r1 { animation-delay: 0.25s; }
.r2 { animation-delay: 0.4s; }
.r3 { animation-delay: 0.52s; }
.r4 { animation-delay: 0.7s; }
.r5 { animation-delay: 0.85s; }
@keyframes rise-in { to { opacity: 1; transform: translateY(0); } }

/* ---------- title block (drawing-sheet motif) ---------- */

.titleblock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
}
.tb-cell {
  padding: 1.5rem clamp(1.2rem, 2.5vw, 2.2rem) 1.6rem;
  border-left: 1px solid var(--hairline-dark);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.tb-cell:first-child { border-left: none; }
.tb-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.tb-value {
  font-family: 'Marcellus', Georgia, serif;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--text-on-dark);
}

/* ---------- about ---------- */

.about {
  background: var(--ground);
  padding: clamp(4.5rem, 10vw, 8rem) clamp(1.4rem, 5vw, 4rem);
  text-align: center;
}
.statement {
  font-family: 'Marcellus', Georgia, serif;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  line-height: 1.28;
  color: var(--text);
  margin: 1.6rem auto 2rem;
  max-width: 34ch;
}
.about-body {
  max-width: 44rem;
  margin: 0 auto;
  font-size: 1.02rem;
  color: #4B4740;
}

/* ---------- photo band ---------- */

.band {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: repeat(2, minmax(220px, 38vw));
  gap: clamp(0.6rem, 1.2vw, 1rem);
  padding: 0 clamp(0.6rem, 1.2vw, 1rem) clamp(0.6rem, 1.2vw, 1rem);
  background: var(--ground);
  max-height: none;
}
.band figure { overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band-a { grid-row: 1 / 3; }

/* ---------- contact ---------- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: var(--ink);
}
.contact-intro {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.4rem, 5vw, 4rem);
  color: var(--text-on-dark);
}
.contact-intro h2 {
  font-family: 'Marcellus', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  margin: 0.9rem 0 1.2rem;
}
.contact-intro p { color: rgba(240, 238, 233, 0.78); max-width: 30rem; }
.contact-intro address {
  font-style: normal;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--hairline-dark);
  color: var(--muted-on-dark);
  line-height: 1.9;
}
.contact-intro address a { color: var(--text-on-dark); text-decoration: none; border-bottom: 1px solid var(--hairline-dark); }

.contact-form {
  background: var(--paper);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.4rem, 5vw, 4rem);
}
.field { margin-bottom: 1.4rem; }
.field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6E6A62;
  margin-bottom: 0.5rem;
}
.field .optional { color: #A5A199; letter-spacing: 0.08em; text-transform: none; font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline-light);
  padding: 0.5rem 0 0.6rem;
  border-radius: 0;
  transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-note { margin-top: 1rem; font-size: 0.92rem; color: #4B4740; min-height: 1.4em; }

/* ---------- footer ---------- */

.site-foot {
  background: var(--ink);
  border-top: 1px solid var(--hairline-dark);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 2rem;
  align-items: center;
  padding: 1.6rem clamp(1.4rem, 5vw, 4rem);
  font-size: 0.82rem;
  color: var(--muted-on-dark);
}
.site-foot .wordmark { font-size: 0.9rem; }
.site-foot .foot-cell:nth-child(2) { text-align: center; }
.site-foot a { color: var(--text-on-dark); text-decoration: none; }

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.js .reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img { animation: none; }
  .rise { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .titleblock { grid-template-columns: 1fr 1fr; }
  .tb-cell:nth-child(3) { border-left: none; }
  .tb-cell:nth-child(n+3) { border-top: 1px solid var(--hairline-dark); }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .site-head { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
  .site-head .wordmark { font-size: 1.2rem; }
  .head-phone { font-size: 1.05rem; }
  .band { grid-template-columns: 1fr; grid-template-rows: 60vw 60vw 60vw; }
  .band-a { grid-row: auto; }
  .titleblock { grid-template-columns: 1fr; }
  .tb-cell { border-left: none; }
  .tb-cell:nth-child(n+2) { border-top: 1px solid var(--hairline-dark); }
  .site-foot { grid-template-columns: 1fr; text-align: center; }
  .site-foot .foot-cell:nth-child(2) { text-align: center; }
  .site-foot .wordmark { margin: 0 auto; }
}

/* Arizona ROC license — required in contractor advertising. */
.head-contact { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.head-roc { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-on-dark); opacity: .6; margin-top: .2rem; }
.roc-line { margin-top: .8rem; font-size: .8rem; letter-spacing: .04em; color: var(--muted-on-dark); }
@media (max-width: 700px) {
  .head-contact { align-items: flex-start; }
}

/* ---------------------------------------------------------------------------
   ROC licence — lower right of the footer, given real weight. Arizona requires
   it in advertising, and homeowners are told to check a builder's number before
   hiring, so it earns prominence rather than being tucked into a run-on line.
   --------------------------------------------------------------------------- */
.foot-roc {
  display: flex; flex-direction: column; align-items: flex-end; text-align: right;
  padding-left: 1.5rem; border-left: 1px solid var(--hairline-dark);
}
.roc-label {
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted-on-dark); margin-bottom: .15rem;
}
.roc-number {
  font-family: 'Marcellus', Georgia, serif; font-size: 1.6rem; line-height: 1.1;
  color: var(--text-on-dark); letter-spacing: .04em;
}
.foot-copy { display: block; margin-top: .35rem; color: var(--stone); }

@media (max-width: 700px) {
  .foot-roc {
    align-items: center; text-align: center;
    padding-left: 0; padding-top: 1.2rem; margin-top: .4rem;
    border-left: none; border-top: 1px solid var(--hairline-dark);
  }
  .roc-number { font-size: 1.45rem; }
}

/* ---------------------------------------------------------------------------
   ROC licence on the hero, lower right — opposite the headline so the two do
   not compete. Deliberately static: it scrolls away with the photograph rather
   than following the viewport, which would read as a floating badge.
   --------------------------------------------------------------------------- */
.hero-roc {
  position: absolute;
  right: clamp(1.4rem, 5vw, 4rem);
  bottom: clamp(2.5rem, 8vh, 5.5rem);
  display: flex; flex-direction: column; align-items: flex-end; text-align: right;
  padding: .85rem 1.1rem;
  border: 1px solid rgba(240, 238, 233, 0.30);
  background: rgba(27, 26, 24, 0.42);
  backdrop-filter: blur(3px);
}
.hero-roc .roc-label {
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(240, 238, 233, 0.78); margin-bottom: .2rem;
}
.hero-roc .roc-number {
  font-family: 'Marcellus', Georgia, serif; font-size: 1.75rem; line-height: 1.05;
  color: var(--text-on-dark); letter-spacing: .03em;
}

.foot-roc-quiet { font-size: .82rem; color: var(--stone); text-align: right; }

@media (max-width: 700px) {
  /* Stays lower-right on a phone, with the copy lifted to clear it — putting it
     near the header crowded the wordmark and the phone number. */
  .hero-roc { bottom: 1.5rem; padding: .55rem .8rem; }
  .hero-roc .roc-number { font-size: 1.3rem; }
  .hero-copy { bottom: 7.5rem; }
  .foot-roc-quiet { text-align: center; }
}

@media (min-width: 701px) {
  /* Keep the headline clear of the licence badge at every width, rather than
     relying on the copy happening to wrap short enough. */
  .hero-copy { right: calc(clamp(1.4rem, 5vw, 4rem) + 230px); }
}

/* The hero eyebrow inherited the light-background grey, so it sat dimmer than
   the headline and subhead it introduces — over photography that reads as
   washed out rather than understated. */
.hero .eyebrow { color: rgba(240, 238, 233, 0.82); }
