/* ============================================================
   ATROPOS AT HOME — Stylesheet
   Fonts: Aptos Light (body/headings) + Cormorant Garamond (display)
   Note: swap 'Barlow' references to 'Aptos' once font files are in place.
   ============================================================ */

@import url("https://use.typekit.net/zjg4jao.css");
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Barlow:wght@200;300&family=Barlow+Condensed:wght@200;300&display=swap');

/* --- If you have Aptos locally, uncomment and point to your files:
@font-face {
  font-family: 'Aptos';
  src: url('../fonts/Aptos-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}
--- */

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

:root {
  --forrest:    #1f2e30;
  --gum:        #3d5759;
  --ash:        #dee0db;
  --mist:       #b0b5bd;
  --charcoal:   #1f1f26;
  --warm-dark:  #1c1c1f;
  --gold:       #c9b99a;
  --gold-light: #e8d9c2;

  /* Typography  */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Barlow Condensed', 'Aptos', sans-serif;
  --font-body:    'Aptos', sans-serif;

  --txt-base: 1rem;
  --txt-sml: .8rem;
  --txt-md: 1.125rem;
  --txt-lg: 1.3rem;
  --txt-xl: 1.475rem;
  --txt-2xl: 1.6rem;
}

html { scroll-behavior: smooth; }

body {
  background: var(--warm-dark);
  color: var(--ash);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ── Custom Cursor ───────────────────────────────────────── */
.cursor {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  width: 28px; height: 28px;
  border: 1px solid rgba(201,185,154,0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.25s ease;
  transform: translate(-50%, -50%);
}

@media (hover: none) {
  .cursor, .cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ── Navigation ──────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 60px;
  background: linear-gradient(180deg, rgba(28,28,31,0.92) 0%, transparent 100%);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--ash); }

.nav-cta-home {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  padding: 10px 28px;
  transition: all 0.4s;
  white-space: nowrap;
}
.nav-cta-home:hover {
  background: var(--gold);
  color: var(--forrest);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1px;
  background: var(--ash);
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(28,28,31,0.98);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav-drawer.open { opacity: 1; }
.nav-drawer a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-drawer a:hover { color: var(--gold); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 70% 50%, rgba(61,87,89,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 20% 80%, rgba(201,185,154,0.06) 0%, transparent 50%),
    linear-gradient(170deg, 
      rgba(14, 18, 20, 0.85) 0%,    /* Dark Charcoal at 85% opacity */
      rgba(26, 36, 38, 0.75) 35%,   /* Deep Forrest at 75% opacity */
      rgba(28, 28, 31, 0.95) 65%,   /* Warm Dark at 95% opacity */
      rgba(26, 26, 31, 1) 100%      /* Solid at the very bottom */
    ),
    url(img/hero-img.jpg);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-panel {
  position: absolute;
  top: 0; right: 0;
  width: 45%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(31,46,48,0.3) 40%, rgba(31,46,48,0.6) 100%);
}

.hero-architecture {
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  overflow: hidden;
}
.arch-floor {
  position: absolute;
  bottom: 15%; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,185,154,0.8), transparent);
  opacity: 0.12;
}
.arch-wall-left {
  position: absolute;
  bottom: 15%; left: 20%;
  width: 1px; height: 70%;
  background: linear-gradient(180deg, transparent, rgba(201,185,154,0.5), rgba(201,185,154,0.8));
  opacity: 0.12;
}
.arch-wall-right {
  position: absolute;
  bottom: 15%; right: 20%;
  width: 1px; height: 70%;
  background: linear-gradient(180deg, transparent, rgba(201,185,154,0.5), rgba(201,185,154,0.8));
  opacity: 0.12;
}
.arch-ceiling {
  position: absolute;
  top: 15%; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,185,154,0.4), transparent);
  opacity: 0.12;
}

.hero-glow {
  position: absolute;
  top: 50%; right: 25%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,185,154,0.06), transparent 70%);
  transform: translate(50%, -50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 680px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 36px;
  opacity: 0;
  animation: slideUp 0.9s ease 0.2s forwards;
}

