* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  font-family: "Playfair Display", serif;
}

body {
  background: #000;
  color: #fff;
  overflow: hidden;
  overflow-x: hidden;
}

/* remove default blue link styles everywhere */
a, a:visited {
  color: inherit;
  text-decoration: none;
}
a:focus { outline: none; }

/* ---------- TOP BAR ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 90px;
  background: #fff;
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(14px, 3vw, 34px);
  z-index: 2000;
}

.left-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.right-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.ig-icon {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.mail-link {
  color: #000;
  text-decoration: none;
  letter-spacing: .35em;
  font-size: 20px;
  white-space: nowrap;
}

.menu-btn {
  border: none;
  background: none;
  color: #000;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  letter-spacing: .35em;
  font-size: 22px;
  padding: 0;
  white-space: nowrap;
}

.menu-icon {
  font-size: 28px;
  line-height: 1;
}

/* HOME uses same styling as menu (no icon) */
.home-btn { gap: 0; }

/* ---------- DROPDOWN ---------- */
.dropdown {
  position: fixed;
  top: 90px;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1900;
  transform: translateY(-140%);
  transition: transform 0.45s ease;
  box-shadow: 0 6px 30px rgba(0,0,0,.12);
}

.dropdown.open { transform: translateY(0); }

.dropdown-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 110px;
  padding: 34px 24px;
  flex-wrap: wrap;
}

.nav-link {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 34px;
  color: #000;
  white-space: nowrap;
}

.nav-link:hover { opacity: .7; }

/* ---------- PAGES container ---------- */
.pages {
  position: fixed;
  top: 90px;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #000;
  overflow: hidden;
}

.page {
  position: absolute;
  inset: 0;
  display: none;
}

.page.is-active { display: block; }

/* scroll pages */
.page-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 110px;
}

/* ---------- HOME (image scrolls) ---------- */
.page-home {
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.hero { width: 100%; }

.hero-inner {
  position: relative;
  width: 100%;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  filter: blur(9px);
  transition: filter 1s ease;
}

body.loaded .hero-img { filter: blur(0); }

.hero-name {
  position: absolute;
  left: 0;
  right: 0;
  btop: 25%;
  display: flex;
  justify-content: space-between;
  padding: 0 clamp(18px, 6vw, 70px);
  font-size: clamp(34px, 6vw, 92px);
  letter-spacing: .28em;
  color: rgba(255,255,255,.55);
  pointer-events: none;
}

/* ✅ CUSTOM WEBSITES — same size as EMMA/BUIE, centered, black, fades away */
.hero-intro {
  position: absolute;
  left: 50%;
  top: 40%;                 /* moved UP from bottom */
  transform: translateX(-50%);
  font-size: clamp(34px, 6vw, 92px);  /* same as hero-name */
  letter-spacing: .28em;       /* same as hero-name */
  font-weight: 600;
  color: #000;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.hero-intro.play {
  animation: introFade 3.8s ease forwards;
}

@keyframes introFade {
  0%   { opacity: 0; }
  12%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ---------- ABOUT ---------- */
.about-layout {
  width: 100%;
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 42% 58%;
  background: #000;
}

.about-text {
  background: #000;
  padding: 56px 54px;
}

.about-text h1 {
  margin: 0 0 18px 0;
  font-size: clamp(44px, 4.7vw, 78px);
  letter-spacing: .22em;
}

.about-text p {
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.75;
  margin: 0 0 18px 0;
  color: rgba(255,255,255,.92);
}

.about-pad { height: 40px; }

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-bottom img {
  width: 100%;
  display: block;
}

/* ---------- SERVICES ---------- */
.services { padding: 56px 54px 90px; }

.services h2 {
  margin: 0 0 30px;
  font-size: clamp(34px, 3vw, 54px);
  letter-spacing: .12em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.service-card h3 {
  margin: 0 0 16px;
  font-size: clamp(20px, 1.7vw, 28px);
  letter-spacing: .08em;
}

.service-card p {
  margin: 0 0 14px;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.6;
}

.muted { opacity: .85; }

.list div {
  margin: 6px 0;
  font-size: clamp(16px, 1.25vw, 20px);
}

.services-footer {
  margin-top: 70px;
  font-size: clamp(16px, 1.25vw, 22px);
  opacity: .95;
}

/* ---------- GET STARTED ---------- */
.contact {
  padding: 56px 54px 90px;
  max-width: 980px;
}

.contact h2 {
  margin: 0 0 36px;
  font-size: clamp(34px, 3vw, 54px);
}

.field { display: block; margin-bottom: 26px; }

.field span {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,.75);
  padding: 12px 0;
  color: #fff;
  font-size: 20px;
  outline: none;
}

.radio {
  margin-top: 26px;
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 22px;
}

.radio input { transform: translateY(1px); }

.submit-btn {
  margin-top: 34px;
  border: 2px solid rgba(255,255,255,.75);
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 20px;
  letter-spacing: .12em;
  padding: 14px 22px;
  cursor: pointer;
}

.submit-btn:hover { opacity: .85; }

.contact-spacer { height: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .dropdown-nav { gap: 46px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .about-image { height: 60vh; }
}

@media (max-width: 520px) {
  .mail-link { font-size: 16px; letter-spacing: .22em; }
  .menu-btn { font-size: 18px; letter-spacing: .22em; gap: 12px; }
  .right-actions { gap: 18px; }
  .dropdown-nav { padding: 22px 16px; gap: 18px; }
  .nav-link { font-size: 22px; }
  .hero-name { letter-spacing: .18em; font-size: clamp(26px, 8vw, 46px); }

  /* keep CUSTOM WEBSITES same as EMMA/BUIE scaling on small screens */
  .hero-intro { letter-spacing: .18em; font-size: clamp(26px, 8vw, 46px); }
}
