/* ============================================================
   OF Carpentry & Building — Premium Stylesheet
   Palette: Navy #0c1a30 | Dark #191917 | Forest #2D3F30
            Cream #F2EBD9 | Stone #7A746C | Blue #8dade0
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

/* ─── Custom Properties ─────────────────────────────────── */
:root {
  --oak:        #0c1a30;
  --oak-light:  #8dade0;
  --oak-dark:   #060e1c;
  --dark:       #191917;
  --charcoal:   #242422;
  --forest:     #2D3F30;
  --cream:      #F2EBD9;
  --cream-dark: #E5DBC5;
  --stone:      #7A746C;
  --stone-light:#A09A92;
  --light:      #FAFAF5;
  --white:      #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  --nav-h:      80px;
  --max-w:      1280px;
  --gutter:     clamp(1.5rem, 5vw, 4rem);

  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --dur:        0.35s;

  --radius-sm:  3px;
  --radius:     6px;
  --shadow:     0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.2);
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--light);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--oak); color: var(--white); }

/* ─── Typography Scale ───────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: inherit;
}
h1 { font-size: clamp(3.2rem, 8vw, 7.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: 1.3rem; }
p  { max-width: 68ch; }

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--oak);
}

/* ─── Layout Utilities ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section--dark { background: var(--dark); color: var(--light); }
.section--charcoal { background: var(--charcoal); color: var(--light); }
.section--cream { background: var(--cream); }
.section--forest { background: var(--forest); color: var(--light); }
.section--light { background: var(--light); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2rem); }

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

.oak-rule {
  width: 60px;
  height: 2px;
  background: var(--oak);
  display: block;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--oak {
  background: var(--oak);
  color: var(--white);
  border: 2px solid var(--oak);
}
.btn--oak:hover {
  background: var(--oak-dark);
  border-color: var(--oak-dark);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn--outline-oak {
  background: transparent;
  color: var(--oak);
  border: 2px solid var(--oak);
}
.btn--outline-oak:hover {
  background: var(--oak);
  color: var(--white);
}

/* ─── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(25, 25, 23, 0.97);
  border-bottom-color: rgba(176, 120, 64, 0.2);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
}
.nav__logo-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  font-weight: 500;
  color: var(--oak);
  line-height: 1;
}
.nav__logo-name {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  line-height: 1;
}
.nav__logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: opacity var(--dur) var(--ease);
}
.nav__logo:hover .nav__logo-img { opacity: 0.85; }
.footer__logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  margin-bottom: 0.5rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav__links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--dur) var(--ease);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--oak);
  transition: width var(--dur) var(--ease);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  margin-left: 1rem;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  padding: 4px 0;
}
.nav__hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.nav__hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay menu */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.nav__mobile.open {
  opacity: 1;
  pointer-events: all;
}
.nav__mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.nav__mobile-links a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  color: var(--light);
  transition: color var(--dur) var(--ease);
}
.nav__mobile-links a:hover { color: var(--oak); }
.nav__mobile-contact {
  margin-top: 3rem;
  text-align: center;
}
.nav__mobile-contact a {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-light);
  margin-bottom: 0.5rem;
  transition: color var(--dur) var(--ease);
}
.nav__mobile-contact a:hover { color: var(--oak); }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(25, 25, 23, 0.7) 0%,
    rgba(25, 25, 23, 0.35) 40%,
    rgba(25, 25, 23, 0.35) 60%,
    rgba(25, 25, 23, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--gutter);
  max-width: 900px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--oak);
}
.hero__eyebrow span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oak-light);
}
.hero h1 {
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.02;
}
.hero h1 em {
  font-style: italic;
  color: var(--oak-light);
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* ─── Trust Strip ─────────────────────────────────────────── */
.trust-strip {
  background: var(--oak);
  padding: 1.2rem 0;
}
.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}
.trust-strip__item svg { width: 16px; height: 16px; opacity: 0.9; }
.trust-strip__sep {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.35);
}

