:root{
  --bg: #0F2418;            /* deep olive forest */
  --gold: #B08A3C;
  --ivory: #F5EFE3;         /* warm ivory */
  --muted: rgba(245,239,227,.72);
  --line: rgba(245,239,227,.10);
  --hair: rgba(200,162,74,.44);
  --radius: 999px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background: var(--bg);
  color: var(--ivory);
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap{
  width: min(980px, calc(100% - 64px));
  margin: 0 auto;
}

/* Top */
.top{
  border-bottom: 1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 34px 0 24px;
}

.nav-home{ text-decoration:none; color:inherit; }

.nav-initials{
  display:inline-block;
  font-size: 12px;
  letter-spacing: .28em;
  padding: 12px 14px;
  border: 1px solid rgba(200,162,74,.28);
  border-radius: 14px;
  color: rgba(245,239,227,.86);
}

.nav-links{
  display:flex;
  gap: 22px;
  color: rgba(245,239,227,.72);
  font-weight: 500;
}

.nav-links a{
  color: inherit;
  text-decoration:none;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.nav-links a:hover{
  background: rgba(245,239,227,.04);
  border-color: rgba(245,239,227,.10);
  color: rgba(245,239,227,.92);
}

/* Hero */
.hero{
  padding: 98px 0 110px; /* BIG negative space */
  text-align:left;
}

.kicker{
  margin:0 0 18px;
  font-size: 12px;
  letter-spacing: .34em;
  color: rgba(245,239,227,.66);
}

.brand-logo{
  display: block;
  width: min(760px, 92vw);
  height: auto;
  margin: 0 auto;          /* centered */
}

.hairline{
  width: 170px;
  height: 1px;
  background: var(--hair);
  margin: 28px 0 0;
}

.lede{
  margin: 28px 0 0;
  max-width: 52ch;
  font-size: 20px;
  line-height: 1.9;
  color: var(--muted);
}

/* Buttons */
.hero-actions{
  margin-top: 44px;
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration:none;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform .08s ease, opacity .2s ease, background .2s ease, border-color .2s ease;
}

.btn:active{ transform: translateY(1px); }

.btn.gold{
  background: var(--gold);
  color: #142015;
}

.btn.gold:hover{ opacity:.92; }

.btn.outline{
  background: transparent;
  border-color: rgba(245,239,227,.18);
  color: rgba(245,239,227,.92);
}

.btn.outline:hover{
  background: rgba(245,239,227,.04);
  border-color: rgba(245,239,227,.26);
}

/* Sections */
.section{
  padding: 110px 0; /* BIG space between sections */
  border-bottom: 1px solid var(--line);
}

.section-head{
  margin-bottom: 64px;
  text-align: center;
}

.section-head h2{
  margin:0;
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(245,239,227,.80);
}

/* Luxe rows */
.rows{
  display:grid;
  gap: 56px;                 /* more breathing room */
  justify-items: center;     /* centers each item */
}

.row{
  max-width: 520px;          /* keeps lines elegant */
  text-align: center;        /* centers text */
}

.row h3{
  margin:0;
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(200,162,74,.95);
}

.row p{
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.95;
  max-width: 70ch;
}

/* Who */
.prose{
  max-width: 62ch;
  margin: 0 auto;     /* centers the block */
  display:grid;
  gap: 26px;
  text-align: center;
}

.prose p{
  margin:0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.95;
}

.social{
  display:flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.social-label{
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(245,239,227,.66);
}

.social-link{
  color: rgba(245,239,227,.92);
  text-decoration:none;
  border-bottom: 1px solid rgba(200,162,74,.55);
  padding-bottom: 3px;
}

.social-link:hover{
  border-bottom-color: rgba(200,162,74,.95);
}

/* Contact */
.contact-actions{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
}

.fineprint{
  margin: 28px 0 0;
  color: rgba(245,239,227,.56);
  font-size: 14px;
  line-height: 1.8;
}

.footer{
  padding: 36px 0 58px;
  text-align:center;
  color: rgba(245,239,227,.52);
  font-size: 14px;
}

/* Mobile */
@media (max-width: 760px){
  .wrap{ width: min(980px, calc(100% - 40px)); }
  .nav-links{ display:none; }
  .hero{ padding: 70px 0 78px; }
  .section{ padding: 80px 0; }
  .lede, .row p, .prose p{ font-size: 18px; }
}
/* Before/After Slider - ADD THIS TO END OF styles.css */

.slider-container {
  max-width: 100%;
  margin: 0 auto;
}

.slider-wrapper {
  position: relative;
  margin-bottom: 48px;
}

.comparison-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  max-height: 600px;/* CHANGE THIS LINE */
  overflow: hidden;
  border-radius: 12px;
  cursor: col-resize;
  user-select: none;
}

.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-image.after {
  clip-path: inset(0 0 0 50%);
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--gold);
  transform: translateX(-50%);
  z-index: 10;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  pointer-events: none;
}

.slider-button::before,
.slider-button::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.slider-button::before {
  border-width: 8px 12px 8px 0;
  border-color: transparent #142015 transparent transparent;
  left: 14px;
}

.slider-button::after {
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent #142015;
  right: 14px;
}

.slider-label {
  position: absolute;
  top: 20px;
  padding: 8px 16px;
  background: rgba(15, 36, 24, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ivory);
  z-index: 5;
}

.slider-label.before {
  left: 20px;
}

.slider-label.after {
  right: 20px;
}

.project-title {
  text-align: center;
  margin: 24px 0 0;
  font-size: 14px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(200,162,74,.95);
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.nav-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245,239,227,.18);
  border-radius: 50%;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  transition: all .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav-arrow:hover {
  background: rgba(245,239,227,.04);
  border-color: var(--gold);
}

.nav-arrow:active {
  transform: scale(0.95);
}

.slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245,239,227,.2);
  cursor: pointer;
  transition: all .3s ease;
}

.dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* Mobile slider adjustments */
@media (max-width: 760px){
  .slider-label {
    font-size: 9px;
    padding: 6px 12px;
    top: 12px;
  }
  
  .slider-label.before { left: 12px; }
  .slider-label.after { right: 12px; }
}

@media (max-width: 420px){
  .brand{ font-size: 104px; }
}
