:root{
  --bg: #fbf7f2;
  --paper: #ffffff;
  --ink: #111111;
  --muted: #6f6a62;
  --line: rgba(17,17,17,.12);
  --shadow: 0 18px 60px rgba(17,17,17,.12);

  --r: 18px;
  --r2: 24px;

  --max: 1120px;
}

*{ box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

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

a{ color: inherit; text-decoration: none; }
a:hover{ opacity: .9; }

.container{
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

/* Accessibility */
.skip-link{
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--ink);
  color: #fff;
  padding: 10px 12px;
  border-radius: 999px;
  z-index: 9999;
}
.skip-link:focus{ left: 10px; }

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,247,242,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  flex-wrap: nowrap; /* prevents odd wrapping */
}

/* Brand */
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
  flex: 0 0 auto;
}

.brand-logo{
  height: 46px;     /* ✅ bigger, but not crazy */
  width: auto;
}

.brand-fallback{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 28px;
  letter-spacing: .2px;
}

/* Nav */
.nav{
  display: none !important; /* ✅ force hidden on mobile */
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.nav a{
  padding: 8px 8px;
  border-radius: 12px;
}
.nav a:hover{
  background: rgba(17,17,17,.04);
  color: var(--ink);
}

.header-cta{
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  transition: transform .12s ease, opacity .12s ease;
  white-space: nowrap; /* ✅ prevents “Apply / Host” wrapping */
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 12px 30px rgba(17,17,17,.14);
}
.btn-secondary{
  background: rgba(255,255,255,.75);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn-block{ width: 100%; }

/* Typography */
h1, h2, h3{ margin: 0; }
h2{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 30px;
  letter-spacing: -.2px;
}
h3{
  font-size: 16px;
}
.lead{
  margin: 10px 0 0 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 70ch;
}
.muted{ color: var(--muted); }
.fineprint{
  margin: 12px 0 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* Hero */
.hero{ padding: 22px 0 34px; }
.hero-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
.hero-copy{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--r2);
  box-shadow: var(--shadow);
  padding: 18px 16px;
}
.eyebrow{
  margin: 0 0 8px 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-title{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 38px;
  letter-spacing: -.4px;
}
.hero-subtitle{
  margin: 10px 0 0 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 65ch;
}
.hero-actions{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.hero-meta{
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  display: grid;
  gap: 10px;
}
.meta-label{
  display: inline-block;
  min-width: 70px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.meta-value{ font-weight: 700; }

.hero-media{
  position: relative;
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-media img{
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.hero-badge{
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--ink);
}
.hero-badge .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ink);
  opacity: .85;
}

/* Sections */
.section{ padding: 44px 0; }
.section-soft{
  background: rgba(255,255,255,.35);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head{ margin-bottom: 18px; }

/* Cards */
.cards{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}
.card{
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
}
.card p{
  margin: 8px 0 12px 0;
  color: var(--muted);
}
.card ul{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

/* Steps */
.steps{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}
.step{
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
}
.step-num{
  width: 40px; height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}
.step-body p{ margin: 6px 0 0 0; color: var(--muted); }

.center{ display: flex; justify-content: center; margin-top: 18px; }

/* Gallery */
.gallery{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}
.figure{
  margin: 0;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.figure img{
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.figure figcaption{
  padding: 12px 14px;
  font-size: 13px;
  color: var(--muted);
}

/* Contact */
.contact{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}
.contact-box{
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
  box-shadow: var(--shadow);
}
.contact-meta{
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.contact-meta > div{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.contact-meta > div:last-child{ border-bottom: 0; }

/* Footer */
.footer{ padding: 22px 0 26px; }
.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.sep{ opacity: .6; padding: 0 8px; }

/* Small phones: slightly smaller logo and tighter button so header stays clean */
@media (max-width: 420px){
  .brand-logo{ height: 42px; }
  .btn{ padding: 11px 14px; font-size: 13px; }
}

/* Desktop */
@media (min-width: 860px){
  .nav{ display: flex !important; } /* show nav only on desktop */
  .hero-grid{ grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: stretch; }
  .hero-copy{ padding: 22px 22px; }
  .hero-title{ font-size: 52px; }
  .hero-media img{ height: 100%; min-height: 520px; }
  .hero-actions{ flex-direction: row; }
  .cards{ grid-template-columns: repeat(3, 1fr); }
  .steps{ grid-template-columns: repeat(3, 1fr); }
  .step{ grid-template-columns: 44px 1fr; }
  .gallery{ grid-template-columns: repeat(2, 1fr); }
  .figure img{ height: 360px; }
  .contact{ grid-template-columns: 1fr 1fr; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .btn{ transition: none; }
}
