:root {
  --bg: #f4f3ef;
  --surface: #ffffff;
  --surface-soft: #fbfaf7;
  --text: #2f3238;
  --muted: #646a75;
  --line: #e4e1d8;
  --yellow: #fbbb25;
  --blue: #2450ee;
  --pink: #ef4a8d;
  --shadow-lg: 0 24px 60px rgba(37, 38, 43, 0.1);
  --shadow-md: 0 14px 30px rgba(37, 38, 43, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 8%, rgba(251, 187, 37, 0.25), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(36, 80, 238, 0.14), transparent 35%),
    linear-gradient(180deg, #f6f5f0 0%, #f1efe9 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.bg-layer {
  position: fixed;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.5;
  z-index: -3;
  pointer-events: none;
}

.bg-layer-a {
  width: 38rem;
  height: 24rem;
  background: rgba(251, 187, 37, 0.22);
  top: -7rem;
  left: -8rem;
  transform: rotate(-16deg);
}

.bg-layer-b {
  width: 28rem;
  height: 28rem;
  background: rgba(36, 80, 238, 0.12);
  top: 6rem;
  right: -10rem;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(47, 50, 56, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.45;
  z-index: -4;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(244, 243, 239, 0.82);
  border-bottom: 1px solid rgba(228, 225, 216, 0.85);
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-side {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.brand-with-avatar {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand span {
  color: var(--blue);
}

.brand-with-avatar > span {
  color: var(--text);
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.3rem 0.2rem;
}

nav a:hover {
  color: var(--text);
}

.header-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: #fff;
}

main section {
  padding: 4.4rem 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding-top: 5rem;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--blue);
}

.scribble {
  width: fit-content;
  margin: 0.8rem 0 1rem;
  padding: 0.3rem 0.95rem;
  border: 3px solid var(--blue);
  border-radius: 999px;
  font-weight: 700;
  transform: rotate(-4deg);
  background: rgba(255, 255, 255, 0.55);
}

.hero h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.highlight {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.05em 0.42em 0.14em;
  border-radius: 999px;
  background: var(--yellow);
  transform: rotate(-2.2deg);
}

.lead {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 60ch;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  padding: 0.82rem 1.25rem;
  border: 1px solid transparent;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(35, 37, 43, 0.12);
}

.btn-primary {
  background: linear-gradient(135deg, #fbbb25, #ffd168);
  color: #2f2611;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  border-color: var(--line);
}

.hero-tags {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-tags span {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-panel {
  position: relative;
  padding-top: 0.6rem;
}

.panel-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.3rem;
  box-shadow: var(--shadow-lg);
}

.profile-shot {
  margin: 0 0 0.9rem;
  display: grid;
  gap: 0.45rem;
}

.profile-shot img {
  width: min(180px, 48%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.profile-shot figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.profile-shot-round img {
  border-radius: 50%;
}

.panel-kicker {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.hero-panel h2 {
  margin: 0.6rem 0 0.8rem;
  font-family: "Fraunces", serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.08;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.55rem;
}

.panel-pills {
  margin-top: 1rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.pill-blue {
  background: rgba(36, 80, 238, 0.12);
  color: var(--blue);
}

.pill-pink {
  background: rgba(239, 74, 141, 0.13);
  color: #bf2d68;
}

.sticker {
  position: absolute;
  top: -0.35rem;
  left: -0.5rem;
  padding: 0.8rem 0.95rem;
  width: 6.6rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.1;
  border-radius: 50%;
  font-weight: 700;
  transform: rotate(-11deg);
  box-shadow: var(--shadow-md);
}

.sticker.blue {
  background: var(--blue);
  color: #fff;
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.4rem;
  align-items: start;
}

.section-heading h2 {
  margin: 0.55rem 0 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.05;
}

.section-heading.compact {
  margin-bottom: 1.25rem;
}

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

.service-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.1rem;
  box-shadow: var(--shadow-md);
}

.service-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-card.accent-yellow {
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
    linear-gradient(135deg, rgba(251, 187, 37, 0.26), transparent);
}

.service-card.accent-blue {
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
    linear-gradient(135deg, rgba(36, 80, 238, 0.16), transparent);
}

.photo-layout {
  display: grid;
  gap: 1rem;
}

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

.photo-card {
  margin: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0.8rem;
  box-shadow: var(--shadow-md);
}

.photo-card img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #eee7db;
  background: #fff;
}

.portrait-grid .photo-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.landscape-grid .photo-card img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.photo-card figcaption {
  padding: 0.8rem 0.2rem 0.1rem;
  display: grid;
  gap: 0.2rem;
}

.photo-card span {
  color: var(--blue);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.photo-card strong {
  font-size: 1rem;
}

.tilt-left {
  transform: rotate(-0.8deg);
}

.tilt-right {
  transform: rotate(0.8deg);
}

.note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.references-showcase .section-heading {
  margin-bottom: 1rem;
}

.references-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.reference-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 0.9rem;
  box-shadow: var(--shadow-md);
  min-height: 108px;
  display: grid;
  align-content: space-between;
}

.reference-card h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.15;
}

.reference-card p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-weight: 500;
}

.reels-layout {
  display: grid;
  gap: 1rem;
}

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

.reels-row-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reels-row-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reels-row-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.embed-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0.7rem;
  box-shadow: var(--shadow-md);
}

.embed-label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.embed-card iframe {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: 16px;
  background: #f7f4ee;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(251, 187, 37, 0.14), rgba(255, 255, 255, 0) 40%),
    rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
}

.contact-copy h2 {
  margin: 0.45rem 0 0.5rem;
  font-family: "Fraunces", serif;
  font-size: clamp(1.5rem, 3.1vw, 2.3rem);
  line-height: 1.08;
}

.contact-copy p:last-child {
  margin: 0;
  color: var(--muted);
}

.contact-actions {
  min-width: 360px;
  display: grid;
  gap: 0.55rem;
  justify-items: stretch;
}

.contact-actions .btn-primary {
  white-space: nowrap;
  padding-inline: 1.6rem;
}

.contact-meta {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.site-footer {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-wrap {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-text p {
  margin: 0.15rem 0;
}

@media (max-width: 1080px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 38rem;
  }

  .reels-grid,
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reels-row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reels-row-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .references-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  nav {
    display: none;
  }

  .nav-side {
    margin-left: auto;
  }

  main section {
    padding: 3.2rem 0;
  }

  .hero {
    padding-top: 3.8rem;
    gap: 1.2rem;
  }

  .sticker {
    top: -0.8rem;
    left: 0.2rem;
    width: 5.5rem;
    font-size: 0.85rem;
  }

  .services-grid,
  .reels-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .reels-row-2,
  .reels-row-4,
  .reels-row-3 {
    grid-template-columns: 1fr;
  }

  .references-row {
    grid-template-columns: 1fr;
  }

  .tilt-left,
  .tilt-right {
    transform: none;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-actions {
    width: 100%;
    min-width: 0;
  }

  .contact-actions .btn-primary {
    white-space: normal;
  }

  .footer-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.9rem 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}
