:root {
  --bg: #fbf6f0;
  --paper: #fffdf9;
  --paper-strong: #ffffff;
  --ink: #494747;
  --muted: #746f69;
  --accent: #efc78f;
  --accent-strong: #e8b66f;
  --line: rgba(239, 199, 143, 0.48);
  --shadow: 0 22px 55px rgba(73, 71, 71, 0.12);
  --radius: 32px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(239, 199, 143, 0.22), transparent 26rem),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.8), transparent 24rem),
    var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.45;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: clamp(22px, 3vw, 56px);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 30px clamp(28px, 3.5vw, 88px) 26px;
  backdrop-filter: blur(22px);
  background:
    linear-gradient(120deg, rgba(255, 253, 249, 0.94), rgba(251, 246, 240, 0.88)),
    rgba(251, 246, 240, 0.9);
  border-top: 1px solid rgba(73, 71, 71, 0.08);
  border-bottom: 1px solid rgba(239, 199, 143, 0.38);
  box-shadow: 0 18px 48px rgba(73, 71, 71, 0.07);
}

.brand {
  display: grid;
  justify-items: start;
  gap: 1px;
  min-width: 0;
  width: max-content;
  max-width: 220px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.brand__name {
  font-size: clamp(36px, 2.8vw, 50px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.brand__line {
  width: 100%;
  height: 3px;
  margin: 2px 0 4px;
  border-radius: 999px;
  background: var(--ink);
  opacity: 0.86;
}

.brand__caption {
  color: var(--muted);
  font-size: clamp(13px, 1.05vw, 17px);
  font-weight: 700;
  line-height: 1.08;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 56px);
  color: var(--ink);
  font-size: clamp(17px, 1.12vw, 22px);
  font-weight: 600;
}

.nav a {
  white-space: nowrap;
}

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

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 26px rgba(239, 199, 143, 0.36);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-link:hover {
  transform: translateY(-2px);
  background: var(--accent-strong);
  box-shadow: 0 18px 34px rgba(239, 199, 143, 0.48);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 202px;
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid rgba(232, 182, 111, 0.72);
  border-radius: 14px;
  color: var(--ink);
  font-size: clamp(16px, 1.15vw, 20px);
  font-weight: 650;
  background: rgba(255, 253, 249, 0.52);
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  background: rgba(239, 199, 143, 0.18);
  box-shadow: 0 16px 30px rgba(73, 71, 71, 0.08);
}

.site-header,
.hero__content,
.portrait-card {
  animation: rise-in 760ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.portrait-card {
  animation-delay: 120ms;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 74px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 850;
  line-height: 1.04;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(58px, 7vw, 92px);
  line-height: 0.98;
  font-weight: 900;
}

h1 span {
  color: var(--accent);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.04;
  font-weight: 900;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.12;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 54px;
  padding-top: 56px;
  padding-bottom: 74px;
}

.hero__lead {
  max-width: 640px;
  margin-bottom: 28px;
  font-size: clamp(28px, 3.3vw, 48px);
  line-height: 1.12;
  font-weight: 850;
}

.hero__list {
  margin-bottom: 34px;
}

.portrait-card {
  position: relative;
  min-height: 0;
  height: clamp(560px, 62vw, 720px);
  overflow: hidden;
  border-radius: 44px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 199, 143, 0.38)),
    var(--paper);
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 34px 26px 0;
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: 48px 24px auto auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(239, 199, 143, 0.34);
}

.portrait-card img {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 0 34px;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(239, 199, 143, 0.45);
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.button:hover,
.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(239, 199, 143, 0.54);
  filter: saturate(1.06);
}

.button--center {
  margin: 34px auto 0;
}

.check-list,
.dot-list,
.tool-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list {
  display: grid;
  gap: 14px;
  font-size: 20px;
  font-weight: 700;
}

.check-list li,
.dot-list li,
.tool-card li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--accent-strong);
  font-size: 24px;
  line-height: 1;
}

.intro-grid,
.about,
.proof,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  align-items: center;
  gap: 48px;
}

.statement-card,
.about-card,
.service-card,
.tool-card,
.letter-card,
.contact-form,
.request-grid article {
  border: 1px solid rgba(239, 199, 143, 0.38);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.statement-card,
.about-card,
.service-card,
.tool-card,
.contact-form,
.request-grid article {
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.statement-card:hover,
.about-card:hover,
.service-card:hover,
.tool-card:hover,
.contact-form:hover,
.request-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 182, 111, 0.62);
  box-shadow: 0 28px 64px rgba(73, 71, 71, 0.16);
}

.statement-card {
  padding: 42px;
  font-size: 22px;
}

.statement-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards--five {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.service-card {
  min-height: 0;
  padding: 28px;
  overflow: hidden;
}

.service-card h3 {
  font-size: clamp(23px, 2vw, 30px);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.service-card span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.service-card p,
.tool-card li,
.request-grid p,
.accordion p,
.contact p,
.statement-card p {
  color: var(--muted);
  font-size: 17px;
  overflow-wrap: break-word;
}

.about__headline {
  align-self: start;
  padding-top: 20px;
}

.about-card {
  padding: clamp(34px, 4vw, 54px);
}

.about-card h3 {
  margin-bottom: 26px;
}

.dot-list {
  display: grid;
  gap: 20px;
}

.dot-list li {
  min-height: 28px;
  font-size: 18px;
  font-weight: 650;
}

.dot-list li::before,
.tool-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
}

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

.request-grid article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 118px;
  padding: 24px;
}

