:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --surface-soft: #f2efe9;
  --text: #1f1f1f;
  --muted: #66625d;
  --line: #e8e3db;
  --accent: #1f1f1f;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(20, 20, 20, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #ffffff, var(--bg) 50%);
  line-height: 1.65;
}

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

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 50;
  transform: translate3d(0, 0, 0);
}

.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--text);
  mix-blend-mode: difference;
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(31, 31, 31, 0.28);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.7;
}

.cursor-ring.hover {
  width: 52px;
  height: 52px;
  border-color: rgba(31, 31, 31, 0.16);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: #f2eee5;
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }

.menu-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: min(4%, 36px);
  width: min(260px, 92vw);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(20, 20, 20, 0.1);
  display: none;
}

.menu-panel.open { display: block; }

.nav-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}

.nav-links a {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--muted);
  border-radius: 10px;
  padding: 10px 12px;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--surface-soft);
}

.hero {
  padding: 92px 0 74px;
}

.hero-home {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
}

.hero-home h1 {
  font-size: clamp(3rem, 11vw, 7rem);
}

.home-hero .hero-wrap {
  display: block;
  width: 100%;
}

.hero-text-only {
  max-width: 1440px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero-kicker::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #85bf80;
}

@keyframes rippleExpand {
  0%   { transform: translate(-50%, -50%) scale(0.1); opacity: 0.55; }
  80%  { opacity: 0.08; }
  100% { transform: translate(-50%, -50%) scale(1);   opacity: 0; }
}

.hero-ripples {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(180, 162, 138, 0.55);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.1);
  opacity: 0;
  animation: rippleExpand 7s ease-out infinite;
}

.ripple.r1 { width: 340px; height: 340px; animation-delay: 0s; }
.ripple.r2 { width: 580px; height: 580px; animation-delay: 1.75s; }
.ripple.r3 { width: 820px; height: 820px; animation-delay: 3.5s; }
.ripple.r4 { width: 1060px; height: 1060px; animation-delay: 5.25s; }