.hero-title-home {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(52px, 7vw, 100px);
  line-height: 1.0;
  color: var(--ash);
  margin-bottom: 12px;
  opacity: 0;
  animation: slideUp 0.9s ease 0.35s forwards;
}
.hero-title-home em { font-style: italic; color: var(--gold-light); }

.hero-title-sub {
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 44px;
  opacity: 0;
  animation: slideUp 0.9s ease 0.5s forwards;
}

.hero-body {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(222,224,219,0.65);
  line-height: 1.9;
  max-width: 440px;
  margin-bottom: 52px;
  opacity: 0;
  animation: slideUp 0.9s ease 0.65s forwards;
}

.hero-ctas {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp 0.9s ease 0.8s forwards;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-scroll-home {
  position: absolute;
  bottom: 48px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  opacity: 0;
  animation: fadeInAnim 1s ease 1.2s forwards;
}
.scroll-mouse {
  width: 22px; height: 36px;
  border: 1px solid rgba(201,185,154,0.3);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-wheel {
  width: 3px; height: 6px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollWheel 1.8s ease infinite;
}
@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}
@keyframes fadeInAnim { to { opacity: 1; } }

/* ── Buttons ─────────────────────────────────────────────── */
.btn-warm {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--warm-dark);
  background: var(--gold);
  text-decoration: none;
  padding: 15px 40px;
  display: inline-block;
  transition: background 0.3s;
}
.btn-warm:hover { background: var(--gold-light); }

.btn-outline-warm {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mist);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.3s;
}
.btn-outline-warm::after { content: '→'; transition: transform 0.3s; }
.btn-outline-warm:hover  { color: var(--ash); }
.btn-outline-warm:hover::after { transform: translateX(6px); }

/* ── Experience Strip ────────────────────────────────────── */
.experience-strip {
  background-color: rgba(61,87,89,0.3);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.exp-item {
  background: var(--forrest);
  padding: 36px 32px;
  text-align: center;
  transition: background 0.3s;
}
.exp-item:hover { background: rgba(61,87,89,0.8); }

.exp-icon {
  width: 32px; height: 32px;
  margin: 0 auto 16px;
  opacity: 0.6;
}

.exp-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 6px;
}

.exp-sub {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--mist);
}

/* ── Section Shared ──────────────────────────────────────── */
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: block;
  width: 60px; height: 1px;
}
.section-eyebrow::before { background: linear-gradient(90deg, transparent, rgba(201,185,154,0.4)); }
.section-eyebrow::after  { background: linear-gradient(90deg, rgba(201,185,154,0.4), transparent); }

.section-title-home {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 60px);
  color: var(--ash);
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-title-home em { font-style: italic; color: var(--gold-light); }

.section-body-center {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--mist);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── Offerings ───────────────────────────────────────────── */
.offerings {
  padding: 160px 60px;
  background: var(--warm-dark);
}
.offerings-header {
  text-align: center;
  margin-bottom: 80px;
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(201,185,154,0.08);
}

.offering-card {
  background: var(--warm-dark);
  padding: 56px 44px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
.offering-card:hover { background: rgba(31,46,48,0.5); }
.offering-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.offering-card:hover::after { opacity: 0.5; }

.offering-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: rgba(201,185,154,0.1);
  position: absolute;
  top: 32px; right: 36px;
  line-height: 1;
  transition: color 0.4s;
}
.offering-card:hover .offering-num { color: rgba(201,185,154,0.2); }

.offering-icon {
  width: 44px; height: 44px;
  margin-bottom: 32px;
  opacity: 0.65;
  transition: opacity 0.3s;
}
.offering-card:hover .offering-icon { opacity: 0.9; }

.offering-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  color: var(--ash);
  margin-bottom: 14px;
  line-height: 1.2;
}

.offering-desc {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--mist);
  line-height: 1.85;
}

.offering-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}
.offering-card:hover .offering-link { opacity: 1; transform: translateY(0); }