.request-grid span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
}

.request-grid span::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.request-grid p {
  margin: 0;
}

.tools .section-heading {
  max-width: 820px;
}

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

.tool-card {
  overflow: hidden;
}

.tool-card h3 {
  margin: 0;
  padding: 24px 26px;
  background: var(--accent);
}

.tool-card ul {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.tool-card li {
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
}

.proof__text p:last-child {
  max-width: 560px;
  color: var(--muted);
  font-size: 19px;
}

.letters-carousel {
  position: relative;
  min-width: 0;
}

.letters-carousel__viewport {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: calc(var(--radius) + 4px);
}

.letters-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.letter-card {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
  overflow: hidden;
  padding: 18px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.letter-card img {
  height: min(620px, 64vh);
  width: 100%;
  object-fit: contain;
  border-radius: 22px;
  background: #fff;
}

.letters-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.carousel-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(239, 199, 143, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(73, 71, 71, 0.1);
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.carousel-button:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 34px rgba(239, 199, 143, 0.45);
}

.carousel-button:disabled {
  opacity: 0.42;
  cursor: default;
  transform: none;
  box-shadow: 0 8px 18px rgba(73, 71, 71, 0.08);
}

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

.carousel-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(73, 71, 71, 0.22);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.carousel-dot.is-active {
  width: 28px;
  background: var(--accent-strong);
}

.faq {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(480px, 1.1fr);
  gap: 52px;
}

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

.accordion details {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  cursor: pointer;
}

.accordion summary::after {
  content: "+";
  color: var(--accent);
  font-size: 26px;
  font-weight: 400;
}

.accordion details[open] summary::after {
  content: "−";
}

.accordion p {
  margin: -4px 8px 24px;
  max-width: 680px;
}

.contact {
  align-items: start;
  padding-bottom: 96px;
}

.contact__text h2 {
  max-width: 480px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 34px;
}

.contact-form input {
  width: 100%;
  height: 64px;
  border: 1px solid rgba(239, 199, 143, 0.75);
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  padding: 0 22px;
  outline: none;
}

.contact-form button {
  width: 100%;
  min-height: 68px;
  border: 0;
  border-radius: 22px;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms cubic-bezier(0.2, 0.72, 0.2, 1), transform 760ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 959px) {
  :root {
    --radius: 24px;
  }

  body {
    background: var(--bg);
  }

  .site-header {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
    padding: 20px 18px 16px;
  }

  .brand {
    min-width: 0;
    max-width: 210px;
  }

  .brand__name {
    font-size: 38px;
  }

  .brand__caption {
    font-size: 13px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 22px;
    padding-bottom: 10px;
    font-size: 16px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .header-actions::-webkit-scrollbar {
    display: none;
  }

  .social-link {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .header-cta {
    flex: 0 0 auto;
    min-width: 174px;
    min-height: 46px;
    border-radius: 12px;
    font-size: 15px;
  }

  .section {
    width: min(100% - 28px, 520px);
    padding: 48px 0;
  }

  h1 {
    font-size: clamp(44px, 14vw, 60px);
  }

  h2 {
    font-size: clamp(31px, 10vw, 44px);
  }

  .eyebrow {
    font-size: clamp(24px, 8vw, 32px);
  }

  .hero,
  .intro-grid,
  .about,
  .proof,
  .contact,
  .faq {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    gap: 28px;
    padding-top: 28px;
  }

  .hero__lead {
    font-size: 28px;
  }

  .portrait-card {
    min-height: 0;
    height: 560px;
    border-radius: 30px;
    padding: 28px 18px 0;
  }

  .portrait-card::before {
    width: 170px;
    height: 170px;
  }

  .portrait-card img {
    height: 100%;
  }

  .check-list {
    font-size: 17px;
  }

  .request-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .cards--five {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .statement-card,
  .about-card,
  .contact-form {
    padding: 26px;
  }

  .request-grid article {
    grid-template-columns: 38px 1fr;
    min-height: auto;
    padding: 20px;
  }

  .request-grid span {
    width: 38px;
    height: 38px;
  }

  .tool-card h3 {
    padding: 22px;
  }

  .tool-card ul {
    padding: 22px;
  }

  .letter-card img {
    height: min(430px, 116vw);
  }

  .accordion summary {
    min-height: 64px;
    font-size: 18px;
  }

  .site-footer {
    width: min(100% - 28px, 520px);
    display: grid;
  }
}

@media (min-width: 960px) and (max-width: 1280px) {
  :root {
    --max: 1080px;
  }

  .site-header {
    grid-template-columns: max-content 1fr;
    gap: 22px 34px;
    padding: 24px 36px 22px;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    gap: 34px;
    font-size: 18px;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
  }

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

@media (min-width: 1800px) {
  :root {
    --max: 1240px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
