@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-ext.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-italic-ext.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #fff9f7;
  --blush: #fae2eb;
  --soft-pink: #f8edf0;
  --plum: #301d27;
  --body: #5b414d;
  --rose: #903b60;
  --line: #dfbccb;
  --serif: "Playfair Display", Georgia, serif;
  --page-gutter: clamp(1.25rem, 5.5vw, 6rem);
  background: var(--paper);
  color: var(--plum);
  font-family: "DM Sans", system-ui, sans-serif;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
figure, h1, h2, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 5px; }
section[id] { scroll-margin-top: 1.25rem; }

.page-width {
  width: min(100% - var(--page-gutter) * 2, 75rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  transform: translateY(-200%);
  background: var(--paper);
  padding: 0.75rem 1rem;
}
.skip-link:focus { transform: none; }

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  min-height: 5.5rem;
}
.brand, .navigation, .header-links, .header-link {
  display: flex;
  align-items: center;
}
.brand {
  gap: 0.75rem;
  font: 500 clamp(1.125rem, 2vw, 1.45rem)/1.15 var(--serif);
  text-decoration: none;
  white-space: nowrap;
}
.brand img { width: 3.125rem; height: auto; border-radius: 50%; }
.navigation { gap: clamp(1rem, 3vw, 2.75rem); }
.navigation a, .header-link {
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.navigation a { padding-block: 0.75rem; }
.navigation a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.header-links { gap: 0.5rem; }
.header-link {
  gap: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.65rem 1rem;
}
.header-link:hover { background: var(--soft-pink); }

.hero {
  background: radial-gradient(ellipse at 75% 32%, #f8cddf, transparent 55%), var(--blush);
  border-block: 1px solid #f3d8e4;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6.5rem);
  padding-block: clamp(3rem, 6vw, 5.75rem) clamp(2.5rem, 5vw, 4.5rem);
}
.hero-copy { padding-bottom: 1.5rem; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff9f780;
  color: #71314e;
  padding: 0.45rem 0.8rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}
.status span { width: 0.45rem; aspect-ratio: 1; border-radius: 50%; background: var(--rose); }
h1, h2 { font-family: var(--serif); font-weight: 500; }
h1 {
  margin-top: 1.2rem;
  font-size: clamp(3.4rem, 6.55vw, 6.5rem);
  line-height: 0.99;
  letter-spacing: -0.06em;
}
h1 em, h2 em { color: var(--rose); font-weight: inherit; }
h1 em { display: block; padding-bottom: 0.12em; }
.hero-description, .about-copy, .gallery-heading p { color: var(--body); line-height: 1.6; }
.hero-description {
  max-width: 29ch;
  margin-top: 1.15rem;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.9rem; }
.button, .text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.button {
  border-radius: 99px;
  padding: 0.9rem 1.2rem;
  background: var(--plum);
  color: var(--paper);
  text-decoration: none;
}
.button:hover { background: #593449; }
.text-link { min-height: 2.75rem; text-underline-offset: 0.28em; text-decoration-color: #a76b87; }
.text-link:hover { color: var(--rose); text-decoration-color: currentColor; }
.hero-figure { width: min(100%, 28rem); justify-self: center; }
.hero-photo {
  position: relative;
  isolation: isolate;
  border-radius: 48% 48% 0.5rem 0.5rem / 36% 36% 0.5rem 0.5rem;
  background: #dfb4c4;
}
.hero-photo::before {
  position: absolute;
  z-index: -1;
  inset: -0.7rem;
  border: 1px solid #b77290;
  border-radius: inherit;
  content: "";
}
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.91;
  object-fit: cover;
  object-position: 50% 48%;
  border-radius: inherit;
}
.hero-figure figcaption {
  margin-top: 1.25rem;
  color: var(--body);
  font-size: 0.8rem;
  text-align: center;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 8vw, 8rem);
  align-items: start;
  padding-block: clamp(3.25rem, 7.5vw, 6.5rem);
}
h2 { font-size: clamp(2.55rem, 4.8vw, 4.35rem); line-height: 1.06; letter-spacing: -0.055em; }
.about h2 em { display: block; }
.about-copy { max-width: 37ch; font-size: clamp(1.05rem, 1.65vw, 1.2rem); }
.about-copy p + p { margin-top: 0.9rem; }

.gallery-section { padding-block: clamp(3rem, 6vw, 5.4rem); background: var(--soft-pink); }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.25rem; }
.gallery-heading p { margin-top: 0.6rem; }
.gallery-controls { display: flex; gap: 0.5rem; }
.gallery-controls button {
  display: grid;
  place-items: center;
  width: 2.85rem;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--plum);
  cursor: pointer;
  font-size: 1.4rem;
}
.gallery-controls button:not([aria-disabled="true"]):hover { background: var(--blush); }
.gallery-controls button[aria-disabled="true"] { opacity: 0.45; cursor: default; }
.gallery {
  --gap: clamp(0.75rem, 2vw, 1.5rem);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--gap)) / 2.3);
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: #b9859c transparent;
  scrollbar-width: thin;
  padding: 0 0 0.75rem;
  margin: 1.6rem 0 0;
  list-style: none;
}
.gallery li { min-width: 0; scroll-snap-align: start; }
.gallery li:last-child { scroll-snap-align: end; }
.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.2;
  object-fit: cover;
  border-radius: 0.55rem;
  background: #e3c3cd;
}
.gallery figcaption { margin-top: 0.65rem; font-weight: 600; }
.gallery-link { margin-top: 0.75rem; }

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.25rem 1.5rem;
  padding-block: 1rem;
}
.footer-brand { font: 500 1.25rem var(--serif); }
.footer-ico { margin-top: 0.25rem; color: var(--body); font-size: 0.85rem; }

@media (max-width: 48rem) {
  .header { min-height: 4.5rem; flex-wrap: wrap; gap: 0.1rem 1rem; padding-top: 0.75rem; }
  .brand img { width: 2.6rem; }
  .navigation { order: 1; width: 100%; gap: 1.35rem; }
  .header-links { margin-inline-start: auto; }
  .header-link { padding-inline: 0.7rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-copy { padding-bottom: 0; }
  h1 { max-width: 11ch; font-size: clamp(3.25rem, 10vw, 5.35rem); }
  .hero-figure { width: min(100% - 1.5rem, 27rem); }
  .about { grid-template-columns: 1fr; }
  .gallery { grid-auto-columns: min(82%, 23rem); }
  .gallery-heading { align-items: start; }
}

@media (max-width: 29rem) {
  .brand { width: 100%; }
  .navigation { order: 0; width: auto; gap: 0.75rem; }
  .header { column-gap: 0.5rem; }
  .header-link { gap: 0.3rem; padding-inline: 0.55rem; }
}

@media (max-width: 23rem) {
  .brand { gap: 0.5rem; }
  .navigation { gap: 0.5rem; }
  .header-link span { display: none; }
  .gallery-heading { flex-wrap: wrap; }
}

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