/* ─── About ───────────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.about__text .label { margin-bottom: 1rem; }
.about__text h2 { margin-bottom: 1.5rem; }
.about__text p { color: var(--stone); margin-bottom: 1.25rem; }
.about__text p:first-of-type { font-size: 1.15rem; color: var(--charcoal); font-weight: 300; }
.about__text .oak-rule { margin: 2rem 0; }

.about__panel {
  background: var(--dark);
  color: var(--light);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius);
}
.about__panel-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oak-light);
  margin-bottom: 2rem;
}
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1rem;
}
.about__stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--oak-light);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.about__stat-label {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--stone-light);
  letter-spacing: 0.04em;
}
.about__stat + .about__stat {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.about__areas {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.about__areas-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--oak-light);
  margin-bottom: 0.75rem;
}
.about__areas p {
  font-size: 0.9rem;
  color: var(--stone-light);
  max-width: none;
}

/* ─── Services ───────────────────────────────────────────── */
.services__header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.services__header .label { margin-bottom: 0.75rem; }
.services__header h2 { max-width: 14ch; }
.services__header p { color: var(--stone-light); margin-top: 1rem; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card {
  background: var(--charcoal);
  padding: clamp(2rem, 4vw, 2.75rem);
  transition: background var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--oak-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.service-card:hover { background: #2a2a28; }
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.5rem;
  color: var(--oak-light);
}
.service-card__num {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
}
.service-card h3 {
  font-size: 1.3rem;
  color: var(--light);
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--stone-light);
  line-height: 1.65;
  max-width: none;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oak-light);
  transition: gap var(--dur) var(--ease);
}
.service-card__link svg { width: 12px; height: 12px; }
.service-card:hover .service-card__link { gap: 0.7rem; }

/* ─── Why Choose Us ──────────────────────────────────────── */
.why__header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.why__header .label { margin-bottom: 0.75rem; color: rgba(255,255,255,0.5); }
.why__header h2 { color: var(--light); }

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}
.why-card {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}
.why-card__num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--oak-light);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.why-card h3 {
  font-size: 1.4rem;
  color: var(--light);
  margin-bottom: 0.75rem;
}
.why-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: none;
}

/* ─── Portfolio ───────────────────────────────────────────── */
.portfolio__header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.portfolio__header .label { margin-bottom: 0.75rem; }
.portfolio__header h2 { max-width: 18ch; }

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.portfolio-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--charcoal);
}
.portfolio-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.portfolio-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.portfolio-card:hover .portfolio-card__image img { transform: scale(1.04); }
.portfolio-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25,25,23,0.9) 0%, transparent 60%);
}

.portfolio-card__body {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.portfolio-card__tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oak-light);
  margin-bottom: 0.6rem;
}
.portfolio-card h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--light);
  margin-bottom: 0.75rem;
}
.portfolio-card p {
  font-size: 0.9rem;
  color: var(--stone-light);
  line-height: 1.65;
  max-width: none;
  margin-bottom: 1.5rem;
}
.portfolio-card__steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.portfolio-card__step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--stone-light);
}
.portfolio-card .btn--outline-oak {
  color: var(--oak-light);
  border-color: var(--oak-light);
}
.portfolio-card .btn--outline-oak:hover {
  background: var(--oak-light);
  border-color: var(--oak-light);
  color: var(--dark);
}

.portfolio-card__step::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--oak-light);
  margin-top: 0.55em;
}

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq__header {
  margin-bottom: clamp(3rem, 5vw, 4rem);
  text-align: center;
}
.faq__header .label { margin-bottom: 0.75rem; }
.faq__header h2 { max-width: 24ch; margin: 0 auto; }

.faq__list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--cream-dark);
}
.faq-item:first-child { border-top: 1px solid var(--cream-dark); }
.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--dark);
  transition: color var(--dur) var(--ease);
  -webkit-user-select: none;
  user-select: none;
}
.faq-item__question:hover { color: var(--oak); }
.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur) var(--ease);
}
.faq-item__icon svg {
  width: 12px;
  height: 12px;
  color: var(--stone);
  transition: transform var(--dur) var(--ease);
}
.faq-item.open .faq-item__icon { background: var(--oak); border-color: var(--oak); }
.faq-item.open .faq-item__icon svg { color: var(--white); transform: rotate(45deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out), padding 0.35s var(--ease);
}
.faq-item.open .faq-item__answer { max-height: 400px; }
.faq-item__answer-inner {
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--stone);
  line-height: 1.75;
}
.faq-item__answer-inner p { max-width: none; }

/* ─── Contact ─────────────────────────────────────────────── */
.contact-section {
  background: var(--dark);
  color: var(--light);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  min-height: 640px;
}

.contact__info {
  background: var(--forest);
  padding: clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact__info .label { color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.contact__info h2 { color: var(--light); margin-bottom: 1.5rem; }
.contact__info > p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem;
  max-width: 40ch;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact__detail-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oak-light);
  margin-top: 0.1rem;
}
.contact__detail-icon svg { width: 18px; height: 18px; }
.contact__detail-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.25rem;
}
.contact__detail-value {
  font-size: 0.95rem;
  color: var(--light);
}
.contact__detail-value a {
  color: var(--light);
  transition: color var(--dur) var(--ease);
}
.contact__detail-value a:hover { color: var(--oak-light); }