@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(48px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroBgDrift {
  0%   { background-position: 50% 0%; }
  50%  { background-position: 50% 6%; }
  100% { background-position: 50% 0%; }
}

.home-hero {
  position: relative;
  padding: 86px 0 76px;
  background: linear-gradient(175deg, #f2eee5 0%, #f7f6f3 55%, #ede9e0 100%);
  background-size: 100% 200%;
  animation: heroBgDrift 10s ease-in-out infinite;
}

.home-hero h1 { color: var(--text); }

.home-hero h1 {
  font-size: clamp(5.3rem, 18vw, 14rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  margin-bottom: 26px;
}

.home-hero h1 span {
  display: block;
  opacity: 0;
  animation: heroSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.home-hero h1 span:nth-child(1) { animation-delay: 0.1s; }
.home-hero h1 span:nth-child(2) { animation-delay: 0.28s; }

.home-hero .hero-sub {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  margin: 0 auto;
  line-height: 1.9;
  opacity: 0;
  animation: heroFadeIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.52s forwards;
}

.advanced-section {
  padding: 90px 0;
}

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

.process-item {
  padding-top: 18px;
  border-top: 2px solid #d9d2c8;
}

.process-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: rgba(242, 238, 229, 0.95);
  border: 1px solid rgba(31, 31, 31, 0.08);
  margin-bottom: 14px;
}

.process-icon svg {
  width: 20px;
  height: 20px;
}

.process-item .step {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.process-item h3 {
  margin-top: 10px;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.process-item p {
  margin-top: 8px;
  color: var(--muted);
}

.difference-list {
  display: grid;
  gap: 10px;
}

.difference-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(232, 227, 219, 0.9);
}

.difference-row:last-child {
  border-bottom: 0;
}

.difference-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: rgba(242, 238, 229, 0.9);
  border: 1px solid rgba(31, 31, 31, 0.08);
  flex-shrink: 0;
}

.difference-icon svg {
  width: 20px;
  height: 20px;
}

.difference-copy strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.difference-copy p {
  color: var(--muted);
  font-size: 0.94rem;
  max-width: 760px;
}

.work-showcase {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 16px;
}

.work-feature,
.work-stack .project {
  border-radius: 20px;
}

.work-feature {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.work-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-overlay {
  position: absolute;
  inset: auto 14px 14px 14px;
  border-radius: 14px;
  padding: 14px;
  background: rgba(18,18,18,0.5);
  backdrop-filter: blur(6px);
  color: #f8f6f2;
}

.work-overlay p,
.work-overlay .type { color: #f2eee7; }

.work-stack {
  display: grid;
  gap: 16px;
}

.carousel-shell {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #f9f7f3);
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(2.4rem, 9vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}

.hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.emphasis {
  margin-top: 14px;
  font-family: 'Lora', serif;
  font-size: clamp(1.1rem, 2.8vw, 1.4rem);
  color: var(--text);
}

.actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  border: 1px solid var(--accent);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

.btn.primary { background: var(--accent); color: #f8f6f1; }
.btn.ghost { background: transparent; color: var(--accent); }

.separator {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
  text-align: center;
  letter-spacing: -0.03em;
  color: var(--text);
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(242,238,229,0.85));
}

.separator::before,
.separator::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.separator::before {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(31,31,31,0.14) 0%, rgba(31,31,31,0.06) 32%, transparent 72%);
  filter: blur(12px);
  animation: separatorPulse 5.5s ease-in-out infinite;
}

.separator::after {
  width: 340px;
  height: 340px;
  background: linear-gradient(120deg, transparent 35%, rgba(133,191,128,0.22) 50%, transparent 65%);
  filter: blur(18px);
  animation: separatorSweep 4.8s ease-in-out infinite;
}

section { padding: 72px 0; }

.section-head {
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-head p {
  max-width: 820px;
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.card p,
.card li { color: var(--muted); font-size: 0.95rem; }

ul.clean {
  margin-left: 20px;
  display: grid;
  gap: 6px;
}

.project {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.project img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.project .meta {
  padding: 14px;
}

.meta .type {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.testimonial-slide {
  position: relative;
  scroll-snap-align: start;
  min-height: 240px;
  padding: 36px 12px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.testimonial-slide::before {
  content: '“';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  color: #d9d2c8;
}

.testimonial-slide strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-slide p {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1rem, 1.9vw, 1.16rem);
  line-height: 1.9;
}

.carousel-shell {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-nav {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.carousel-arrows {
  display: flex;
  gap: 8px;
}

.arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: #cfc8bd;
  cursor: pointer;
}

.dot.active {
  width: 24px;
  background: var(--text);
}

.form {
  display: grid;
  gap: 12px;
}

.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
}

input,
select,
textarea {
  margin-top: 6px;
  width: 100%;
  border: 1px solid #d8d2ca;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  font: inherit;
  color: var(--text);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

/* ── Contact Page ────────────────────────────────────────── */
.contact-section {
  padding: 80px 0 100px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.contact-info-block:last-child { border-bottom: none; }

.contact-info-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-info-value {
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  line-height: 1.5;
}

.contact-info-value:hover { color: var(--accent); }
.contact-info-value.muted { color: var(--muted); font-weight: 400; }

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field.full { grid-column: 1 / -1; }

.form-field span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}

.form-field span em {
  color: #c0846a;
  font-style: normal;
  margin-left: 2px;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.93rem;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(31,31,31,0.06);
}

.form-field textarea { resize: vertical; min-height: 130px; }

.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  background: var(--text);
  color: #f2ede4;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, gap 0.2s;
}

.contact-submit:hover {
  background: #111;
  transform: translateY(-1px);
  gap: 16px;
}

/* ── Legal Pages ─────────────────────────────────────────── */
.legal-hero {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 56px;
}

.legal-hero .container { max-width: 820px; }

.legal-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 22px;
}

.legal-hero h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

.legal-hero p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 18px;
}

.legal-date {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  padding-top: 60px;
  padding-bottom: 80px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.legal-toc a {
  font-size: 0.83rem;
  color: var(--muted);
  text-decoration: none;
  padding: 5px 0;
  border-left: 2px solid transparent;
  padding-left: 10px;
  line-height: 1.4;
  transition: color 0.18s, border-color 0.18s;
}

.legal-toc a:hover {
  color: var(--text);
  border-left-color: var(--text);
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.legal-content section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content section:first-child { padding-top: 0; }
.legal-content section:last-child { border-bottom: none; }

.legal-content h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 10px;
}

.legal-content p:last-child { margin-bottom: 0; }

.legal-content ul {
  padding-left: 0;
  list-style: none;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-content ul li {
  font-size: 0.93rem;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.7;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c5bbaf;
}

.legal-content a { color: var(--text); }

@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 12px; }
  .toc-label { width: 100%; }
  .legal-toc a { border-left: none; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
}

/* ── Services Page ────────────────────────────────────────── */
.services-section {
  padding: 90px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(242, 238, 229, 0.95);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--text);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 0.87rem;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a89880;
}

@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ── About Page ───────────────────────────────────────────── */
@keyframes aboutSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.about-hero {
  background: linear-gradient(170deg, #f2eee5 0%, #f7f6f3 60%, #ede9e0 100%);
  padding: 96px 0 88px;
  text-align: center;
}

.about-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px;
}

.about-hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: 32px;
  opacity: 0;
  animation: aboutSlideUp 0.7s ease forwards 0.1s;
}

.about-hero-h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.about-hero-h1 span {
  display: block;
  opacity: 0;
  animation: aboutSlideUp 0.85s cubic-bezier(0.22,1,0.36,1) forwards;
}

.about-hero-h1 span:nth-child(1) { animation-delay: 0.22s; }
.about-hero-h1 span:nth-child(2) { animation-delay: 0.38s; }

.about-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--muted);
  line-height: 1.85;
  max-width: 620px;
  margin: 0 auto;
  opacity: 0;
  animation: aboutSlideUp 0.9s ease forwards 0.55s;
}

.about-intro-strip {
  background: var(--text);
  color: #f2ede4;
  padding: 52px 32px;
  text-align: center;
}

.about-intro-strip p {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.85;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.about-pillars-section {
  padding: 90px 0;
}

.principles-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: none;
}

.principles-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.principles-list li:first-child { border-top: 1px solid var(--line); }

.principle-num {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 4px;
}

.principle-body strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.principle-body p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.about-team-section {
  padding: 90px 0;
  background: var(--surface-soft);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 0;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.team-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.team-initial {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--text);
  color: #f2ede4;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 3px;
}

.team-role {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.team-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 12px;
}

.team-card p:last-child { margin-bottom: 0; }

.team-note {
  margin-top: 36px;
  text-align: center;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.75;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 960px) {
  .team-grid { grid-template-columns: 1fr; }
  .about-hero { padding: 72px 0 64px; }
  .principles-list li { grid-template-columns: 40px 1fr; gap: 16px; }
  .about-intro-strip { padding: 40px 20px; }
}

/* ── CTA Band ─────────────────────────────────────────────── */
@keyframes ctaDrift {
  0%   { transform: translate(-50%, -50%) scale(1);    opacity: 0.13; }
  50%  { transform: translate(-50%, -50%) scale(1.18); opacity: 0.22; }
  100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.13; }
}

.cta-band {
  background: #181714;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 110px 32px 100px;
  text-align: center;
}

.cta-band-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a89880;
  border: 1px solid rgba(168,152,128,0.35);
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: 32px;
}

.cta-band-heading {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #f2ede4;
  margin-bottom: 22px;
}

.cta-band-sub {
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  color: #9c9189;
  line-height: 1.85;
  max-width: 560px;
  margin: 0 auto 46px;
}

.cta-band-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f2ede4;
  color: #181714;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 16px 34px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.25s, transform 0.25s, gap 0.25s;
}

.cta-band-btn:hover {
  background: #fff;
  transform: translateY(-2px);
  gap: 16px;
}

.cta-band-deco span {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-band-deco .cbd1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(180,155,110,0.18) 0%, transparent 70%);
  top: 50%; left: 20%;
  transform: translate(-50%,-50%);
  animation: ctaDrift 9s ease-in-out infinite;
}

