/* ============================================================
   JORDAN LYNN INTERIORS — MASTER STYLESHEET
   One file. All brand decisions. Change once, cascade everywhere.
   ============================================================ */

/* ---------- BRAND TOKENS ---------- */
:root {
  --ink: #141414;
  --off-white: #faf8f4;
  --sand: #c9b89d;
  --tan: #8a7556;
  --stone: #6b6b6b;
  --hair: #e8e4dc;
  --cream: #f4f1ea;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1280px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- RESET + BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
}
.label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tan);
}
em { font-style: italic; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 20, 20, 0.06);
}
.nav--solid {
  background: var(--off-white);
}
.nav__brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav__links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--tan); }
.nav__cta {
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--ink);
  font-size: 12px !important;
  transition: all 0.2s;
}
.nav__cta:hover {
  background: var(--ink);
  color: var(--off-white) !important;
}
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--ink);
}
.nav__toggle svg { width: 24px; height: 24px; }

@media (max-width: 780px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 85vw);
    flex-direction: column;
    background: var(--off-white);
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.05);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 15px; }
  .nav__toggle { display: inline-flex; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.25s;
  border: 1px solid currentColor;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn--primary {
  background: var(--off-white);
  color: var(--ink);
  border-color: var(--off-white);
}
.btn--primary:hover {
  background: transparent;
  color: var(--off-white);
}
.btn--ghost { color: var(--off-white); }
.btn--ghost:hover {
  background: var(--off-white);
  color: var(--ink);
}
.btn--ink {
  background: var(--ink);
  color: var(--off-white);
  border-color: var(--ink);
}
.btn--ink:hover {
  background: transparent;
  color: var(--ink);
}

/* ---------- LAYOUT ---------- */
section { padding: 7rem var(--gutter); }
.wrap { max-width: var(--max); margin: 0 auto; }
.page { padding-top: 6rem; }

/* ---------- HERO (home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 8rem var(--gutter) 4rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=2000&q=85&auto=format');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,0.15) 0%, rgba(20,20,20,0.55) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  color: var(--off-white);
}
.hero__eyebrow {
  color: rgba(250, 248, 244, 0.85);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  line-height: 1.05;
  font-weight: 300;
  max-width: 18ch;
  margin-bottom: 1.75rem;
}
.hero h1 em { font-weight: 400; }
.hero__sub {
  font-size: 17px;
  max-width: 44ch;
  color: rgba(250, 248, 244, 0.9);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- PAGE HEADER (non-home pages) ---------- */
.page-header {
  padding: 10rem var(--gutter) 5rem;
  text-align: center;
  background: var(--cream);
}
.page-header .label {
  display: block;
  margin-bottom: 1.5rem;
}
.page-header h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 300;
  max-width: 20ch;
  margin: 0 auto 1.5rem;
}
.page-header p {
  max-width: 54ch;
  margin: 0 auto;
  color: var(--stone);
}

/* ---------- PHILOSOPHY ---------- */
.philosophy { text-align: center; }
.philosophy .label { display: block; margin-bottom: 2rem; color: var(--tan); }
.philosophy__quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.35;
  font-weight: 300;
  font-style: italic;
  max-width: 22ch;
  margin: 0 auto 2rem;
  letter-spacing: -0.005em;
}
.philosophy__body {
  max-width: 58ch;
  margin: 0 auto;
  color: var(--stone);
  font-size: 17px;
}
.divider {
  width: 40px;
  height: 1px;
  background: var(--sand);
  margin: 2.5rem auto;
  border: 0;
}

/* ---------- SERVICES (home preview) ---------- */
.services { background: var(--cream); }
.services__head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}
@media (max-width: 780px) {
  .services__head { grid-template-columns: 1fr; gap: 1.5rem; }
}
.services__head h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 300;
}
.services__head p { color: var(--stone); margin: 0; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.service {
  background: var(--off-white);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  transition: transform 0.3s ease;
  border: 1px solid var(--hair);
}
.service:hover { transform: translateY(-4px); }
.service__num {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  color: var(--tan);
  margin-bottom: 1.25rem;
}
.service h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.service p {
  color: var(--stone);
  font-size: 15px;
  flex: 1;
  margin: 0 0 1.5rem;
}
.service__link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
  align-self: flex-start;
}

/* ---------- ABOUT TEASER (home) ---------- */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 2.5rem; }
}
.about__image {
  aspect-ratio: 4/5;
  background-image: url('../IMG_2197.jpeg');
  background-size: cover;
  background-position: center;
}
.about__content .label { margin-bottom: 1.5rem; display: block; }
.about h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 300;
  margin-bottom: 1.75rem;
}
.about p { color: var(--stone); margin-bottom: 1.25rem; }
.about__sign {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
}

/* ---------- PROCESS (home + dedicated page) ---------- */
.process { background: var(--ink); color: var(--off-white); }
.process__head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 5rem;
}
.process__head .label { color: var(--sand); display: block; margin-bottom: 1.5rem; }
.process__head h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.process__head p { color: rgba(250, 248, 244, 0.7); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  max-width: var(--max);
  margin: 0 auto;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}
