:root {
  --bg: #f4efe6;
  --ink: #17120d;
  --muted: rgba(23, 18, 13, .62);
  --line: rgba(23, 18, 13, .10);
  --soft: rgba(255, 255, 255, .62);
  --gold: #c9a86a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

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

.site-shell { max-width: 1440px; margin: 0 auto; padding: 24px; overflow: hidden; }

.nav {
  position: sticky; top: 18px; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.68); backdrop-filter: blur(18px); box-shadow: 0 12px 40px rgba(23,18,13,.06);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; border-radius: 999px; background: var(--ink); color: white; display: grid; place-items: center; font-weight: 900; font-size: 20px; overflow: hidden; }
.logo-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand strong { display: block; font-size: 18px; letter-spacing: -.03em; }
.brand small { display: block; margin-top: 2px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(23,18,13,.55); }

.nav-links { display: flex; gap: 30px; color: rgba(23,18,13,.62); font-size: 14px; font-weight: 700; }
.nav-links a:hover, .footer a:hover { color: var(--ink); }

.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 900; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.nav-cta { background: var(--ink); color: white; padding: 11px 21px; font-size: 14px; box-shadow: 0 15px 35px rgba(23,18,13,.18); }
.button { padding: 16px 30px; }
.button:hover, .nav-cta:hover { transform: translateY(-2px); }
.button.dark { background: var(--ink); color: white; box-shadow: 0 20px 45px rgba(23,18,13,.20); }
.button.light { background: rgba(255,255,255,.68); border: 1px solid var(--line); }
.button.white { background: white; color: var(--ink); box-shadow: 0 20px 45px rgba(0,0,0,.20); }

.hero { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 132px 0 128px; }

.section-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(23,18,13,.18), transparent); }

.glow { position: absolute; pointer-events: none; border-radius: 999px; filter: blur(70px); }
.glow-left { width: 280px; height: 280px; background: rgba(23,18,13,.06); left: -120px; top: 90px; }
.glow-right { width: 340px; height: 340px; background: rgba(201,168,106,.25); right: -60px; top: 0; }

.eyebrow { display: inline-flex; margin: 0 0 28px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.66); color: rgba(23,18,13,.55); font-size: 14px; font-weight: 800; }
.eyebrow.muted, .eyebrow.on-dark { padding: 0; border: 0; background: transparent; border-radius: 0; text-transform: uppercase; letter-spacing: .28em; font-size: 12px; color: rgba(23,18,13,.36); }
.eyebrow.on-dark { color: rgba(255,255,255,.42); }

h1, h2, h3, p { margin-top: 0; }

h1 { max-width: 920px; margin-bottom: 28px; font-size: clamp(62px, 9vw, 136px); line-height: .84; letter-spacing: -.075em; font-weight: 900; }
h2 { font-size: clamp(44px, 5.2vw, 92px); line-height: .92; letter-spacing: -.06em; font-weight: 900; }
h3 { font-size: 28px; line-height: 1; letter-spacing: -.04em; font-weight: 900; }

.lead { max-width: 680px; color: var(--muted); font-size: 19px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.identity-card { position: relative; background: var(--ink); border-radius: 42px; padding: 28px; color: white; box-shadow: 0 45px 90px rgba(23,18,13,.26); }
.inner-card { border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.08); border-radius: 34px; padding: 30px; }
.card-label { margin: 0 0 14px; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .30em; font-size: 12px; font-weight: 800; }
.identity-card h2 { margin-bottom: 24px; font-size: 54px; color: white; }
.identity-card p { color: rgba(255,255,255,.66); line-height: 1.75; font-size: 18px; }

.signal-box { margin-top: 28px; padding: 22px; border-radius: 28px; background: white; color: var(--ink); }
.signal-box span { color: rgba(23,18,13,.42); text-transform: uppercase; letter-spacing: .20em; font-size: 12px; font-weight: 900; }
.signal-box p { color: rgba(23,18,13,.66); margin: 12px 0 0; font-size: 16px; }

.mini-tags { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 30px; color: rgba(255,255,255,.38); text-transform: uppercase; letter-spacing: .22em; font-size: 11px; font-weight: 900; }

.positioning, .focus, .about, .domain-directions { padding: 96px 0; }

