:root {
  --cream: #f6f6f4;
  --milk: #ffffff;
  --stone: #ebe8e2;
  --stone-deep: #d8d2c7;
  --accent: #cd1d57;
  --accent-soft: #e6aaa9;
  --tan: #d8d2c7;
  --ink: #1f1c19;
  --muted: #6c6761;
  --line: rgba(31, 28, 25, 0.14);
  --shadow: 0 24px 70px rgba(31, 28, 25, 0.12);
  --display: "cofo-raffine", Arial, sans-serif;
  --sans: "Poppins", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 110px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  background-size: 52px 52px;
  font-family: var(--sans);
}

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

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

button,
summary {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.intro-logo {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: var(--cream);
  pointer-events: none;
  animation: intro-fade 0.72s ease forwards;
  animation-delay: 3.15s;
}

.intro-logo img {
  width: min(760px, 82vw);
  transform-origin: center;
  animation: intro-logo-move 3.65s cubic-bezier(0.18, 0, 0.18, 1) forwards;
}

.nav {
  position: fixed;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 76px;
  margin: 0;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  background: rgba(246, 246, 244, 0.34);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(1.05);
}

.brand {
  display: block;
  width: clamp(132px, 14vw, 184px);
  line-height: 1;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-links a {
  padding: 11px 14px;
  border-radius: 0;
}

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

.nav-links .nav-cta {
  border-radius: 999px;
  color: var(--milk);
  background: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100vh;
  margin-top: 0;
  padding: 136px max(24px, calc((100vw - 1180px) / 2)) clamp(48px, 7vw, 90px);
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: var(--milk);
  padding-top: 4vh;
}

.hero-logo {
  width: min(440px, 42vw);
  margin: 0 0 18px;
  filter: brightness(0) invert(1);
  opacity: 0;
  transform: translateX(44vw) scale(1.45);
  animation: hero-logo-settle 0.9s cubic-bezier(0.18, 0, 0.18, 1) forwards;
  animation-delay: 2.95s;
}

.hero-logo img {
  height: auto;
}

.eyebrow {
  display: block;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  font-family: var(--sans);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: var(--milk);
  border-color: transparent;
  background: transparent;
  backdrop-filter: none;
}

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

h1 {
  max-width: 650px;
  margin-bottom: 20px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(4.6rem, 9vw, 7.8rem);
  font-weight: 500;
  line-height: 0.82;
}

.hero h1 {
  color: var(--milk);
  text-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
}

h2 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 8vw, 6.3rem);
  font-weight: 500;
  line-height: 0.94;
}

h3 {
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 0.96;
}

.lede {
  max-width: 580px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
}

.hero-actions,
.book-band {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.button.ghost {
  color: var(--milk);
  background: rgba(31, 28, 25, 0.24);
}

.button.inverse {
  color: var(--milk);
  background: var(--accent);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
  background: var(--ink);
}

.hero-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 12, 10, 0.74) 0%, rgba(14, 12, 10, 0.52) 36%, rgba(14, 12, 10, 0.08) 72%),
    linear-gradient(180deg, rgba(14, 12, 10, 0.16) 0%, rgba(14, 12, 10, 0.02) 46%, rgba(14, 12, 10, 0.28) 100%);
}

.hero-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 68% 48%;
  filter: saturate(0.94) contrast(0.96) brightness(0.98);
}

.ticker {
  display: block;
  width: 100%;
  padding: 22px 0 24px;
  border-block: 1px solid rgba(216, 210, 199, 0.18);
  overflow: hidden;
  color: var(--tan);
  background: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.8vw, 3rem);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
  transform: translateX(0);
}

.ticker span {
  display: inline-flex;
  align-items: center;
  padding-right: 34px;
}

.ticker span::after {
  content: "•";
  margin-left: 34px;
  color: rgba(216, 210, 199, 0.72);
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.section,
.editorial,
.faq,
.book-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 92px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(240px, 0.42fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.section-heading h2 {
  grid-column: 1;
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  padding: clamp(22px, 2.7vw, 30px);
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.78);
}

.service-card.featured {
  color: var(--ink);
  border-color: var(--line);
  background: var(--milk);
}

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

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

.service-card h3,
.visit-panel dt,
.approach-list span,
summary {
  font-weight: 500;
}

.service-card h3 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.service-card a {
  width: fit-content;
  padding: 11px 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--milk);
  background: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  line-height: 1.1;
}

.editorial {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.editorial-media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  background: var(--stone);
}

.editorial-media img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  filter: saturate(0.92) brightness(1.05);
  opacity: 1;
}

