:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --ink: #171a18;
  --muted: #66716b;
  --soft: #e8ece7;
  --line: rgba(23, 26, 24, 0.1);
  --accent: #286a8f;
  --accent-dark: #174961;
  --font-display: Satoshi, "Cabinet Grotesk", "Segoe UI", sans-serif;
  --font-body: Geist, "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(40, 106, 143, 0.1), transparent 34rem),
    linear-gradient(315deg, rgba(23, 26, 24, 0.045), transparent 32rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0;
}

body.is-menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(rgba(23, 26, 24, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 26, 24, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

.page-grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.12;
  background-image: radial-gradient(rgba(23, 26, 24, 0.42) 0.55px, transparent 0.65px);
  background-size: 4px 4px;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  left: 50%;
  top: 20px;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(20, 34, 30, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo {
  width: 142px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--ink);
  overflow: hidden;
}

.brand__logo img {
  object-fit: contain;
}

.brand__text {
  font-weight: 900;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  transition: color 420ms var(--ease), background 420ms var(--ease), transform 420ms var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(23, 26, 24, 0.06);
  transform: translateY(-1px);
  outline: none;
}

.site-nav .nav-action {
  background: var(--ink);
  color: #fff;
}

.menu-button {
  display: none;
  width: 46px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  position: relative;
}

.menu-button span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 520ms var(--ease), top 520ms var(--ease);
}

.menu-button span:first-child {
  top: 16px;
}

.menu-button span:last-child {
  top: 24px;
}

.menu-button[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

main,
.footer {
  position: relative;
  z-index: 3;
}

.hero {
  width: min(1320px, calc(100% - 48px));
  min-height: 100dvh;
  margin: 0 auto;
  padding: 122px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1.16fr);
  grid-template-rows: 1fr auto;
  gap: 22px;
  align-items: end;
}

.hero__copy {
  padding: 36px 0 36px 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 18px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: 3.85rem;
  line-height: 0.96;
  font-weight: 940;
  overflow-wrap: break-word;
}

h2 {
  max-width: 930px;
  margin-bottom: 0;
  font-size: 3.8rem;
  line-height: 1;
  font-weight: 920;
  overflow-wrap: break-word;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  line-height: 1.08;
}

.hero__lead {
  max-width: 640px;
  margin-bottom: 32px;
  color: #3c4540;
  font-size: 1.22rem;
  line-height: 1.58;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 8px 8px 20px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 420ms var(--ease), background 420ms var(--ease), color 420ms var(--ease);
}

.button i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  transition: transform 420ms var(--ease);
}

.button i::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button:active {
  transform: scale(0.98);
}

.button:hover i,
.button:focus-visible i {
  transform: translateX(2px);
}

.button--primary {
  background: var(--accent);
  color: #fff;
}

.button--primary i {
  background: rgba(255, 255, 255, 0.16);
}

.button--secondary {
  background: #fff;
  color: var(--ink);
}

.button--secondary i {
  background: var(--soft);
}

.hero__image {
  height: min(700px, calc(100dvh - 166px));
  min-height: 470px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 38px 100px rgba(20, 34, 30, 0.18);
}

.hero__note {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 14px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 70px rgba(20, 34, 30, 0.1);
}

.hero__note span,
.hero__note strong {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
}

.hero__note span {
  color: var(--muted);
}

.hero__note strong {
  font-size: 1.06rem;
  line-height: 1.35;
}

.section,
.gallery-section {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding: 124px 0;
}

.section__heading,
.one-loader__intro {
  margin-bottom: 54px;
}

.feeling__grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr 0.74fr;
  gap: 22px;
  align-items: stretch;
}

.media-panel,
.photo,
.task-card,
.request__media {
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
}

.media-panel {
  min-height: 410px;
}

.media-panel.tall {
  min-height: 620px;
}

.feeling__text {
  align-self: end;
  padding: 44px;
}

.feeling__text p {
  color: #39423d;
  font-size: 1.32rem;
  line-height: 1.55;
}

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

.ability-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.88fr 1.28fr 0.94fr;
  gap: 18px;
  align-items: stretch;
}