.section-heading { max-width: 780px; margin-bottom: 40px; }
.section-heading.wide { max-width: 1080px; }
.section-heading.with-side { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-heading.with-side span { color: rgba(23,18,13,.40); font-size: 14px; font-weight: 800; }

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

.soft-card, .service-card, .metrics article, .portfolio-grid article, .contact-card, .philosophy {
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 32px;
  box-shadow: 0 16px 40px rgba(23,18,13,.04);
}

.soft-card { padding: 30px; }

.soft-card p, .service-card p, .portfolio-grid p, .about-text p, .text-stack p, .philosophy p, .contact-dark p {
  color: var(--muted);
  line-height: 1.78;
  font-size: 17px;
}

.approach, .philosophy { position: relative; overflow: hidden; padding: 64px; border-radius: 46px; }
.panel-glow { position: absolute; right: -60px; top: -60px; width: 250px; height: 250px; background: rgba(201,168,106,.20); border-radius: 999px; filter: blur(55px); }
.split { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.text-stack p + p { margin-top: 22px; }

.service-card { padding: 34px; }
.service-card span { display: block; width: 48px; height: 48px; border-radius: 16px; background: var(--ink); margin-bottom: 26px; }
.dark-card { background: var(--ink); color: white; box-shadow: 0 28px 60px rgba(23,18,13,.20); }
.dark-card span { background: rgba(255,255,255,.18); }
.dark-card p { color: rgba(255,255,255,.65); }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 92px; }
.metrics article { padding: 26px; }
.metrics strong { display: block; font-size: 32px; letter-spacing: -.04em; }
.metrics span { display: block; margin-top: 8px; color: rgba(23,18,13,.45); text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 900; }

.dark-banner { position: relative; overflow: hidden; border-radius: 46px; background: var(--ink); color: white; padding: 78px 48px; text-align: center; box-shadow: 0 45px 90px rgba(23,18,13,.24); }
.banner-glow { position: absolute; left: -80px; top: -80px; width: 330px; height: 330px; background: rgba(255,255,255,.09); border-radius: 999px; filter: blur(55px); }
.banner-content { position: relative; max-width: 960px; margin: 0 auto; }
.dark-banner h2 { color: white; }
.dark-banner p { max-width: 760px; margin: 28px auto 36px; color: rgba(255,255,255,.65); font-size: 20px; line-height: 1.8; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; }
.about-dark, .contact-dark { border-radius: 32px; background: var(--ink); color: white; padding: 38px; box-shadow: 0 35px 75px rgba(23,18,13,.20); }
.about-profile { overflow: hidden; }
.profile-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 26px; margin-bottom: 28px; display: block; }
.about-dark p:last-child { color: rgba(255,255,255,.85); font-size: 26px; line-height: 1.55; }
.about-text { padding: 38px; }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio-grid article { padding: 30px; transition: transform .25s ease, box-shadow .25s ease; }
.portfolio-grid article:hover { transform: translateY(-4px); box-shadow: 0 26px 55px rgba(23,18,13,.10); }
.portfolio-grid small { display: block; color: rgba(23,18,13,.36); text-transform: uppercase; letter-spacing: .25em; font-size: 11px; font-weight: 900; margin-bottom: 18px; }

.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; padding-bottom: 96px; }
.contact-dark h2 { color: white; margin-bottom: 24px; }
.contact-card { padding: 42px; }
.contact-card div + div { margin-top: 34px; }
.contact-card small { display: block; color: rgba(23,18,13,.36); text-transform: uppercase; letter-spacing: .25em; font-size: 12px; font-weight: 900; margin-bottom: 10px; }

.contact-card strong {
  display: block;
  font-size: 20px;
  letter-spacing: -.03em;
  line-height: 1.35;
  word-break: break-word;
}

.contact-card p { display: flex; gap: 22px; margin: 0; font-size: 20px; font-weight: 900; }
.contact-card a { color: inherit; text-decoration: none; }
.contact-card a:hover, .footer a:hover { opacity: .7; }

.footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; padding: 34px 0 16px; color: rgba(23,18,13,.45); font-size: 14px; font-weight: 800; }
.footer nav { display: flex; gap: 24px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }

.domain-list article h3 { font-size: clamp(1.55rem, 3vw, 2.25rem); word-break: break-word; }

@media (max-width: 980px) {
  .site-shell { padding: 16px; }
  .nav { border-radius: 28px; }
  .nav-links { display: none; }
  .hero, .split, .about-grid, .contact { grid-template-columns: 1fr; }
  .hero { padding: 90px 0 86px; }
  .three-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .approach, .philosophy { padding: 36px; border-radius: 34px; }
  .section-heading.with-side { display: block; }
}

@media (max-width: 620px) {
  .brand small {
    display: block;
    font-size: 10px;
    letter-spacing: .24em;
    margin-top: 2px;
    opacity: .65;
  }

  .nav-cta { padding: 10px 16px; }
  h1 { font-size: 62px; }
  h2 { font-size: 42px; }
  .lead { font-size: 17px; }
  .hero-actions, .button { width: 100%; }
  .identity-card, .inner-card, .dark-banner, .about-dark, .contact-dark, .contact-card { border-radius: 26px; }
  .identity-card h2 { font-size: 42px; }
  .positioning, .focus, .about, .domain-directions { padding: 72px 0; }
  .metrics { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }

  .contact-card strong {
    font-size: 16px;
    letter-spacing: -.02em;
    line-height: 1.35;
  }

  .profile-photo { border-radius: 22px; }
}


/* About section visibility fix */
.about-dark p {
  color: rgba(255,255,255,.85) !important;
}

.about-dark strong {
  color: #ffffff !important;
}
