:root {
  --ink: #332d35;
  --muted: #8e8c90;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--serif);
  overflow-x: hidden;
}

.site-header {
  height: 57px;
  border-bottom: 1px solid #ededed;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  background: rgba(255,255,255,.95);
  position: relative;
  z-index: 5;
}
.nav { display: flex; justify-content: center; height: 100%; }
.nav a {
  display: grid;
  place-items: center;
  width: 126px;
  color: #777477;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.nav a + a { border-left: 1px solid #f4f4f4; }

.hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 19px;
  text-align: center;
}
.hero h1 {
  margin: 0;
  color: #8a6f6e;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
}
.hero p {
  margin: 27px auto 0;
  color: #332d35;
  font-size: 28px;
  line-height: 1.42;
  font-weight: 600;
}
.about-button {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  margin-top: 39px;
  min-width: 125px;
  height: 36px;
  padding: 0 17px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(100deg, #f2b7e6 0%, #bfa8e9 100%);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 7px 15px rgba(190,164,227,.16);
}
.about-button span { font-size: 11px; margin-left: -1px; }
.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 26px;
  color: #b5b4b5;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
}
.socials a { color: inherit; text-decoration: none; }
.socials .dribbble { font-size: 20px; font-weight: 400; }
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .42;
  background-image: linear-gradient(rgba(255,255,255,.82) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.82) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 70%, transparent 100%);
}
.hero-glow { position: absolute; width: 420px; height: 220px; filter: blur(35px); opacity: .62; border-radius: 50%; }
.glow-left { top: 10px; left: 16%; background: radial-gradient(circle, #f5d7f3 0, #fce9f1 42%, transparent 73%); }
.glow-right { top: 8px; right: 15%; background: radial-gradient(circle, #fff0df 0, #fff7e6 45%, transparent 72%); }

.work { width: min(660px, calc(100% - 34px)); margin: 18px auto 39px; }
.work h2 { margin: 0 0 16px; color: #4b4d54; text-align: center; font-size: 20px; font-weight: 500; }
.project-list { display: grid; gap: 70px; }
.project-card { overflow: hidden; border-radius: 12px 12px 0 0; background: #fff; box-shadow: 0 10px 18px rgba(0,0,0,.12); }
.project-link { display: block; color: inherit; text-decoration: none; }
.project-link:focus-visible { outline: 3px solid #9a7ddb; outline-offset: 4px; }
.project-image { height: 250px; background: #171717; overflow: hidden; }
.project-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.image-peninsula img { object-position: center center; }
.image-primeraplus img { object-position: center center; }
.image-gho img { object-position: center center; }
.image-global-next-trade img { object-position: center center; }
.image-primeraplus-redesign img { object-position: center center; }
.project-caption { height: 65px; padding: 16px 20px 0; background: #fff; }
.project-caption h3 { margin: 0; color: #5b5c58; font-size: 20px; line-height: 1; letter-spacing: 1.3px; font-weight: 700; }
.project-caption p { margin: 2px 0 0; color: #8f8d8a; font-family: Arial, sans-serif; font-size: 10px; letter-spacing: 1.8px; }
.project-caption.project-caption-long { height: auto; min-height: 65px; padding-bottom: 16px; }
.project-caption-long h3 { line-height: 1.25; }
.case-study { width: min(920px, calc(100% - 34px)); margin: 0 auto 76px; }
.case-header { padding: 74px 0 34px; text-align: center; }
.case-header p { margin: 13px 0 0; color: var(--muted); font: 700 11px/1.3 Arial, sans-serif; letter-spacing: 2px; }
.case-header h1 { margin: 0; color: var(--ink); font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: .98; }
.case-visual { display: block; width: 100%; margin: 26px 0; border-radius: 12px; box-shadow: 0 13px 30px rgba(0,0,0,.12); }
.case-copy { display: grid; grid-template-columns: 1fr 1.35fr; gap: 52px; padding: 30px 7% 14px; }
.case-copy h2 { margin: 0 0 12px; font-size: 1.2rem; }
.case-copy p, .case-copy li { color: #605b63; font-family: Arial, sans-serif; font-size: 1rem; line-height: 1.62; }
.case-copy ul { margin: 0; padding-left: 20px; }
.case-section { margin: 60px 0; }
.case-section h2 { margin: 0 0 18px; font-size: 1.65rem; text-align: center; }
.case-section > p { max-width: 680px; margin: 0 auto 24px; color: #605b63; font-family: Arial, sans-serif; font-size: 1rem; line-height: 1.62; }
.case-cta { display: inline-block; padding: 12px 17px; border-radius: 999px; color: #fff; background: #7d649f; font: 700 12px Arial, sans-serif; letter-spacing: 1px; text-decoration: none; }
.case-actions { text-align: center; }
.back-link { display: inline-block; margin-top: 20px; color: #785fa5; font: 700 12px Arial, sans-serif; letter-spacing: 1px; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 700px) {
  .hero { min-height: 330px; }
  .hero-inner { padding: 26px 16px 0; }
  .hero h1 { font-size: 27px; }
  .hero p { margin-top: 25px; font-size: 23px; line-height: 1.35; }
  .desktop-break { display: none; }
  .about-button { margin-top: 33px; }
  .work { margin-top: 12px; }
  .project-list { gap: 46px; }
  .project-image { height: clamp(170px, 37vw, 250px); }
  .case-header { padding-top: 50px; }
  .case-copy { grid-template-columns: 1fr; gap: 22px; padding: 22px 0; }
}
