/* Makai Johnson · Portrait Artist — colors and shapes taken from his brochure */
:root {
  --ink: #111;
  --paper: #fffdf8;
  --teal: #22b0b9;
  --teal-deep: #1a8f97;
  --yellow: #f0b92e;
  --red: #c8233f;
  --black: #050505;
  --muted: #555;
  --serif: "Libre Caslon Text", "Century Schoolbook", Georgia, serif;
  --script: "Mrs Saint Delafield", "Brush Script MT", cursive;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

.script { font-family: var(--script); font-weight: 400; line-height: 0.95; margin: 0; }
.headline { font-weight: 400; font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.15; margin: 0; }
.headline b { font-weight: 700; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 0.6em; line-height: 1.2; }
.sub-title { font-size: 1.15rem; margin: 1.4em 0 0.4em; }

/* ── nav ── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 10px 24px; background: rgba(5,5,5,0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.05rem; letter-spacing: 0.02em; }
.nav-brand img { border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 0.92rem; }
.nav-links a { text-decoration: none; opacity: 0.85; }
.nav-links a:hover { opacity: 1; }
.nav-cta { background: var(--yellow); color: var(--black); padding: 6px 14px; border-radius: 999px; opacity: 1 !important; font-weight: 700; }

/* ── buttons ── */
.btn { display: inline-block; padding: 12px 26px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem; border: 2px solid var(--ink); transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-outline { background: transparent; color: var(--ink); }

/* ── 1 cover ── */
.cover { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 48px; padding: 100px max(24px, calc((100% - var(--max)) / 2)) 60px; background: var(--black); color: #fff; }
.cover-content { text-align: center; }
.cover-img { width: 100%; max-width: 380px; justify-self: center; border-radius: 20px; box-shadow: 0 20px 60px rgba(34,176,185,0.25); }
.cover-logo { width: clamp(150px, 22vw, 230px); margin: 0 auto 10px; }
.cover-name { display: flex; align-items: center; justify-content: center; gap: 16px; font-weight: 400; font-size: clamp(2.2rem, 5.4vw, 3.8rem); margin: 0; }
.cover-name .rule { display: block; width: clamp(28px, 6vw, 70px); height: 2px; background: #fff; }
.cover-role { font-size: clamp(1.05rem, 2.2vw, 1.35rem); letter-spacing: 0.14em; text-transform: uppercase; margin: 6px 0 10px; }
.cover-sub { opacity: 0.7; font-size: 0.98rem; margin-bottom: 30px; }

/* ── 2 flap ── */
.flap { position: relative; min-height: 70vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; background: #fff; }
.flap-shape { position: absolute; inset: 0 auto 0 0; width: 45%; height: 100%; fill: var(--yellow); }
.flap-dot { position: relative; justify-self: center; width: clamp(160px, 24vw, 300px); aspect-ratio: 6 / 5; border-radius: 50%; background: var(--yellow); }
.flap-line { position: relative; font-size: clamp(3.4rem, 8vw, 6.5rem); padding: 60px 24px; transform: rotate(-4deg); }

/* ── 3 gift ── */
.panel { position: relative; isolation: isolate; padding: 100px max(24px, calc((100% - var(--max)) / 2)); }
.gift { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.gift-media { position: relative; max-width: 380px; justify-self: center; width: 100%; }
.blob { position: absolute; }
.blob-teal { inset: -6% 12% 18% -10%; background: var(--teal); border-radius: 60% 40% 55% 45% / 55% 45% 55% 45%; transform: rotate(-12deg); }
.blob-photo { position: relative; width: 100%; aspect-ratio: 3 / 4.3; object-fit: cover; border-radius: 48% 52% 44% 56% / 38% 40% 60% 62%; box-shadow: 0 14px 40px rgba(0,0,0,0.18); }
.gift-script { font-size: clamp(5rem, 11vw, 8.5rem); margin-bottom: 28px; }

/* ── 4 milestones + featured ── */
.milestones { text-align: center; padding-bottom: 40px; }
.milestone-photo { position: relative; width: min(460px, 86%); margin: 0 auto 36px; }
.arc-red { position: absolute; inset: -9% -3% 8% -6%; border-radius: 50%; background: var(--red); transform: rotate(-8deg); }
.milestone-photo img { position: relative; width: 100%; aspect-ratio: 7 / 5; object-fit: cover; border-radius: 50%; border: 6px solid var(--paper); }
.milestones .headline { max-width: 560px; margin: 0 auto; }

.featured { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; overflow: hidden; padding-top: 60px; }
.featured-wave { position: absolute; inset: auto 0 0 auto; width: 70%; height: 75%; fill: var(--teal); z-index: -1; }
.featured-art { margin: 0; text-align: center; }
.featured-art img { width: 100%; max-width: 420px; aspect-ratio: 1.15 / 1; object-fit: cover; border-radius: 50%; margin: 0 auto 14px; box-shadow: 0 14px 40px rgba(0,0,0,0.2); }
.featured-art figcaption { font-size: 0.82rem; color: var(--muted); }
.featured-text { background: var(--paper); padding: 28px 32px; border-radius: 28px; }

/* ── 5 offer ── */
.offer { overflow: hidden; }
.offer-shape { position: absolute; inset: 0 0 0 auto; width: 40%; height: 100%; fill: var(--teal); z-index: -1; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.card { background: #fff; padding: 36px 36px 28px; border-radius: 28px; box-shadow: 0 10px 34px rgba(0,0,0,0.08); }
.offer-list, .sizes { list-style: none; padding: 0; margin: 0; }
.offer-list li { font-size: 1.3rem; padding: 6px 0; border-bottom: 1px solid #eee; }
.sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.sizes li { border: 2px solid var(--teal); color: var(--teal-deep); font-weight: 700; padding: 6px 16px; border-radius: 999px; }

/* ── 6 about ── */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.about-photo { width: 100%; max-width: 400px; aspect-ratio: 1; object-fit: cover; justify-self: center; box-shadow: 0 14px 40px rgba(0,0,0,0.2); }

/* ── 7 contact ── */
.contact { position: relative; overflow: hidden; background: #fff; padding: 110px 24px; }
.contact-shape { position: absolute; inset: 0 auto 0 0; width: 55%; height: 100%; fill: var(--yellow); }
.contact-inner { position: relative; max-width: var(--max); margin: 0 auto; text-align: right; }
.contact-title { font-size: clamp(2.6rem, 6vw, 4rem); margin: 0 0 0.2em; }
.contact-place { font-size: 1.3rem; }
.contact-phone { display: inline-block; font-size: clamp(1.8rem, 4vw, 2.4rem); text-decoration: none; font-weight: 700; margin-bottom: 26px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ── footer ── */
.footer { background: var(--black); color: #fff; text-align: center; padding: 40px 24px; }
.footer img { margin: 0 auto 10px; border-radius: 10px; }
.footer p { margin: 0; }
.footer-small { font-size: 0.82rem; opacity: 0.6; margin-top: 6px !important; }

/* ── mobile ── */
@media (max-width: 820px) {
  body { font-size: 17px; }
  .nav { padding: 8px 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .panel { padding: 70px 16px; }
  .cover { grid-template-columns: 1fr; padding: 90px 16px 50px; gap: 36px; }
  .cover-img { max-width: 280px; }
  .flap { grid-template-columns: 1fr; min-height: 0; }
  .flap-shape { width: 60%; }
  .flap-dot { display: none; }
  .flap-line { justify-self: end; text-align: right; padding: 70px 24px; }
  .gift, .featured, .about, .offer-grid { grid-template-columns: 1fr; gap: 40px; }
  .gift-text { text-align: center; }
  .gift-media { max-width: 300px; }
  .featured-wave { width: 100%; height: 45%; }
  .featured-text { padding: 22px; }
  .offer-shape { width: 30%; }
  .card { padding: 26px 22px; }
  .about-photo { max-width: 300px; }
  .contact { padding: 80px 16px; }
  .contact-shape { width: 38%; opacity: 0.9; }
}