.contact__areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}
.contact__area-tag {
  font-size: 0.75rem;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

.contact__form-wrap {
  background: var(--light);
  padding: clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact__form-wrap .label { margin-bottom: 0.5rem; }
.contact__form-wrap h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--dark);
  margin-bottom: 2rem;
}

/* Form styles */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: none;
  border: none;
  border-bottom: 1.5px solid var(--cream-dark);
  border-radius: 0;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--dark);
  transition: border-color var(--dur) var(--ease);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--oak);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--stone-light); font-size: 0.9rem; }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-honeypot { display: none; visibility: hidden; }

#form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.form-feedback {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 1rem;
  font-weight: 500;
}
.form-feedback.success {
  background: #e8f5e9;
  color: #2e7d32;
  border-left: 3px solid #4caf50;
  display: block;
}
.form-feedback.error {
  background: #fce4ec;
  color: #c62828;
  border-left: 3px solid #f44336;
  display: block;
}

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: var(--light);
  border-top: 1px solid rgba(176, 120, 64, 0.25);
}
.footer__main {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 4rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}

.footer__brand {}
.footer__logo {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.footer__logo-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--oak);
  line-height: 1;
}
.footer__logo-name {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-light);
}
.footer__tagline {
  font-size: 0.88rem;
  color: var(--stone);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 28ch;
}
.footer__contact-quick {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer__contact-quick a {
  font-size: 0.85rem;
  color: var(--stone-light);
  transition: color var(--dur) var(--ease);
}
.footer__contact-quick a:hover { color: var(--oak-light); }

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oak-light);
  margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col ul a {
  font-size: 0.88rem;
  color: var(--stone);
  transition: color var(--dur) var(--ease);
}
.footer__col ul a:hover { color: var(--light); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer__bottom p {
  font-size: 0.78rem;
  color: var(--stone);
  max-width: none;
}
.footer__bottom a {
  color: var(--stone);
  transition: color var(--dur) var(--ease);
}
.footer__bottom a:hover { color: var(--oak-light); }

/* ─── Carousel ────────────────────────────────────────────── */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #111;
  aspect-ratio: 16 / 10;
  user-select: none;
}
.carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}
.carousel__slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}
.carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25,25,23,0.6) 0%, transparent 45%);
  pointer-events: none;
}

