/* ==========================================================================
   Tanto Lab — Landing page
   Grid: base unit 8px for all spacing and sizing.
   Fonts: Instrument Sans (headings) / Inter (body).
   ========================================================================== */

:root {
  --green: #1EC341;
  --green-light: #92E9A5;
  --dark: #272727;
  --dark-2: #1E1E1E;
  --gray: #ADADAD;
  --gray-dark: #4D4D4D;
  --ink: #121212;
  --white: #FFFFFF;
  --bg-soft: #F4F4F4;
  --border: #E4E4E4;
  --purple: #6F26D4;
  --yellow: #E8CC30;

  /* 8px spacing grid */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-7: 64px;
  --sp-8: 80px;
  --sp-9: 96px;
  --sp-10: 120px;
  --sp-11: 160px;

  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-full: 999px;

  --font-heading: "Instrument Sans", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

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

ul { margin: 0; padding: 0; list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-2);
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-s);
  transition: top 0.15s ease;
}

.skip-link:focus-visible {
  top: var(--sp-2);
}

#work, #process, #pricing, #faq, #contact {
  scroll-margin-top: var(--sp-9);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: 16px;
  font-weight: 600;
  color: var(--green);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--sp-7);
}

.section-head h2 {
  font-size: 40px;
}

.section-head p {
  margin-top: var(--sp-3);
  font-size: 16px;
  color: var(--gray-dark);
}

.section-head--light p { color: rgba(255,255,255,0.64); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 600;
  border: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

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

.btn svg { width: 16px; height: 16px; }

.btn--primary {
  background: var(--green);
  color: var(--ink);
}

.btn--primary:hover { opacity: 0.92; }

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--dark:hover { opacity: 0.88; }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.32);
}

.btn--outline:hover { background: rgba(255,255,255,0.08); }

.btn--block { width: 100%; }

.btn--link {
  display: inline-block;
  font-size: 16px;
  color: var(--gray-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-2);
  padding-bottom: var(--sp-2);
}

.logo img { height: 24px; width: auto; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.main-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-dark);
}

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

@media (max-width: 720px) {
  .main-nav { display: none; }
}

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

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: var(--sp-10) 0;
  box-sizing: border-box;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 35%, transparent 0%, var(--white) 100%),
    radial-gradient(var(--border) 1.5px, transparent 1.5px);
  background-size: 100% 100%, 24px 24px;
  background-repeat: no-repeat, repeat;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--sp-8);
  width: 100%;
}

.hero__content { max-width: 560px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  background: var(--bg-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
}

.hero__eyebrow svg { width: 14px; height: 14px; }

.hero h1 {
  font-size: 56px;
  font-weight: 500;
  text-wrap: balance;
}

.hero h1 mark {
  background-color: transparent;
  background-image: linear-gradient(var(--green-light), var(--green-light));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  animation: highlight-sweep 0.6s ease-out forwards;
  animation-delay: 0.9s;
  color: var(--ink);
  padding: 0 var(--sp-1);
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero__subtitle {
  margin: var(--sp-4) 0 0;
  max-width: 480px;
  font-size: 16px;
  color: var(--gray-dark);
}

.hero__cta {
  margin-top: var(--sp-5);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--sp-4);
}

.hero__cta-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.hero__cta-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.hero__cta-link:hover svg { transform: translateX(3px); }

.hero__stats {
  margin-top: var(--sp-6);
  display: flex;
  gap: var(--sp-7);
  background: var(--bg-soft);
  border-radius: var(--radius-m);
  padding: var(--sp-4) var(--sp-5);
}

.hero__stat {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  flex: 1;
  min-width: 0;
}

.hero__stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--radius-s);
}

.hero__stat-icon img { width: 26px; height: 26px; }

.hero__stat strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.hero__stat p {
  margin-top: var(--sp-1);
  font-size: 14px;
  color: var(--gray-dark);
}

.hero__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}

.hero__media::before {
  content: '';
  position: absolute;
  width: 75%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(30, 195, 65, 0.35), transparent 70%);
  filter: blur(48px);
}

.hero__phone {
  position: absolute;
  z-index: 1;
  width: 46%;
  max-width: 340px;
}

.hero__phone-img {
  display: block;
  width: 100%;
  height: auto;
  animation: phone-float 3.6s ease-in-out infinite;
}

.hero__phone--1 {
  left: 50%;
  top: 12px;
  transform: translateX(-102%) rotate(-8deg);
}

.hero__phone--2 {
  left: 50%;
  top: -20px;
  transform: translateX(2%) rotate(8deg);
  z-index: 2;
}

.hero__phone--1 .hero__phone-img { animation-delay: 1s; }
.hero__phone--2 .hero__phone-img { animation-delay: 1.25s; }