/* ── Portfolio ───────────────────────────────────────────── */
.portfolio { padding: 0 0 160px; background: var(--warm-dark); }

.portfolio-header {
  padding: 0 60px 60px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-template-rows: 400px 300px;
  gap: 2px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  background: var(--forrest);
}
.portfolio-item-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.7s ease;
}
.portfolio-item:hover .portfolio-item-bg { transform: scale(1.04); }

.p1 {
  grid-column: 1; grid-row: 1 / 3;
  background: linear-gradient(160deg, #1a2e30 0%, #0d1f20 50%, #1a1e22 100%);
}
.p1::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(61,87,89,0.3), transparent 70%);
}
.p2 { grid-column: 2; grid-row: 1; background: linear-gradient(140deg, #252522 0%, #1c1e1e 100%); }
.p3 { grid-column: 3; grid-row: 1; background: linear-gradient(130deg, #1f2a2c 0%, #151c1d 100%); }
.p4 { grid-column: 2 / 4; grid-row: 2; background: linear-gradient(120deg, #1e2020 0%, #232628 50%, #1a1d22 100%); }

.portfolio-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 60%);
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.4s;
}
.portfolio-item:hover .portfolio-item-overlay { opacity: 1; }

.portfolio-item-cat {
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.portfolio-item-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  color: var(--ash);
}

.room-sketch {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.12;
  z-index: 1;
}

/* ── Testimonial ─────────────────────────────────────────── */
.testimonial {
  padding: 140px 60px;
  background: var(--forrest);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 320px;
  color: rgba(201,185,154,0.04);
  line-height: 1;
  pointer-events: none;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 3vw, 36px);
  color: var(--ash);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 36px;
  position: relative;
}
.testimonial-attr {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── About ───────────────────────────────────────────────── */
.about-home {
  padding: 160px 60px;
  background: var(--warm-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
}

.about-home-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 4.5vw, 58px);
  color: var(--ash);
  line-height: 1.1;
  margin-bottom: 32px;
}
.about-home-title em { font-style: italic; color: var(--gold-light); }

.about-home-body {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--mist);
  line-height: 1.9;
  margin-bottom: 48px;
}

.about-home-visual { position: relative; height: 580px; }

.home-visual-main {
  position: absolute;
  inset: 0 0 80px 0;
  background: linear-gradient(150deg, #1e2e30 0%, #0f1e20 100%);
  overflow: hidden;
}
.home-visual-main::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(201,185,154,0.08), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(61,87,89,0.2), transparent 50%);
}

.home-visual-tag {
  position: absolute;
  bottom: 0; right: 0;
  background: rgba(201,185,154,0.1);
  border: 1px solid rgba(201,185,154,0.2);
  padding: 20px 24px;
  backdrop-filter: blur(10px);
}
.home-visual-tag-label {
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.home-visual-tag-val {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ash);
}

/* ── Brands ──────────────────────────────────────────────── */
.brands {
  padding: 80px 60px;
  background: var(--forrest);
  border-top:    var(--gum);
  border-bottom: var(--gum);
}
.brands-inner {
  display: flex;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}
.brands-label {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gum);
  white-space: nowrap;
}
.brands-list {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gum);
  transition: color 0.3s;
}
.brand-name:hover { color: var(--gold); }

/* ── CTA ─────────────────────────────────────────────────── */
.cta-home {
  padding: 160px 60px;
  background: var(--warm-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-home::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(201,185,154,0.04), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-home-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 76px);
  color: var(--ash);
  line-height: 1.1;
  margin-bottom: 24px;
  position: relative;
}
.cta-home-title em { font-style: italic; color: var(--gold-light); }
.cta-home-sub {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--mist);
  margin-bottom: 52px;
  line-height: 1.7;
  position: relative;
}
.cta-home-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── Contact Form ────────────────────────────────────────── */
.contact {
  padding: 140px 60px;
  background-color: var(--forrest); 
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 100px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* .contact-title {
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: var(--txt-lg);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
  line-height: 1.05;
  margin: 20px 0 24px;
} */ 

/* At Home — swap this in for the serif display title */
 .contact-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
  font-size: var(--txt-xl);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: .8em;
}