.ability {
  min-height: 300px;
  padding: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ability span,
.task-card span,
.comfort__list span {
  color: var(--accent);
  font-weight: 950;
}

.ability p,
.task-card p,
.comfort__copy p,
.request__content > p {
  color: var(--muted);
  line-height: 1.6;
}

.photo-wall {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 118px;
  gap: 16px;
}

.photo {
  grid-column: span 4;
  grid-row: span 3;
  position: relative;
}

.photo--wide {
  grid-column: span 8;
  grid-row: span 3;
}

.photo--tall {
  grid-column: span 4;
  grid-row: span 5;
}

.photo--empty {
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px dashed rgba(40, 106, 143, 0.42);
  color: var(--accent-dark);
  text-align: center;
  font-weight: 850;
}

.photo img,
.media-panel img,
.task-card img,
.request__media img,
.hero__image img {
  transition: transform 900ms var(--ease), filter 900ms var(--ease);
}

.photo:hover img,
.media-panel:hover img,
.task-card:hover img,
.request__media:hover img,
.hero__image:hover img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.task-flow {
  display: grid;
  gap: 24px;
}

.task-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  min-height: 390px;
  background: #fff;
}

.task-card--offset {
  width: min(980px, 100%);
  margin-left: auto;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
}

.task-card--offset img {
  order: 2;
}

.task-card div {
  padding: 42px;
}

.task-card h3 {
  font-size: 2.2rem;
}

.comfort {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.comfort__copy p {
  max-width: 660px;
  margin-top: 28px;
  font-size: 1.14rem;
}

.comfort__list {
  display: grid;
  gap: 14px;
}

.comfort__list div {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.comfort__list strong {
  font-size: 1.08rem;
  line-height: 1.45;
}

.request {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 32px;
  align-items: stretch;
  padding-bottom: 86px;
}

.request__media {
  min-height: 680px;
}

.request__content {
  padding: 26px 0 0;
}

.request__content > p {
  max-width: 620px;
  margin: 24px 0 32px;
  font-size: 1.12rem;
}

.lead-form {
  display: grid;
  gap: 16px;
  max-width: 620px;
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form label span {
  font-weight: 900;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  padding: 16px 18px;
  outline: none;
  transition: border-color 420ms var(--ease), transform 420ms var(--ease), background 420ms var(--ease);
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: rgba(40, 106, 143, 0.55);
  background: #fff;
  transform: translateY(-1px);
}

.lead-form label.is-error input,
.lead-form label.is-error textarea {
  border-color: #9e3a32;
}

.lead-form small {
  min-height: 16px;
  color: #9e3a32;
  font-size: 0.82rem;
}

.lead-form .button {
  width: 100%;
}

#form-output {
  min-height: 22px;
  color: var(--accent-dark);
  font-weight: 900;
}

.footer {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 780ms var(--ease), transform 780ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 16px auto;
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(20, 34, 30, 0.14);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 420ms var(--ease), transform 420ms var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 18px;
    background: #fff;
    color: var(--ink);
  }

  .hero,
  .feeling__grid,
  .ability-strip,
  .comfort,
  .request {
    grid-template-columns: 1fr;
  }

  .hero {
    width: min(100% - 32px, 760px);
    min-height: auto;
  }

  .hero__copy {
    padding-left: 0;
  }

  .hero__image {
    min-height: 420px;
    height: 56dvh;
  }

  .hero__note,
  .task-card,
  .task-card--offset {
    grid-template-columns: 1fr;
  }

  .task-card--offset {
    margin-left: 0;
  }

  .task-card--offset img {
    order: 0;
  }

  .section,
  .gallery-section {
    width: min(100% - 32px, 760px);
    padding: 86px 0;
  }

  .photo-wall {
    grid-template-columns: repeat(6, 1fr);
  }

  .photo,
  .photo--wide,
  .photo--tall {
    grid-column: span 6;
    grid-row: span 3;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: calc(100% - 24px);
    top: 12px;
  }

  .brand__logo {
    width: 118px;
  }

  .brand__text {
    display: none;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2.28rem;
  }

  .hero {
    padding-top: 96px;
  }

  .hero__lead,
  .feeling__text p,
  .comfort__copy p,
  .request__content > p {
    font-size: 1.02rem;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .hero__image {
    min-height: 310px;
    height: 46dvh;
  }

  .hero__note {
    display: none;
  }

  .feeling__text,
  .task-card div {
    padding: 24px 2px;
  }

  .media-panel,
  .media-panel.tall,
  .request__media {
    min-height: 320px;
  }

  .photo-wall {
    grid-auto-rows: 94px;
  }

  .task-card img {
    min-height: 260px;
  }

  .footer {
    width: calc(100% - 32px);
    flex-direction: column;
  }
}
