@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root {
  --color-bg: #FCFAF9;
  --color-bg-alt: #F6EFF2;
  --color-ink: #1C1A1D;
  --color-muted: #6E6A70;
  --color-line: #E4DCDF;
  --color-accent: #A23D74;
  --color-accent-soft: #F1DDE7;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--color-line);
  background: var(--color-bg);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 34px;
  width: auto;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  text-decoration: none;
  font-size: 15px;
  color: var(--color-ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: border-color 0.15s ease;
}

nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  border-bottom-color: var(--color-accent);
}

.nav-toggle { display: none; }

@media (max-width: 720px) {
  nav.main-nav ul {
    gap: 20px;
  }
  nav.main-nav {
    font-size: 14px;
  }
}

@media (max-width: 560px) {
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  nav.main-nav ul {
    flex-wrap: wrap;
    gap: 14px 22px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--color-line);
}

.hero-glow {
  position: absolute;
  top: 50%;
  right: -180px;
  width: 620px;
  height: 620px;
  transform: translateY(-50%);
  opacity: 0.9;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-glow {
    opacity: 0.5;
    right: -260px;
  }
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.eyebrow-plain {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-accent);
  margin-bottom: 18px;
}

h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 52px;
  line-height: 1.12;
  max-width: 14ch;
  margin: 0 0 26px;
  letter-spacing: -0.01em;
}

.hero p.lede {
  font-size: 19px;
  color: var(--color-muted);
  max-width: 46ch;
  margin: 0 0 34px;
}

@media (max-width: 720px) {
  h1 { font-size: 38px; }
  .hero { padding: 64px 0 60px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--color-ink);
  color: var(--color-ink);
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: var(--color-ink);
  color: var(--color-bg);
}

.btn.primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.btn.primary:hover {
  background: #862F60;
  border-color: #862F60;
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */

section.block {
  padding: 76px 0;
  border-bottom: 1px solid var(--color-line);
}

section.block.alt {
  background: var(--color-bg-alt);
}

section.block:last-of-type {
  border-bottom: none;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  margin: 0;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--color-muted);
  max-width: 42ch;
  margin: 0;
}

/* ---------- Spec list (services) ---------- */

.spec-list {
  border-top: 1px solid var(--color-line);
}

.spec-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--color-line);
}

.spec-row h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  margin: 0;
}

.spec-row p {
  margin: 0;
  color: var(--color-muted);
  max-width: 60ch;
}

@media (max-width: 640px) {
  .spec-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ---------- Industries strip ---------- */

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-grid li {
  border: 1px solid var(--color-line);
  padding: 10px 18px;
  font-size: 15px;
  color: var(--color-ink);
}

/* ---------- Work / project entries ---------- */

.work-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 30px 0;
  border-bottom: 1px solid var(--color-line);
}

.work-entry:last-child { border-bottom: none; }

.work-entry .work-meta {
  font-size: 14px;
  color: var(--color-accent);
  margin: 0 0 8px;
}

.work-entry h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 12px;
}

.work-entry p {
  margin: 0;
  color: var(--color-muted);
}

@media (max-width: 720px) {
  .work-entry {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ---------- About / story ---------- */

.story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
}

.story .lede {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.45;
  margin: 0 0 20px;
}

.story .side p + p { margin-top: 16px; }
.story .side { color: var(--color-muted); }

@media (max-width: 800px) {
  .story {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-detail {
  margin-bottom: 26px;
}

.contact-detail .label {
  font-size: 14px;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.contact-detail a,
.contact-detail p {
  margin: 0;
  font-size: 17px;
}

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form.contact-form label {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 6px;
  display: block;
}

form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  background: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-ink);
}

form.contact-form input:focus,
form.contact-form textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

form.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* ---------- Footer ---------- */

footer.site-footer {
  padding: 44px 0;
}

footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer.site-footer .brand img { height: 24px; }

footer.site-footer .meta {
  font-size: 14px;
  color: var(--color-muted);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