.contact-title em {
  font-style: normal;
  color: var(--mist);       /* Technologies */
  /* color: var(--gold-light); */ /* At Home */
  display: block;
}

.contact-intro {
  font-size: var(--text-md);
  font-weight: 300;
  color: var(--mist);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* ── Form Layout ─────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

/* ── Labels ──────────────────────────────────────────────── */
label {
  font-size: var(--text-xs);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mist);
  transition: color 0.3s;
}

.form-field:focus-within label { color: var(--ash); }

.optional {
  letter-spacing: 0.1em;
  text-transform: none;
  color: rgba(176,181,189,0.5);
  font-size: var(--text-xs);
}

/* ── Inputs & Textarea ───────────────────────────────────── */
input,
textarea,
select {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--ash);
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(176,181,189,0.25);
  padding: 12px 0;
  width: 100%;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

input::placeholder,
textarea::placeholder { color: rgba(176,181,189,0.3); }

input:focus,
textarea:focus,
select:focus {
  border-bottom-color: var(--ash);
}

/* Technologies — gum accent on focus */
/* At Home — swap to var(--gold) */
input:focus,
textarea:focus,
select:focus {
  border-bottom-color: var(--gum);
}

textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

/* ── Select ──────────────────────────────────────────────── */
.select-wrap {
  position: relative;
}

select {
  cursor: pointer;
  padding-right: 24px;
}

select option {
  background-color: var(--charcoal); /* Technologies */
  /* background-color: var(--warm-dark); */ /* At Home */
  color: var(--ash);
}

.select-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--text-xs);
  color: var(--mist);
  pointer-events: none;
  transition: color 0.3s;
}

.select-wrap:focus-within .select-arrow { color: var(--ash); }

/* ── Validation ──────────────────────────────────────────── */
.field-error {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: #c0765a;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.form-field.invalid .field-error {
  opacity: 1;
  transform: translateY(0);
}

.form-field.invalid input,
.form-field.invalid textarea,
.form-field.invalid select {
  border-bottom-color: #c0765a;
}

/* ── Submit Button ───────────────────────────────────────── */
.form-footer {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.btn-submit {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--charcoal);
  background-color: var(--ash);
  border: none;
  padding: 14px 40px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.3s;
}

.btn-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--gum); /* Technologies */
  /* background-color: var(--gold); */ /* At Home */
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn-submit:hover::after { transform: translateX(0); }
.btn-submit:hover { color: var(--ash); }

.btn-submit-text,
.btn-submit-sending { position: relative; z-index: 1; }

.btn-submit-sending { display: none; }
.btn-submit.sending .btn-submit-text    { display: none; }
.btn-submit.sending .btn-submit-sending { display: inline; }
.btn-submit.sending { pointer-events: none; opacity: 0.7; }

.form-privacy {
  font-size: var(--text-xs);
  color: rgba(176,181,189,0.4);
  letter-spacing: 0.06em;
  line-height: 1.6;
}

/* ── Success State ───────────────────────────────────────── */
.form-success {
  display: none;
  text-align: center;
  padding: 60px 40px;
  border: 1px solid rgba(176,181,189,0.1);
}

.form-success.visible { display: block; }

.success-icon {
  font-size: 28px;
  color: var(--gum); /* Technologies */
  /* color: var(--gold); */ /* At Home */
  margin-bottom: 20px;
}

.success-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 12px;
}

.success-body {
  font-size: var(--text-md);
  color: var(--mist);
  line-height: 1.8;
}

/* ── Contact Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .contact { padding: 100px 32px; }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

@media (max-width: 640px) {
  .contact { padding: 80px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ── Footer ──────────────────────────────────────────────── */