/* Badge */
.carousel__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  z-index: 2;
}
.carousel__badge--before { background: rgba(200,60,60,0.85); color: #fff; }
.carousel__badge--during { background: rgba(180,120,0,0.85); color: #fff; }
.carousel__badge--after  { background: rgba(30,140,80,0.85);  color: #fff; }

/* Prev / Next arrows */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(25,25,23,0.65);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  backdrop-filter: blur(4px);
}
.carousel__btn:hover {
  background: var(--oak-light);
  border-color: var(--oak-light);
  color: var(--dark);
}
.carousel__btn svg { width: 16px; height: 16px; pointer-events: none; }
.carousel__btn--prev { left: 0.75rem; }
.carousel__btn--next { right: 0.75rem; }
.carousel__btn:disabled { opacity: 0.25; cursor: default; }
.carousel__btn:disabled:hover { background: rgba(25,25,23,0.65); border-color: rgba(255,255,255,0.15); color: #fff; }

/* Dots */
.carousel__dots {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}
.carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.carousel__dot.active {
  background: var(--oak-light);
  transform: scale(1.35);
}

/* Counter */
.carousel__counter {
  position: absolute;
  bottom: 0.8rem;
  right: 1rem;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  z-index: 3;
  pointer-events: none;
}

/* Caption */
.carousel__caption {
  position: absolute;
  bottom: 2.4rem;
  left: 1rem;
  right: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
  letter-spacing: 0.02em;
  z-index: 3;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Remove the old portfolio-card__image styles since carousel replaces it */
.portfolio-card--carousel .portfolio-card__image { display: none; }

/* ─── Rainbow Glow ────────────────────────────────────────── */
@keyframes rainbowGlow {
  0%   { box-shadow: 0 0 12px 3px rgba(255,60,60,0.65),  0 0 28px 6px rgba(255,60,60,0.2); }
  16%  { box-shadow: 0 0 12px 3px rgba(255,150,0,0.65),  0 0 28px 6px rgba(255,150,0,0.2); }
  33%  { box-shadow: 0 0 12px 3px rgba(60,220,80,0.65),  0 0 28px 6px rgba(60,220,80,0.2); }
  50%  { box-shadow: 0 0 12px 3px rgba(30,160,255,0.65), 0 0 28px 6px rgba(30,160,255,0.2); }
  66%  { box-shadow: 0 0 12px 3px rgba(140,80,255,0.65), 0 0 28px 6px rgba(140,80,255,0.2); }
  83%  { box-shadow: 0 0 12px 3px rgba(255,60,160,0.65), 0 0 28px 6px rgba(255,60,160,0.2); }
  100% { box-shadow: 0 0 12px 3px rgba(255,60,60,0.65),  0 0 28px 6px rgba(255,60,60,0.2); }
}
@keyframes rainbowBorder {
  0%   { border-color: rgba(255,60,60,0.8); }
  16%  { border-color: rgba(255,150,0,0.8); }
  33%  { border-color: rgba(60,220,80,0.8); }
  50%  { border-color: rgba(30,160,255,0.8); }
  66%  { border-color: rgba(140,80,255,0.8); }
  83%  { border-color: rgba(255,60,160,0.8); }
  100% { border-color: rgba(255,60,60,0.8); }
}

.btn:hover          { animation: rainbowGlow 2s linear infinite; }
.btn--oak:hover     { animation: rainbowGlow 2s linear infinite; }
.btn--outline-white:hover,
.btn--outline-oak:hover { animation: rainbowGlow 2s linear infinite, rainbowBorder 2s linear infinite; }

.service-card:hover  { animation: rainbowGlow 2s linear infinite; }
.portfolio-card:hover { animation: rainbowGlow 2s linear infinite; }
.nav__links a:hover::after { animation: rainbowBorder 2s linear infinite; background: none; border-bottom: 1px solid; }

/* ─── Scroll Reveal Animations ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── Utility ─────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.loading { cursor: wait; opacity: 0.7; pointer-events: none; }

/* ─── Responsive — Tablet (≤1024px) ──────────────────────── */
@media (max-width: 1024px) {
  :root { --nav-h: 70px; }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .about__grid { grid-template-columns: 1fr; }
  .about__panel { order: -1; }
  .about__stats { grid-template-columns: repeat(4, 1fr); }
  .about__stat + .about__stat { padding-top: 0; border-top: none; border-left: 1px solid rgba(255,255,255,0.07); padding-left: 1rem; }

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

  .why__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

  .portfolio__grid { grid-template-columns: 1fr; }

  .contact__grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* ─── Responsive — Mobile (≤640px) ───────────────────────── */
@media (max-width: 640px) {
  h1 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  h2 { font-size: clamp(2rem, 8vw, 3rem); }

  .trust-strip__inner { gap: 0.75rem 1.5rem; }
  .trust-strip__sep { display: none; }
  .trust-strip__item { font-size: 0.7rem; }

  .about__stats { grid-template-columns: 1fr 1fr; }
  .about__stat + .about__stat { padding-top: 1rem; border-left: none; border-top: 1px solid rgba(255,255,255,0.07); padding-left: 0; }

  .services__grid { grid-template-columns: 1fr; }

  .why__grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }

  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; }
}

/* ─── Focus Styles (Accessibility) ───────────────────────── */
:focus-visible {
  outline: 2px solid var(--oak);
  outline-offset: 3px;
}
a:focus-visible, button:focus-visible { border-radius: var(--radius-sm); }

/* ─── Social Icons ────────────────────────────────────────── */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--stone-light);
  transition: all var(--dur) var(--ease);
}
.social-link svg { width: 17px; height: 17px; }
.social-link:hover {
  background: var(--oak-light);
  border-color: var(--oak-light);
  color: var(--dark);
  transform: translateY(-2px);
}
.social-link--instagram:hover { background: #e1306c; border-color: #e1306c; color: #fff; }
.social-link--tiktok:hover    { background: #010101; border-color: #69c9d0; color: #fff; }

/* ─── Instagram Reels section ────────────────────────────── */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
  align-items: start;
}

.reel-wrap {
  width: 100%;
  overflow: hidden;
}

/* Override Instagram's inline min/max-width — target both the blockquote
   placeholder AND the iframe that embed.js injects after load */
.reel-wrap .instagram-media,
.reel-wrap iframe {
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 32px rgba(0,0,0,0.4) !important;
}

@media (max-width: 900px) {
  .reels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .reels-grid {
    grid-template-columns: 1fr;
  }
}

/* Checkatrade widget container */
.checkatrade-wrap {
  margin-top: 1.25rem;
  display: flex;
  justify-content: flex-start;
}
.checkatrade-wrap > * {
  filter: hue-rotate(200deg) saturate(0.75) brightness(1.15) !important;
}

/* ─── Print ───────────────────────────────────────────────── */
@media print {
  .nav, .hero__scroll, .nav__mobile { display: none; }
  .hero { height: auto; min-height: auto; }
  .hero__video-wrap, .hero__overlay { display: none; }
  .hero__content { padding: 2rem; color: #000; }
}
