:root {
  --teal: #9ec9c4;
  --teal-deep: #6fa8a2;
  --teal-soft: #e7f2f0;
  --ink: #3f4248;
  --ink-soft: #6b6f76;
  --ink-mute: #9aa0a8;
  --paper: #fbfbf9;
  --paper-warm: #f4f1ec;
  --line: #e6e4df;
  --shadow-sm: 0 1px 2px rgba(40, 44, 52, 0.04);
  --shadow-md: 0 12px 40px -16px rgba(40, 44, 52, 0.18);
  --shadow-lg: 0 24px 70px -28px rgba(40, 44, 52, 0.28);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1140px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

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

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ───── Header ───── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 249, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
  opacity: 0.7;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand-logo {
  height: 30px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}

.site-nav a:hover { color: var(--ink); }

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--teal-deep);
  transition: right .25s ease;
}

.site-nav a:not(.nav-cta):hover::after { right: 0; }

.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 9px 18px;
  border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
}

.nav-cta:hover { background: #2d2f33; transform: translateY(-1px); }

/* ───── Hero ───── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 110px;
  background:
    radial-gradient(1200px 500px at 90% -10%, var(--teal-soft) 0%, transparent 60%),
    radial-gradient(800px 400px at -10% 120%, rgba(158, 201, 196, 0.18) 0%, transparent 60%),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 22px;
  padding-bottom: 6px;
  position: relative;
}

.eyebrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--teal);
}

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--ink);
}

.lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: #2d2f33;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--teal-deep);
  color: var(--teal-deep);
}

/* Hero art — concentric rings echoing the logo's mark */
.hero-art {
  position: relative;
  height: 360px;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--teal);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 { width: 320px; height: 320px; opacity: 0.55; }
.ring-2 { width: 230px; height: 230px; opacity: 0.75; border-color: var(--teal-deep); }
.ring-3 { width: 140px; height: 140px; opacity: 1; border-color: var(--teal-deep); border-width: 1.5px; }

.dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal-deep);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(158, 201, 196, 0.25);
}

/* ───── Sections ───── */
.section {
  padding: 110px 0;
  position: relative;
}

.section-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 14px;
}

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}

h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink);
}

/* About */
.section-about {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.about-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.about-body p:last-child { margin-bottom: 0; }

/* Portfolio */
.section-portfolio {
  background: var(--paper-warm);
}

.section-head { margin-bottom: 48px; max-width: 640px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }

.portfolio-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}

.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.portfolio-card-logo {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.portfolio-card-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(158, 201, 196, 0.18), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(158, 201, 196, 0.14), transparent 55%);
  pointer-events: none;
}

.hoaease-mark {
  position: relative;
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
}

.portfolio-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--teal-deep);
  color: #fff;
}

.tag-muted {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.portfolio-summary {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 24px;
  max-width: 56ch;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  transition: color .2s ease, border-color .2s ease, gap .2s ease;
}

.portfolio-link:hover {
  color: var(--teal-deep);
  border-color: var(--teal-deep);
  gap: 12px;
}

/* Approach */
.section-approach { background: var(--paper); }

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

.pillar {
  padding: 36px 32px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-deep) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.pillar:hover::before { transform: scaleX(1); }

.pillar-num {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-deep);
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.pillar h3 { font-size: 20px; margin-bottom: 10px; }

.pillar p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

/* Contact */
.section-contact {
  background: var(--ink);
  color: var(--paper);
}

.section-contact .section-eyebrow { color: var(--teal); }
.section-contact h2 { color: var(--paper); }

.contact-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.contact-lede {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(251, 251, 249, 0.72);
  margin: 22px auto 40px;
  max-width: 52ch;
}

.contact-email {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.01em;
  color: var(--paper);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: color .25s ease, border-color .25s ease, gap .25s ease;
}

.contact-email:hover {
  color: var(--teal);
  border-color: var(--teal);
  gap: 22px;
}

.contact-email-arrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.7em;
  color: var(--teal);
  transition: transform .25s ease;
}

.contact-email:hover .contact-email-arrow {
  transform: translateX(4px);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(251, 251, 249, 0.55);
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-copy {
  margin: 0;
  font-size: 13px;
}

/* ───── Responsive ───── */
@media (max-width: 960px) {
  .hero { padding: 70px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { display: none; }
  .section { padding: 80px 0; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .pillars { grid-template-columns: 1fr; }
  .portfolio-card { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .portfolio-card-logo { min-height: 140px; }
  .contact-inner { padding: 0 8px; }
  .site-nav { gap: 18px; font-size: 13.5px; }
  .site-nav a:nth-child(3) { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 14px 0; }
  .brand-logo { height: 24px; }
  .hero { padding: 56px 0 68px; }
  .section { padding: 64px 0; }
  .portfolio-card { padding: 28px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .contact-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .contact-value { text-align: left; }
  .site-nav a:nth-child(2) { display: none; }
}