@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__content { max-width: 100%; margin: 0 auto; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__media { order: -1; margin-bottom: var(--sp-4); min-height: 320px; }
  .hero__phone { max-width: 190px; }
  .hero__phone--1 { top: 8px; }
  .hero__phone--2 { top: -12px; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 36px; }
  .hero__cta { flex-wrap: wrap; }
  .hero__stats { flex-direction: column; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); }
  .hero__stat strong { white-space: normal; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes highlight-sweep {
  from { background-size: 0% 100%; }
  to { background-size: 100% 100%; }
}

.hero__eyebrow,
.hero h1,
.hero__subtitle,
.hero__cta,
.hero__stats {
  opacity: 0;
  animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__eyebrow { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.12s; }
.hero__subtitle { animation-delay: 0.22s; }
.hero__cta { animation-delay: 0.32s; }
.hero__stats { animation-delay: 0.4s; }

@keyframes pop-in-phone-1 {
  from { transform: translateX(-88%) translateY(24px) scale(0.5) rotate(-22deg); }
  to { transform: translateX(-88%) translateY(0) scale(1) rotate(-7deg); }
}

@keyframes pop-in-phone-2 {
  from { transform: translateX(-12%) translateY(24px) scale(0.5) rotate(22deg); }
  to { transform: translateX(-12%) translateY(0) scale(1) rotate(7deg); }
}

.hero__phone--1 { animation: pop-in-phone-1 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: 0.15s; }
.hero__phone--2 { animation: pop-in-phone-2 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: 0.25s; }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible { opacity: 1; transform: none; }

.reveal-group > *:nth-child(1) { transition-delay: 0s; }
.reveal-group > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-group > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-group > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-group > *:nth-child(5) { transition-delay: 0.32s; }

/* ---------- Expect ---------- */

.expect {
  background: var(--bg-soft);
  border-radius: var(--radius-l);
  margin: 0 var(--sp-4);
  padding: var(--sp-9) var(--sp-6);
}

.expect__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-7);
}

.expect__heading-wrap {
  position: relative;
  display: inline-block;
}

.expect__head h2 {
  color: var(--ink);
  font-size: 44px;
  font-weight: 500;
}

.expect__head h2 mark {
  background-color: transparent;
  background-image: linear-gradient(var(--green-light), var(--green-light));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  color: var(--ink);
  padding: 0 var(--sp-1);
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.expect__head.is-visible h2 mark {
  animation: highlight-sweep 0.6s ease-out forwards;
  animation-delay: 0.3s;
}

.expect__head p {
  margin-top: var(--sp-3);
  color: var(--gray-dark);
  font-size: 16px;
}

.expect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  max-width: var(--container);
  margin: 0 auto;
}

.expect-card {
  background: var(--white);
  border-radius: var(--radius-l);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 16px 32px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.expect-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 20px 40px rgba(0,0,0,0.08);
}

.expect-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(30, 195, 65, 0.1);
  border-radius: var(--radius-m);
  margin-bottom: var(--sp-4);
  transition: transform 0.3s ease;
}

.expect-card:hover .expect-card__icon-wrap { transform: scale(1.08) rotate(-4deg); }

.expect-card__icon {
  width: 26px;
  height: 26px;
}

.expect-card h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
}

.expect-card__divider {
  width: 24px;
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--green);
  margin: var(--sp-3) 0;
}

.expect-card p {
  color: var(--gray-dark);
  font-size: 16px;
}

.expect-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-top: var(--sp-5);
  background: rgba(30, 195, 65, 0.1);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-full);
}

@media (max-width: 860px) {
  .expect-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
}

/* ---------- Portfolio ---------- */

.portfolio { padding: var(--sp-10) 0; }

.portfolio-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.portfolio-row img,
.portfolio-row video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius-m);
  background: var(--bg-soft);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-row li {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-m);
}

.portfolio-row li:hover img,
.portfolio-row li:hover video { transform: scale(1.05); }

.portfolio-video { position: relative; }

.portfolio-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.portfolio-video__play svg { width: 20px; height: 20px; margin-left: 2px; }

.portfolio-video__play:hover { transform: translate(-50%, -50%) scale(1.08); }

.portfolio-video.is-playing .portfolio-video__play { opacity: 0; pointer-events: none; }

@media (max-width: 860px) {
  .portfolio-row { flex-wrap: wrap; }
  .portfolio-row li { flex-basis: 40%; }
}

@media (max-width: 520px) {
  .portfolio-row li { flex-basis: 100%; max-width: 280px; }
}

/* ---------- How it works ---------- */

.process {
  background: var(--bg-soft);
  padding: var(--sp-10) 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  max-width: var(--container);
  margin: var(--sp-7) auto 0;
}