.editorial-copy p:not(.eyebrow) {
  max-width: 590px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.approach-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.approach-list span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.photo-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.08fr 0.8fr;
  gap: 14px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 clamp(56px, 7vw, 92px);
}

.photo-strip figure {
  overflow: hidden;
  min-height: 360px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--stone);
}

.photo-strip img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(1.04);
}

.photo-strip figure:nth-child(1) img {
  object-position: 50% 28%;
}

.photo-strip figure:nth-child(2) img {
  object-position: 50% 22%;
}

.photo-strip figure:nth-child(3) img {
  object-position: 50% 46%;
}

.visit {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
  gap: 34px;
  align-items: start;
}

.visit-panel {
  padding: 26px;
  border-top: 4px solid var(--ink);
  background: var(--milk);
}

.visit-panel p {
  color: var(--muted);
  line-height: 1.6;
  font-weight: 400;
}

dl {
  margin: 26px 0 0;
}

dl div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.28;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.44);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  cursor: pointer;
  list-style: none;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--milk);
  background: var(--accent);
  font-family: var(--sans);
  font-size: 1.2rem;
}

details[open] summary::after {
  content: "-";
}

details p {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--muted);
  line-height: 1.65;
}

.book-band {
  position: relative;
  display: grid;
  gap: 18px;
  justify-items: start;
  margin-bottom: 32px;
  padding: clamp(42px, 7vw, 82px);
  border-radius: 8px;
  color: var(--milk);
  background: var(--ink);
}

.book-band h2 {
  max-width: 760px;
}

.book-band .eyebrow {
  color: var(--milk);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: end;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 150px 0 72px;
}

.about-hero h1 {
  color: var(--ink);
}

.about-hero p:not(.eyebrow),
.about-story p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.about-portrait {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  background: var(--stone);
}

.about-portrait img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 clamp(56px, 7vw, 92px);
}

.about-story h2 {
  font-size: clamp(2.5rem, 5vw, 5.4rem);
}

@keyframes intro-logo-move {
  0% {
    transform: translate(0, 0) scale(1);
    filter: none;
  }

  70% {
    transform: translate(0, 0) scale(1);
    filter: none;
  }

  100% {
    transform: translate(calc(-50vw + 330px), calc(-50vh + 238px)) scale(0.48);
    filter: brightness(0) invert(1);
  }
}

@keyframes intro-fade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes hero-logo-settle {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@media (max-width: 880px) {
  .section,
  .editorial,
  .faq,
  .photo-strip,
  .book-band,
  .about-hero,
  .about-story {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .nav {
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    min-height: 62px;
    padding: 10px 16px;
    border-radius: 0;
  }

  .brand {
    width: 126px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .nav-links .nav-cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    color: var(--milk);
  }

  .hero,
  .section-heading,
  .editorial,
  .visit {
    grid-template-columns: 1fr;
  }

  .hero {
    display: grid;
    align-items: end;
    min-height: 100svh;
    padding: 118px 16px 42px;
    background: var(--ink);
  }

  .hero-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    margin: 0;
    background: var(--stone);
  }

  .hero-image picture {
    height: 100%;
  }

  .hero-image img {
    height: 100%;
    object-fit: cover;
    object-position: 57% 42%;
    background: var(--stone);
  }

  .hero::after {
    display: block;
    background:
      linear-gradient(180deg, rgba(14, 12, 10, 0.04) 0%, rgba(14, 12, 10, 0.18) 38%, rgba(14, 12, 10, 0.86) 100%),
      linear-gradient(90deg, rgba(14, 12, 10, 0.52), rgba(14, 12, 10, 0.1));
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    padding: 0;
    overflow: hidden;
    background: transparent;
  }

  .hero-logo {
    width: min(300px, 80vw);
    margin-bottom: 14px;
    transform: none;
  }

  .lede {
    width: 100%;
    max-width: 34rem;
    font-size: 1rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

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

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

  .photo-strip,
  .about-hero,
  .about-story {
    grid-template-columns: 1fr;
  }

  .photo-strip figure {
    min-height: 320px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(4rem, 19vw, 4.7rem);
  }

  .hero-image img {
    object-position: 58% 42%;
  }

  .hero-actions {
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 50px;
  }

  .ticker {
    font-size: 1.35rem;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .book-band {
    padding: 34px 22px;
  }

  .intro-logo img {
    width: 86vw;
    animation-name: intro-logo-mobile;
  }
}

@keyframes intro-logo-mobile {
  0%, 70% {
    transform: translate(0, 0) scale(1);
    filter: none;
  }

  100% {
    transform: translate(0, 25vh) scale(0.58);
    filter: brightness(0) invert(1);
  }
}
