:root {
  --paper: #f7f2ea;
  --paper-soft: #fffaf2;
  --ink: #1f1c19;
  --muted: #6e6257;
  --line: rgba(31, 28, 25, 0.12);
  --taupe: #b89f86;
  --clay: #8e6f5b;
  --olive: #72725f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(31, 28, 25, 0.13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--ink);
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 242, 234, 0.9);
  box-shadow: 0 12px 40px rgba(31, 28, 25, 0.08);
  backdrop-filter: blur(16px);
  padding-block: 12px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.28rem;
}

.brand-name {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.88rem;
  letter-spacing: 0;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.72);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 84svh;
  display: grid;
  align-items: center;
  padding: 128px clamp(20px, 7vw, 96px) 84px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(
      90deg,
      rgba(247, 242, 234, 0.96) 0%,
      rgba(247, 242, 234, 0.78) 38%,
      rgba(247, 242, 234, 0.2) 68%
    ),
    url("assets/hero-fashion-atelier.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(20px, 7vw, 96px);
  bottom: 34px;
  width: min(180px, 34vw);
  height: 1px;
  background: var(--clay);
}

.hero-content {
  max-width: 650px;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
}

h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 400;
  line-height: 1.15;
}

.hero-content p:not(.section-kicker) {
  max-width: 510px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  background: var(--ink);
  color: var(--paper-soft);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--clay);
}

.button-dark {
  width: 100%;
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--olive);
}

.section {
  padding: clamp(74px, 10vw, 136px) clamp(20px, 7vw, 96px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(36px, 8vw, 112px);
  align-items: start;
}

.about {
  background: var(--paper-soft);
}

.about-copy {
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 4vw, 54px);
}

.about-copy p,
.contact-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(34px, 5vw, 62px);
}

.services {
  background:
    linear-gradient(180deg, rgba(114, 114, 95, 0.08), transparent 42%),
    var(--paper);
}

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

.service-card {
  min-height: 270px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.64);
  transition: transform 220ms ease, box-shadow 220ms ease,
    border-color 220ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(142, 111, 91, 0.35);
  box-shadow: var(--shadow);
}

.service-card span {
  display: block;
  margin-bottom: 84px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 700;
}

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

.gallery {
  background: var(--paper-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.gallery-photo {
  min-height: clamp(320px, 36vw, 560px);
  margin: 0;
  border-radius: 8px;
  background-image: url("assets/collection-contact-sheet.png");
  background-repeat: no-repeat;
  background-size: 500% 100%;
  box-shadow: 0 18px 48px rgba(31, 28, 25, 0.08);
  overflow: hidden;
  transition: transform 240ms ease, filter 240ms ease;
}

.gallery-photo:hover {
  transform: translateY(-5px);
  filter: saturate(1.04) contrast(1.02);
}

.gallery-photo:nth-child(1) {
  grid-column: span 4;
  background-position: 0% 50%;
}

.gallery-photo:nth-child(2) {
  grid-column: span 4;
  background-position: 25% 50%;
}

.gallery-photo:nth-child(3) {
  grid-column: span 4;
  background-position: 50% 50%;
}

.gallery-photo:nth-child(4) {
  grid-column: span 6;
  background-position: 75% 50%;
}

.gallery-photo:nth-child(5) {
  grid-column: span 6;
  background-position: 100% 50%;
}

.statement {
  padding: clamp(74px, 11vw, 152px) clamp(20px, 7vw, 96px);
  background: var(--ink);
  color: var(--paper-soft);
}

.statement-inner {
  max-width: 1120px;
}

.statement p {
  max-width: 950px;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.98;
}

.statement span {
  display: block;
  max-width: 620px;
  color: rgba(255, 250, 242, 0.72);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.contact {
  background: linear-gradient(180deg, var(--paper-soft) 0%, var(--paper) 44%);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-soft);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(31, 28, 25, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  outline: none;
  padding: 14px 15px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(142, 111, 91, 0.12);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--olive);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 7vw, 96px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.18rem;
}

.site-footer span {
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes heroDrift {
  from {
    transform: scale(1.02) translateX(0);
  }

  to {
    transform: scale(1.06) translateX(12px);
  }
}

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

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 30;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 25;
    display: grid;
    place-content: center;
    gap: 24px;
    background: rgba(247, 242, 234, 0.96);
    font-family: var(--serif);
    font-size: clamp(2rem, 9vw, 4rem);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

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

  .section-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .about-copy {
    border-left: 0;
    padding-left: 0;
  }

  .service-card {
    min-height: 230px;
  }

  .service-card span {
    margin-bottom: 56px;
  }

  .gallery-photo:nth-child(n) {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 18px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .hero {
    min-height: 86svh;
    padding: 112px 18px 74px;
    align-items: end;
  }

  .hero-media {
    background-image: linear-gradient(
        180deg,
        rgba(247, 242, 234, 0.58) 0%,
        rgba(247, 242, 234, 0.88) 58%,
        rgba(247, 242, 234, 0.98) 100%
      ),
      url("assets/hero-fashion-atelier.png");
    background-position: 66% center;
  }

  h1 {
    max-width: 9.5ch;
    font-size: clamp(3rem, 15vw, 5.4rem);
  }

  .section {
    padding-inline: 18px;
  }

  .section-heading {
    display: block;
  }

  .gallery-grid {
    gap: 12px;
  }

  .gallery-photo {
    min-height: 360px;
  }

  .gallery-photo:nth-child(n) {
    grid-column: span 12;
  }

  .statement {
    padding-inline: 18px;
  }

  .statement p {
    font-size: clamp(3rem, 14vw, 4.9rem);
  }

  .site-footer {
    display: grid;
    padding-inline: 18px;
  }
}
