:root {
  color-scheme: light;
  --paper: #fbf7f3;
  --cream: #f4ebe5;
  --rose: #e9d4d4;
  --rose-dark: #b66e7d;
  --plum: #713e50;
  --plum-deep: #422936;
  --ink: #352a2b;
  --muted: #736b68;
  --line: #ded3cc;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", -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);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
section { scroll-margin-top: 90px; }

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 10;
  padding: 10px 15px;
  background: white;
  color: var(--ink);
}
.skip-link:focus { top: 12px; }

.site-header {
  width: min(1200px, calc(100% - 64px));
  height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(113, 62, 80, .12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 50%;
  background: var(--plum);
  color: white;
  font: 24px/1 var(--serif);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.3; }
.brand-copy strong { color: var(--plum-deep); font: 600 17px var(--serif); }
.brand-copy small { margin-top: 3px; color: var(--muted); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 35px; }
.main-nav a { text-decoration: none; font-size: 12px; font-weight: 600; color: #5b4c4b; transition: color .2s ease; }
.main-nav a:hover, .text-link:hover, .underlined-link:hover { color: var(--rose-dark); }
.main-nav .nav-cta { padding: 11px 16px; border: 1px solid #cdb7b4; border-radius: 999px; color: var(--plum); }
.nav-cta span { margin-left: 7px; }

.section-wrap { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }
.hero {
  min-height: 610px;
  padding-top: 70px;
  padding-bottom: 75px;
  display: grid;
  grid-template-columns: 1fr .86fr;
  align-items: center;
  gap: 60px;
}
.hero-copy { position: relative; padding: 12px 0 20px 25px; }
.eyebrow { margin: 0 0 17px; color: var(--rose-dark); font-size: 10px; font-weight: 700; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 27px; height: 1px; margin: 0 9px 3px 0; background: var(--rose-dark); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--plum-deep); font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; }
h1 { max-width: 580px; margin-bottom: 21px; font-size: clamp(52px, 6vw, 76px); line-height: 1.06; }
h1 em, h2 em { color: var(--rose-dark); font-weight: 500; }
.hero-intro { max-width: 435px; margin-bottom: 28px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 22px; padding: 0 21px; border-radius: 3px; text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: .02em; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--plum); color: white; }
.button-dark:hover { background: var(--plum-deep); }
.button-light { background: #fff8f2; color: var(--plum-deep); }
.button-light:hover { background: white; }
.text-link, .underlined-link { color: var(--plum); font-size: 11px; font-weight: 700; text-decoration: none; transition: color .2s ease; }
.text-link span, .underlined-link span { margin-left: 7px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 40px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.hero-note strong { color: var(--plum); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.note-star { color: var(--rose-dark); font-size: 22px; }
.hero-art { position: relative; max-width: 425px; justify-self: center; width: 100%; }
.hero-arch { height: 475px; overflow: hidden; border-radius: 220px 220px 8px 8px; background: var(--cream); box-shadow: 0 18px 54px rgba(93, 53, 62, .12); }
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 41%; }
.hero-stamp { position: absolute; left: -48px; bottom: 34px; width: 99px; height: 99px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #b7838c; border-radius: 50%; background: var(--paper); color: var(--plum); font-size: 7px; font-weight: 700; letter-spacing: .18em; transform: rotate(-11deg); }
.stamp-flower { margin: -1px 0; color: var(--rose-dark); font-size: 32px; line-height: 1; }
.hero-scribble { position: absolute; top: 21px; right: -30px; color: var(--rose-dark); font-size: 32px; }

.quick-facts { min-height: 85px; display: flex; align-items: center; justify-content: center; gap: clamp(35px, 9vw, 125px); background: var(--cream); color: var(--plum-deep); }
.quick-facts div { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; }
.fact-number { color: var(--rose-dark); font: italic 14px var(--serif); }

.intro-section { padding-top: 125px; padding-bottom: 128px; display: grid; grid-template-columns: .93fr 1fr; align-items: center; gap: 100px; }
.image-frame { position: relative; padding: 0 0 24px 24px; }
.image-frame::before { position: absolute; z-index: -1; left: 0; bottom: 0; width: 80%; height: 80%; border: 1px solid #d6b5b4; content: ""; }
.intro-image img { width: 100%; height: 375px; object-fit: cover; }
.image-caption { position: absolute; right: 0; bottom: 0; padding: 9px 14px; background: var(--plum); color: white; font: italic 12px var(--serif); }
.intro-copy { max-width: 450px; }
h2 { margin-bottom: 19px; font-size: clamp(37px, 4.4vw, 53px); line-height: 1.15; }
.intro-copy p:not(.eyebrow) { margin-bottom: 17px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.intro-copy .underlined-link { display: inline-block; margin-top: 9px; padding-bottom: 5px; border-bottom: 1px solid #d1a5a5; }

.classes-section { padding: 100px 0 112px; background: #f1e6e1; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading-note { max-width: 290px; margin: 0 8px 5px 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.class-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.class-card { position: relative; min-height: 225px; padding: 27px 28px; background: rgba(255, 252, 248, .76); border: 1px solid rgba(113, 62, 80, .1); }
.card-index { color: #b78787; font: italic 12px var(--serif); }
.card-icon { position: absolute; top: 22px; right: 25px; color: var(--rose-dark); font-size: 25px; }
.class-card h3 { margin: 33px 0 8px; color: var(--plum-deep); font: 600 21px var(--serif); letter-spacing: -.02em; }
.class-card p { max-width: 255px; margin-bottom: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }

.credentials-section { padding-top: 128px; padding-bottom: 135px; }
.credentials-heading { max-width: 565px; margin: 0 auto 48px; text-align: center; }
.credentials-heading > p:last-child { max-width: 410px; margin: 0 auto; color: var(--muted); font-size: 12px; line-height: 1.8; }
.credential-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.credential-card { display: grid; grid-template-columns: 46% 1fr; min-height: 225px; overflow: hidden; background: white; border: 1px solid #eee5df; }
.credential-card > a { position: relative; display: block; min-height: 225px; overflow: hidden; background: #eee8e0; }
.credential-card > a img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; background: #eee8e0; transition: transform .35s ease; }
.credential-card > a:hover img { transform: scale(1.04); }
.certificate-open { position: absolute; right: 8px; bottom: 8px; padding: 5px 8px; background: rgba(66, 41, 54, .86); color: white; font-size: 8px; font-weight: 600; }
.credential-copy { align-self: center; padding: 23px 20px; }
.credential-tag { display: block; margin-bottom: 11px; color: var(--rose-dark); font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.credential-copy h3 { margin-bottom: 10px; color: var(--plum-deep); font: 600 20px/1.25 var(--serif); }
.credential-copy p { margin-bottom: 0; color: var(--muted); font-size: 10px; line-height: 1.75; }

.gallery-section { padding: 91px 0 100px; background: var(--cream); }
.gallery-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 31px; }
.gallery-heading h2 { margin-bottom: 0; }
.gallery-flower { margin-right: 9%; color: var(--rose-dark); font-size: 52px; }
.photo-grid { display: grid; height: 390px; grid-template-columns: 1.25fr .78fr 1fr; gap: 16px; }
.photo { margin: 0; overflow: hidden; background: #e6d7d2; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo:hover img { transform: scale(1.035); }
.photo-wide img { object-position: center; }
.photo-tall img { object-position: center 35%; }
.photo-last img { object-position: center; }

.tapti-gallery-section { padding-top: 70px; padding-bottom: 93px; }
.tapti-gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 27px; }
.tapti-gallery-heading h2 { margin-bottom: 0; }
.tapti-gallery-heading > p { max-width: 360px; margin-bottom: 4px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.tapti-photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.tapti-photo { position: relative; aspect-ratio: 3 / 4; margin: 0; overflow: hidden; background: #e6d7d2; }
.tapti-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .4s ease; }
.tapti-photo:hover img { transform: scale(1.035); }
.tapti-photo figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 29px 14px 12px; background: linear-gradient(transparent, rgba(46, 29, 38, .66)); color: white; font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

.contact-section { display: grid; grid-template-columns: 1fr .8fr; gap: 100px; align-items: center; padding-top: 124px; padding-bottom: 124px; }
.contact-copy { padding-left: 30px; }
.contact-copy h2 { margin-bottom: 17px; }
.contact-copy > p:not(.eyebrow) { max-width: 330px; margin-bottom: 23px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.contact-section .button { min-height: 46px; }
.location-card { position: relative; padding: 34px 37px; background: var(--plum); color: #fff7f1; }
.location-pin { position: absolute; top: 21px; right: 24px; color: #e4b7b7; font-size: 22px; }
.location-card .eyebrow { color: #e6b6bd; }
.location-card h3 { max-width: 320px; margin-bottom: 15px; font: 500 24px/1.3 var(--serif); }
.location-card address { margin-bottom: 19px; color: #e9d9d8; font-size: 11px; font-style: normal; line-height: 1.8; }
.location-card .underlined-link { display: inline-block; padding-bottom: 5px; border-bottom: 1px solid #c28e9c; color: white; }
.location-card .underlined-link:hover { color: #f3c7cc; }

.site-footer { min-height: 94px; padding: 18px max(32px, calc((100% - 1200px) / 2)); display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(113, 62, 80, .12); }
.footer-brand .brand-mark { width: 37px; height: 37px; font-size: 21px; }
.footer-brand .brand-copy strong { font-size: 15px; }
.site-footer > p, .site-footer > a:last-child { margin: 0; color: var(--muted); font-size: 9px; text-decoration: none; }
.site-footer > p span { margin-left: 4px; color: var(--rose-dark); }

@media (max-width: 850px) {
  .site-header { width: min(100% - 40px, 680px); height: 82px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 10px; }
  .main-nav a:nth-child(2) { display: none; }
  .main-nav .nav-cta { padding: 9px 12px; }
  .section-wrap { width: min(100% - 40px, 680px); }
  .hero { min-height: 550px; grid-template-columns: 1fr .8fr; gap: 25px; padding-top: 60px; }
  .hero-copy { padding-left: 0; }
  .hero-arch { height: 390px; }
  .hero-stamp { left: -25px; width: 80px; height: 80px; }
  .intro-section { gap: 45px; padding: 95px 0; }
  .intro-image img { height: 320px; }
  .credential-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .credential-card { min-height: 230px; }
  .credential-card > a { min-height: 230px; }
  .contact-section { gap: 45px; }
  .tapti-gallery-section { padding-top: 58px; padding-bottom: 76px; }
  .tapti-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .site-header { height: 73px; width: calc(100% - 34px); }
  .brand { gap: 9px; }
  .brand-mark { width: 37px; height: 37px; font-size: 21px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy small { font-size: 7px; }
  .main-nav { gap: 10px; }
  .main-nav a:not(.nav-cta) { display: none; }
  .main-nav .nav-cta { padding: 8px 11px; font-size: 9px; }
  .section-wrap { width: calc(100% - 38px); }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 23px; padding-top: 52px; padding-bottom: 52px; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 13px; font-size: 9px; }
  h1 { margin-bottom: 16px; font-size: clamp(48px, 13vw, 65px); }
  .hero-intro { max-width: 380px; font-size: 12px; }
  .hero-actions { gap: 18px; }
  .button { min-height: 45px; padding: 0 15px; gap: 13px; font-size: 10px; }
  .hero-note { position: absolute; right: 1px; bottom: -7px; margin: 0; font-size: 8px; }
  .hero-note strong { font-size: 8px; }
  .note-star { font-size: 18px; }
  .hero-art { width: min(82%, 330px); margin: 9px 15px 0 auto; }
  .hero-arch { height: min(105vw, 400px); border-radius: 180px 180px 8px 8px; }
  .hero-stamp { left: -34px; bottom: 23px; width: 74px; height: 74px; font-size: 6px; }
  .stamp-flower { font-size: 25px; }
  .hero-scribble { right: -20px; font-size: 25px; }
  .quick-facts { min-height: 72px; justify-content: flex-start; gap: 22px; overflow-x: auto; padding: 0 19px; }
  .quick-facts div { flex: 0 0 auto; gap: 8px; font-size: 9px; }
  .fact-number { font-size: 11px; }
  .intro-section { grid-template-columns: 1fr; gap: 40px; padding-top: 80px; padding-bottom: 83px; }
  .intro-image { width: 90%; }
  .intro-image img { height: 300px; }
  .intro-copy { max-width: none; }
  h2 { font-size: clamp(36px, 10vw, 46px); }
  .intro-copy p:not(.eyebrow) { font-size: 12px; }
  .classes-section { padding: 75px 0 80px; }
  .section-heading { display: block; margin-bottom: 31px; }
  .section-heading-note { margin-top: 17px; font-size: 11px; }
  .class-cards { grid-template-columns: 1fr; gap: 11px; }
  .class-card { min-height: 178px; padding: 22px; }
  .class-card h3 { margin-top: 24px; font-size: 20px; }
  .class-card p { max-width: 300px; }
  .credentials-section { padding-top: 83px; padding-bottom: 88px; }
  .credentials-heading { margin-bottom: 32px; text-align: left; }
  .credentials-heading > p:last-child { margin-left: 0; font-size: 11px; }
  .credential-card { grid-template-columns: 1fr; }
  .credential-card > a { min-height: 220px; }
  .credential-card > a img { object-position: center 45%; }
  .credential-copy { padding: 20px 21px 23px; }
  .credential-copy h3 { font-size: 22px; }
  .credential-copy p { font-size: 11px; }
  .gallery-section { padding: 70px 0 76px; }
  .gallery-heading { margin-bottom: 24px; }
  .gallery-heading h2 { max-width: 290px; }
  .gallery-flower { margin-right: 3px; font-size: 37px; }
  .photo-grid { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: 210px 160px; gap: 10px; }
  .photo-wide { grid-column: 1 / -1; }
  .photo-wide img { object-position: center 48%; }
  .tapti-gallery-section { padding-top: 48px; padding-bottom: 69px; }
  .tapti-gallery-heading { display: block; margin-bottom: 22px; }
  .tapti-gallery-heading h2 { max-width: 300px; }
  .tapti-gallery-heading > p { margin-top: 12px; font-size: 11px; }
  .tapti-photo-grid { gap: 9px; }
  .tapti-photo { aspect-ratio: 3 / 4; }
  .tapti-photo figcaption { padding: 24px 9px 9px; font-size: 8px; }
  .contact-section { grid-template-columns: 1fr; gap: 37px; padding-top: 82px; padding-bottom: 83px; }
  .contact-copy { padding-left: 0; }
  .location-card { padding: 28px 25px; }
  .site-footer { min-height: 120px; padding: 20px 19px; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
  .site-footer > p { grid-column: 1 / -1; grid-row: 2; }
  .site-footer > a:last-child { align-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