.process-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: var(--sp-5) var(--sp-4);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
}

.process-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
}

.process-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-s);
  flex-shrink: 0;
}

.process-card__icon {
  width: 24px;
  height: 24px;
}

.process-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.process-card--green .process-card__icon-wrap,
.process-card--green .process-card__number { background: rgba(30,195,65,0.12); color: var(--green); }

.process-card--purple .process-card__icon-wrap,
.process-card--purple .process-card__number { background: rgba(111,38,212,0.12); color: var(--purple); }

.process-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.process-card__underline {
  display: block;
  width: 32px;
  height: 3px;
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-3);
}

.process-card--green .process-card__underline { background: var(--green); }
.process-card--purple .process-card__underline { background: var(--purple); }

.process-card p {
  font-size: 16px;
  color: var(--gray-dark);
  padding-bottom: var(--sp-3);
  margin-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
}

.process-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.process-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink);
}

.process-card__list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.process .hero__cta { margin-top: var(--sp-5); justify-content: center; }

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

/* ---------- Pricing ---------- */

.pricing { padding: var(--sp-10) 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  max-width: var(--container);
  margin: 0 auto;
}

.price-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: var(--sp-5) var(--sp-4);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.1);
}

.price-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--green-light);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
}

.price-card h3 {
  font-size: 20px;
  font-weight: 500;
}

.price-card__desc {
  margin-top: var(--sp-2);
  font-size: 16px;
  color: var(--gray-dark);
  min-height: 48px;
}

.price-card__amount {
  margin-top: var(--sp-4);
  font-size: 36px;
  font-weight: 500;
  font-family: var(--font-heading);
}

.price-card__amount span {
  font-size: 16px;
  font-weight: 400;
  font-family: var(--font-body);
  color: var(--gray-dark);
  margin-left: var(--sp-1);
}

.price-card__period {
  font-size: 16px;
  color: var(--gray-dark);
  margin-top: var(--sp-1);
}

.price-card__features {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}

.price-card__features li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 15px;
}

.price-card__features svg { width: 20px; height: 20px; flex-shrink: 0; }

.price-card .btn { margin-top: var(--sp-4); }

.price-card--featured {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.price-card--featured h3,
.price-card--featured .price-card__amount { color: var(--white); }

.price-card--featured .price-card__desc,
.price-card--featured .price-card__period { color: rgba(255,255,255,0.6); }

.price-card--featured .price-card__features { border-top-color: rgba(255,255,255,0.16); }

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

/* ---------- FAQ ---------- */

.faq { padding: var(--sp-10) 0; }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.faq-item {
  background: var(--bg-soft);
  border-radius: var(--radius-m);
  padding: var(--sp-4) var(--sp-5);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
}

.faq-item__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--ink);
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-item__chevron { transform: rotate(180deg); }

.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }

.faq-item__a-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-item__a-inner p {
  padding-top: var(--sp-3);
  font-size: 16px;
  color: var(--gray-dark);
}

/* ---------- Final CTA / Contact ---------- */

.contact {
  background: var(--dark);
  border-radius: var(--radius-l);
  margin: 0 var(--sp-4) var(--sp-10);
  padding: var(--sp-10) var(--sp-6);
}

.contact__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-9);
  align-items: start;
}

.contact__copy h2 {
  color: var(--white);
  font-size: 40px;
}

.contact__copy p {
  margin-top: var(--sp-3);
  font-size: 16px;
  color: rgba(255,255,255,0.64);
  max-width: 440px;
}

.contact__points {
  margin-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.contact__points li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 16px;
  color: var(--white);
}

.contact__points svg { width: 24px; height: 24px; flex-shrink: 0; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.field label {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
}

.field input,
.field textarea,
.field select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-s);
  padding: var(--sp-2);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--white);
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.32); }

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: none;
  border-color: var(--green);
}

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

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23FFFFFF' stroke-opacity='0.72' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-2) center;
  background-size: 14px 14px;
  padding-right: calc(var(--sp-2) * 2 + 14px);
}

.field select option {
  background: var(--ink);
  color: var(--white);
}

.contact-form .btn { margin-top: var(--sp-2); }

@media (max-width: 860px) {
  .contact__inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

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

.site-footer {
  padding: var(--sp-6) 0 var(--sp-8);
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.site-footer p {
  font-size: 16px;
  color: var(--gray);
}

.site-footer a { color: var(--gray-dark); }
.site-footer a:hover { color: var(--ink); }

.site-footer__links {
  display: flex;
  gap: var(--sp-4);
}

/* ---------- Section spacing rhythm ---------- */

section + section { margin-top: 0; }
.expect { margin-top: 0; }
