:root {
  --ink: #211e1d;
  --muted: #746d68;
  --paper: #fbf8f4;
  --soft: #f1e9e1;
  --accent: #9e3d55;
  --accent-dark: #7c2c41;
  --line: rgba(33, 30, 29, 0.12);
  --white: #fff;
  --radius: 1.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 244, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--ink);
  line-height: 1.15;
  text-decoration: none;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-role {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  position: relative;
  padding: 0.4rem 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

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

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--ink);
}

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

.hero {
  overflow: hidden;
  padding: 5rem 0 6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.82fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 6vw, 5.8rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  letter-spacing: -0.035em;
}

h3 {
  margin: 0 0 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 37rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

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

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  border-color: var(--line);
  background: var(--white);
}

.button-secondary:hover {
  border-color: var(--accent);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 15rem 15rem 1.5rem 1.5rem;
  background: var(--soft);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-note {
  position: absolute;
  right: -2rem;
  bottom: 2rem;
  display: flex;
  max-width: 14rem;
  flex-direction: column;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1rem 3rem rgba(33, 30, 29, 0.12);
}

.hero-note span {
  color: var(--muted);
  font-size: 0.85rem;
}

.section {
  padding: 7rem 0;
}

.section-soft {
  background: var(--soft);
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 3rem;
}

.section-heading > p:last-child,
.section-heading-row > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading-row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.section-heading-row > p {
  max-width: 30rem;
  margin: 0 0 1.25rem;
}

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

.service-card {
  min-height: 20rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1.5rem 3rem rgba(33, 30, 29, 0.08);
}

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

.card-number {
  display: block;
  margin-bottom: 5rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.look-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1fr;
  gap: 1rem;
}

.look-card {
  position: relative;
  overflow: hidden;
  min-height: 31rem;
  margin: 0;
  border-radius: var(--radius);
  background: #d8cdc4;
}

.look-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.look-card:hover img {
  transform: scale(1.025);
}

.look-card figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.8rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.about-photo {
  position: relative;
}

.about-photo::before {
  position: absolute;
  inset: -1.25rem 1.25rem 1.25rem -1.25rem;
  z-index: -1;
  border-radius: 50%;
  background: var(--soft);
  content: "";
}

.about-photo img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

.about-copy {
  max-width: 42rem;
}

.about-copy > p {
  color: var(--muted);
}

.about-copy .about-lead,
.certificate-copy .about-lead {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  margin-top: 1rem;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(0.3rem);
}

.contact-section {
  padding: 5rem 0;
  color: var(--white);
  background: var(--accent-dark);
}

.contact-section .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.contact-section h2 {
  margin-bottom: 0.8rem;
}

.contact-section p:last-child {
  max-width: 40rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.site-footer {
  padding: 2rem 0;
  color: var(--muted);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.page-hero {
  padding: 6rem 0 4rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero > .container > p:last-child {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.certificate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(24rem, 0.85fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.certificate-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1.5rem 4rem rgba(33, 30, 29, 0.1);
}

.certificate-copy p {
  color: var(--muted);
}

.certificate-copy h2 {
  font-size: clamp(2.5rem, 4vw, 3.7rem);
}

@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    gap: 0.9rem;
    padding: 1rem 0;
  }

  .brand {
    align-items: center;
    text-align: center;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    gap: 1.1rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .hero-grid,
  .about-grid,
  .certificate-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-text,
  h1 {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    width: min(31rem, 90%);
    margin-inline: auto;
  }

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

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

  .card-number {
    margin-bottom: 2.5rem;
  }

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

  .look-card-tall {
    grid-row: span 2;
  }

  .about-photo {
    width: min(22rem, 75%);
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 2rem, 1160px);
  }

  html {
    scroll-padding-top: 9rem;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1rem;
    overflow-x: visible;
  }

  .hero {
    padding: 3.5rem 0 4rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.5rem, 11.5vw, 3.4rem);
    letter-spacing: -0.055em;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding: 5rem 0;
  }

  .section-heading-row,
  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

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

  .look-card,
  .look-card-tall {
    min-height: 30rem;
  }

  .hero-note {
    right: 0.5rem;
    bottom: 1rem;
  }

  .certificate-copy h2 {
    font-size: 2.7rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
