/* ---------------------------------------------------
   AirRooms — base styles
   --------------------------------------------------- */

:root {
  --color-bg: #faf8f4;
  --color-ink: #1f231f;
  --color-ink-soft: #4a4f49;
  --color-line: #e4e0d6;
  --color-cream: #f2ede2;
  --color-accent: #b9752f;   /* warm timber/amber, echoes the render */
  --color-accent-dark: #8f5a22;
  --color-green: #2f3b2d;    /* deep foliage green */

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1180px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin: 0 0 12px;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--color-green);
}

h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

p { color: var(--color-ink-soft); }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(185, 117, 47, 0.28);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(2px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ---------------- Header / Nav ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-line);
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}

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

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--color-ink);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.2s ease;
}

.nav-links a:hover::after { width: 100%; }

.nav-cta { flex-shrink: 0; }

.cta-short { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 20, 14, 0.15) 0%,
    rgba(15, 20, 14, 0.25) 45%,
    rgba(15, 20, 14, 0.78) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 720px;
  padding: 0 24px 72px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
}

.hero-content .eyebrow {
  color: #f0d9b8;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 18px;
  text-wrap: balance;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------------- Build teaser ---------------- */

.build-teaser {
  background: var(--color-green);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}

.build-teaser h2 { color: #fff; }

.build-teaser p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 600px;
  margin: 0 auto 12px;
}

.build-teaser .coming-soon {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
}

/* ---------------- About ---------------- */

.about {
  padding: 96px 0;
}

.two-col {
  max-width: 760px;
}

.about p {
  font-size: 1.05rem;
}

/* ---------------- Portfolio ---------------- */

.portfolio {
  padding: 0 0 96px;
}

.section-intro {
  max-width: 560px;
  margin-bottom: 40px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-cream);
  border: 1px solid var(--color-line);
}

.portfolio-thumb {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.portfolio-video {
  width: 100%;
  object-fit: cover;
  background-color: var(--color-ink);
}

.portfolio-caption {
  margin: 0;
  padding: 14px 16px;
  font-weight: 500;
  color: var(--color-ink);
  font-size: 0.95rem;
}

/* ---------------- Footer ---------------- */

.site-footer {
  border-top: 1px solid var(--color-line);
  padding: 32px 0;
}

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

.logo-footer .logo-img { height: 39px; }

.footer-wrap nav {
  display: flex;
  gap: 24px;
}

.footer-wrap nav a {
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}

.footer-wrap nav a:hover { color: var(--color-accent-dark); }

.footer-copy {
  font-size: 0.82rem;
  color: var(--color-ink-soft);
  margin: 0;
  width: 100%;
  text-align: center;
  order: 3;
}

@media (min-width: 640px) {
  .footer-copy { width: auto; order: 0; text-align: right; }
}

/* ---------------- Responsive nav ---------------- */

@media (max-width: 820px) {
  .nav-toggle { display: flex; }

  .nav-wrap { gap: 12px; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-line);
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }

  .nav-cta { padding: 10px 16px; font-size: 0.85rem; }

  .cta-full { display: none; }
  .cta-short { display: inline; }

  .logo-img { height: 39px; }
}