.step { padding-top: 1.5rem; border-top: 1px solid rgba(250, 248, 244, 0.15); }
.step__num {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  color: var(--sand);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.step h4 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}
.step p {
  color: rgba(250, 248, 244, 0.65);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- TRADE DISCOUNT BAR ---------- */
.trade {
  background: var(--sand);
  color: var(--ink);
  padding: 4rem var(--gutter);
  text-align: center;
}
.trade .wrap { max-width: 60ch; }
.trade .label { color: var(--tan); display: block; margin-bottom: 1.25rem; }
.trade h3 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.trade p {
  color: var(--ink);
  opacity: 0.75;
  font-size: 15px;
  margin: 0;
}

/* ---------- CTA SECTION ---------- */
.cta { padding: 8rem var(--gutter); text-align: center; }
.cta h2 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  max-width: 22ch;
  margin: 0 auto 2rem;
}
.cta p {
  max-width: 52ch;
  margin: 0 auto 2.5rem;
  color: var(--stone);
}

/* ---------- DEEP SERVICES (services page) ---------- */
.svc-deep {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 6rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.svc-deep--flip { direction: rtl; }
.svc-deep--flip > * { direction: ltr; }
@media (max-width: 900px) {
  .svc-deep,
  .svc-deep--flip { grid-template-columns: 1fr; gap: 2.5rem; direction: ltr; }
}
.svc-deep__image {
  aspect-ratio: 5/6;
  background-size: cover;
  background-position: center;
}
.svc-deep__content .label { display: block; margin-bottom: 1.25rem; }
.svc-deep__content h2 {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  line-height: 1.1;
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.svc-deep__content > p {
  color: var(--stone);
  margin-bottom: 2rem;
}
.svc-deep__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  border-top: 1px solid var(--hair);
}
.svc-deep__list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--hair);
  font-size: 15px;
  display: flex;
  gap: 1rem;
  align-items: baseline;
  color: var(--ink);
}
.svc-deep__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--tan);
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(-2px);
}
.svc-deep__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hair);
}
.svc-deep__meta-item .label { color: var(--tan); display: block; margin-bottom: 0.35rem; }
.svc-deep__meta-item p {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}

/* ---------- DEEP PROCESS (process page) ---------- */
.process-deep {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem var(--gutter);
}
.process-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 3rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--hair);
}
.process-step:last-child { border-bottom: 0; }
@media (max-width: 680px) {
  .process-step { grid-template-columns: 1fr; gap: 1.25rem; }
}
.process-step__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  font-style: italic;
  color: var(--tan);
  line-height: 1;
}
.process-step__content h3 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.process-step__content p {
  color: var(--stone);
  margin-bottom: 1rem;
}
.process-step__content p:last-child { margin-bottom: 0; }

/* ---------- ABOUT PAGE ---------- */
.about-page {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: flex-start;
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem var(--gutter);
}
@media (max-width: 900px) {
  .about-page { grid-template-columns: 1fr; gap: 2.5rem; }
}
.about-page__image {
  aspect-ratio: 4/5;
  background-image: url('../IMG_2199.jpeg');
  background-size: cover;
  background-position: center;
  position: sticky;
  top: 6rem;
}
@media (max-width: 900px) { .about-page__image { position: static; } }
.about-page__content .label { display: block; margin-bottom: 1.5rem; }
.about-page__content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 2rem;
}
.about-page__content p {
  color: var(--stone);
  margin-bottom: 1.5rem;
  font-size: 17px;
}
.about-page__content .lead {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--ink);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 2rem;
}
.about-page__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--hair);
}
@media (max-width: 520px) {
  .about-page__values { grid-template-columns: 1fr; }
}
.about-page__value .label { color: var(--tan); display: block; margin-bottom: 0.5rem; }
.about-page__value p {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}

/* ---------- CONTACT PAGE ---------- */
.contact-page {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem var(--gutter);
}
@media (max-width: 900px) {
  .contact-page { grid-template-columns: 1fr; gap: 3rem; }
}
.contact-page__intro .label { display: block; margin-bottom: 1.5rem; }
.contact-page__intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.contact-page__intro p { color: var(--stone); margin-bottom: 2.5rem; }
.contact-direct { border-top: 1px solid var(--hair); padding-top: 2rem; }
.contact-direct__item { margin-bottom: 1.5rem; }
.contact-direct__item .label { color: var(--tan); display: block; margin-bottom: 0.4rem; }
.contact-direct__item a,
.contact-direct__item p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}

/* ---------- FORM ---------- */
.form { display: grid; gap: 1.5rem; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
}
.form__field { display: grid; gap: 0.5rem; }
.form__field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
}
.form__field input,
.form__field select,
.form__field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 0.9rem 1rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hair);
  color: var(--ink);
  transition: border-color 0.2s;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: 0;
  border-bottom-color: var(--ink);
}
.form__field textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--font-body);
}
.form__actions {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.form__note {
  font-size: 13px;
  color: var(--stone);
  margin: 0;
}

/* honeypot field — spam filter, invisible to real users */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: var(--off-white);
  padding: 4rem var(--gutter) 2rem;
}
.footer__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250, 248, 244, 0.12);
}
@media (max-width: 780px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.footer__brand h4 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}
.footer__brand p {
  color: rgba(250, 248, 244, 0.6);
  font-size: 14px;
  margin: 0 0 1.5rem;
  max-width: 32ch;
}
.footer__col h5 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 0 1.25rem;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__col a {
  color: rgba(250, 248, 244, 0.75);
  font-size: 14px;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--off-white); }
.footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(250, 248, 244, 0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- 404 / THANK YOU PAGES ---------- */
.message-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem var(--gutter);
  text-align: center;
}
.message-page .label { display: block; margin-bottom: 1.5rem; }
.message-page h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.message-page p {
  max-width: 48ch;
  margin: 0 auto 2.5rem;
  color: var(--stone);
}