.cta-band-deco .cbd2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(242,238,229,0.08) 0%, transparent 70%);
  top: 30%; left: 78%;
  transform: translate(-50%,-50%);
  animation: ctaDrift 11s ease-in-out 2s infinite reverse;
}

.cta-band-deco .cbd3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(133,191,128,0.09) 0%, transparent 70%);
  top: 72%; left: 55%;
  transform: translate(-50%,-50%);
  animation: ctaDrift 13s ease-in-out 1s infinite;
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 16px;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.bottom {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--muted);
}

@keyframes separatorPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.88); opacity: 0.45; }
  50% { transform: translate(-50%, -50%) scale(1.14); opacity: 1; }
}

@keyframes separatorSweep {
  0% { transform: translate(-72%, -50%) rotate(-8deg) scale(0.92); opacity: 0.35; }
  45% { opacity: 0.95; }
  50% { transform: translate(-50%, -50%) rotate(0deg) scale(1.08); opacity: 1; }
  100% { transform: translate(-28%, -50%) rotate(8deg) scale(0.92); opacity: 0.35; }
}

@media (max-width: 960px) {
  .grid-3,
  .grid-2,
  .footer-grid,
  .row {
    grid-template-columns: 1fr;
  }

  .home-hero .hero-wrap,
  .work-showcase,
  .difference-row {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-hero {
    padding: 42px 0 48px;
    min-height: auto;
  }

  .hero-kicker {
    margin-bottom: 20px;
    font-size: 0.72rem;
  }

  .home-hero h1 {
    font-size: clamp(4.6rem, 22vw, 8.4rem);
    margin-bottom: 16px;
  }

  .home-hero .hero-sub {
    max-width: 100%;
    line-height: 1.7;
    font-size: clamp(0.98rem, 4vw, 1.08rem);
  }

  .difference-row {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }

  .carousel-track { grid-auto-columns: 100%; }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .cta-band-inner {
    padding: 72px 20px 64px;
  }
}