footer { background: #121213; padding: 80px 60px 40px; }

.footer-top-home {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(201,185,154,0.1);
  margin-bottom: 40px;
}

.footer-logo-home {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-home img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-tagline-home {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: rgba(222,224,219,0.4);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-heading-home {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(201,185,154,0.5);
  margin-bottom: 20px;
}

.footer-links-home { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links-home a {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(222,224,219,0.35);
  text-decoration: none;
  transition: color 0.3s;
  text-transform: uppercase;
}
.footer-links-home a:hover { color: var(--ash); }

.footer-bottom-home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy-home  { font-size: 12px; letter-spacing: 0.12em; color: rgba(222,224,219,0.2); }
.footer-sister-home {
  font-size: 12px; letter-spacing: 0.12em;
  color: rgba(222,224,219,0.2);
  display: flex; align-items: center; gap: 10px;
}
.footer-sister-home a { color: var(--gum); text-decoration: none; transition: color 0.3s; }
.footer-sister-home a:hover { color: var(--ash); }

/* ── Animations ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */

/* Tablet — 1024px */
@media (max-width: 1024px) {
  nav { padding: 24px 32px; }
  .nav-links, .nav-cta-home { display: none; }
  .nav-toggle { display: flex; }
  .nav-drawer  { display: flex; }

  .hero-content { padding: 0 32px; max-width: 100%; }
  .hero-panel, .hero-architecture { display: none; }
  .hero-scroll-home { display: none; }

  .experience-strip { grid-template-columns: repeat(2, 1fr); }

  .offerings { padding: 100px 32px; }
  .offerings-grid { grid-template-columns: repeat(2, 1fr); }

  .portfolio-header { padding: 0 32px 48px; }
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 280px 220px;
  }
  .p1 { grid-column: 1 / 3; grid-row: 1; }
  .p2 { grid-column: 1;     grid-row: 2; }
  .p3 { grid-column: 2;     grid-row: 2; }
  .p4 { grid-column: 1 / 3; grid-row: 3; }

  .testimonial { padding: 100px 32px; }
  .testimonial::before { font-size: 200px; }

  .about-home {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 100px 32px;
  }
  .about-home-visual { height: 320px; }

  .brands { padding: 60px 32px; }
  .brands-inner { gap: 40px; }

  .cta-home { padding: 100px 32px; }

  footer { padding: 60px 32px 32px; }
  .footer-top-home { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* Mobile — 640px */
@media (max-width: 640px) {
  nav { padding: 20px 24px; }

  .hero-content { padding: 0 24px; }
  .hero-title-home { font-size: clamp(44px, 13vw, 72px); }
  .hero-body       { font-size: 14px; }
  .hero-ctas       { flex-direction: column; align-items: flex-start; gap: 20px; }

  .experience-strip { grid-template-columns: 1fr 1fr; }
  .exp-item { padding: 28px 20px; }

  .offerings { padding: 80px 24px; }
  .offerings-header { margin-bottom: 48px; }
  .offerings-grid { grid-template-columns: 1fr; }
  .offering-card { padding: 40px 28px; }
  .offering-link { opacity: 1; transform: translateY(0); } /* always visible on mobile */

  .portfolio { padding: 0 0 100px; }
  .portfolio-header { padding: 0 24px 36px; }
  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 280px 220px 220px 200px;
  }
  .p1 { grid-column: 1; grid-row: 1; }
  .p2 { grid-column: 1; grid-row: 2; }
  .p3 { grid-column: 1; grid-row: 3; }
  .p4 { grid-column: 1; grid-row: 4; }
  .portfolio-item-overlay { opacity: 1; } /* always visible on mobile */

  .testimonial { padding: 80px 24px; }
  .testimonial::before { display: none; }

  .about-home { padding: 80px 24px; gap: 48px; }
  .about-home-visual { height: 260px; }
  .home-visual-main { inset: 0 0 60px 0; }

  .brands { padding: 48px 24px; }
  .brands-inner { gap: 24px; }
  .brands-list { gap: 28px; }

  .cta-home { padding: 80px 24px; }
  .cta-home-actions { flex-direction: column; }

  footer { padding: 56px 24px 28px; }
  .footer-top-home { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom-home { flex-direction: column; align-items: flex-start; gap: 8px; }
}
