:root {
  color-scheme: dark;
  --ink: #0a0810;
  --panel: #171020;
  --cream: #fff8f2;
  --muted: #d2c6d7;
  --gold: #f7c96b;
  --lavender: #c49cff;
  --line: #392b46;
  --display: "Playfair Display", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--cream); font: 1rem/1.55 var(--body); }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--lavender); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.04; }
h2 { font-size: clamp(2.25rem, 4.15vw, 4.1rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); }
section[id] { scroll-margin-top: 1rem; }
.contain { width: min(100% - 3.5rem, 82rem); margin-inline: auto; }
.skip { position: absolute; z-index: 10; inset: .75rem auto auto .75rem; padding: .65rem 1rem; background: var(--cream); color: var(--ink); transform: translateY(-180%); }
.skip:focus { transform: none; }

.site-header { position: relative; z-index: 1; background: #100c17; border-bottom: 1px solid #7b4979; box-shadow: 0 0 .95rem #a76cff3b; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.25rem; min-height: 4.75rem; }
.wordmark { position: relative; display: inline-block; justify-self: start; inline-size: clamp(5.5rem, 9vw, 7rem); aspect-ratio: 1.56; overflow: hidden; mix-blend-mode: screen; }
.wordmark img { position: absolute; inset: 50% auto auto 50%; width: 132%; height: auto; transform: translate(-50%, -50%); }
.header-inner nav, .footer-inner nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(1rem, 3vw, 2.5rem); }
.header-inner nav a, .footer-inner nav a { text-decoration: none; font-size: .94rem; }
.header-inner nav a:hover, .footer-inner nav a:hover { color: var(--gold); }
.header-inner > .button { justify-self: end; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .84rem 1.3rem; min-height: 3.05rem; border: 1px solid var(--gold); border-radius: .3rem; background: linear-gradient(145deg, #ffe9ad 0%, #f7c96b 57%, #e6a643 100%); color: #19100a; box-shadow: 0 0 1rem #f7c96b42; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; transition: background .2s ease, box-shadow .2s ease; }
.button:hover { background: #ffe6a4; box-shadow: 0 0 1.4rem #f7c96b76; }
.button.compact { padding: .6rem .95rem; min-height: 2.75rem; }
.text-link { text-underline-offset: .26em; text-decoration-color: var(--lavender); font-weight: 600; }
.text-link:hover { color: var(--lavender); }

.hero { position: relative; isolation: isolate; min-height: min(42rem, 74vh); display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid #63336c; background: #110c20; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #10091bed 4%, #10091bdc 29%, #10091b85 46%, transparent 78%), linear-gradient(0deg, #160b24a6, transparent 32%); pointer-events: none; }
.hero-art { position: absolute; z-index: -2; inset: 0; height: 100%; object-fit: cover; object-position: 75% center; }
.hero-inner { position: relative; padding-block: clamp(3rem, 8vw, 7rem); }
.hero-copy { max-width: 43rem; }
.hero h1 { font-size: clamp(3rem, 6.55vw, 6.15rem); letter-spacing: -.055em; text-wrap: balance; text-shadow: 0 0 1.7rem #14091f; }
.hero h1 em { color: #ffd791; font-weight: 600; text-shadow: 0 0 1.5rem #f7c96b54, 0 2px .6rem #13091f; }
.hero p { width: min(100%, 25rem); margin-top: 1.2rem; color: var(--cream); font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.4; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.35rem; margin-top: 1.8rem; }

.work, .explore, .experiences { padding-block: clamp(3.2rem, 6.5vw, 6rem); }
.work { padding-top: 0; }
.destination-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; }
.destination { display: block; padding: clamp(1.1rem, 2.5vw, 1.7rem); border: 1px solid #644674; border-top-color: var(--gold); border-radius: .45rem; background: linear-gradient(145deg, #24162e, #15101d); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.destination h3 { color: var(--cream); font-size: clamp(1.38rem, 2vw, 1.75rem); text-decoration: underline; text-decoration-color: var(--lavender); text-decoration-thickness: 1px; text-underline-offset: .24em; }
.destination p { margin-top: .65rem; color: var(--muted); }
.destination:hover { border-color: var(--gold); box-shadow: 0 0 1rem #a76cff40; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem 1.25rem; flex-wrap: wrap; padding-bottom: 1.15rem; border-bottom: 1px solid #704989; margin-bottom: 1.7rem; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2.15vw, 1.65rem); }
.project { --project-glow: #f7c96b; display: flex; flex-direction: column; background: #15101d; border: 1px solid #47314b; border-top: 2px solid var(--project-glow); box-shadow: 0 0 1rem color-mix(in srgb, var(--project-glow) 20%, transparent); border-radius: .45rem; text-decoration: none; overflow: hidden; transition: border-color .24s ease, transform .24s ease, box-shadow .24s ease; }
.project.violet { --project-glow: #a76cff; }
.project.rose { --project-glow: #ff7fc8; }
.project:hover { border-color: var(--project-glow); transform: translateY(-.25rem); box-shadow: 0 0 1.4rem color-mix(in srgb, var(--project-glow) 38%, transparent); }
.project-picture { overflow: hidden; background: #22162e; position: relative; }
.project-picture::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 1.4rem #10091c90; }
.project-picture img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.project-copy { display: flex; flex: 1; flex-direction: column; gap: .75rem; padding: clamp(1rem, 2vw, 1.45rem); }
.project-copy p, .services p { color: var(--muted); }
.project-link { color: var(--cream); margin-top: auto; padding-top: .35rem; text-decoration: underline; text-decoration-color: var(--project-glow); text-underline-offset: .25rem; font-weight: 600; }

.services { background: #15101d; border-block: 1px solid var(--line); }
.services-inner { display: grid; grid-template-columns: .85fr 1.55fr; align-items: start; gap: 2rem; padding-block: 3.25rem; }
.services h2 { font-size: clamp(2.15rem, 3.3vw, 3.45rem); }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.65rem; }
.services article { border-left: 1px solid #745284; padding-left: 1.2rem; }
.services article p { margin-top: .7rem; }

.about { overflow: hidden; background: radial-gradient(ellipse at 77% 37%, #59345e 0, #311938 36%, #21122b 71%); border-bottom: 1px solid #71477e; }
.about-inner { padding-block: clamp(3.1rem, 6.4vw, 6rem); }
.about-copy { max-width: 37rem; }
.about-copy p { font-size: clamp(1.03rem, 1.55vw, 1.2rem); line-height: 1.62; margin-top: 1rem; color: #f5e8f4; }
.instagram { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .6rem; }
.portrait { width: min(100%, 22rem); justify-self: center; overflow: hidden; border: 2px solid #e8b86c; border-radius: 52% 52% .5rem .5rem / 37% 37% .5rem .5rem; box-shadow: 0 0 2.4rem #db7acf35; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 36%; }

.book { padding-block: clamp(3rem, 6vw, 5.5rem); }
.book-panel { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; overflow: hidden; border: 1px solid #5d4266; background: #171020; border-radius: .5rem; }
.book-panel > img { height: 100%; min-height: 15rem; object-fit: cover; }
.book-copy { padding: clamp(1.5rem, 4vw, 3.5rem); }
.book-copy h2 { font-size: clamp(2rem, 3.75vw, 3.65rem); }
.book-copy p { color: var(--muted); margin-block: 1rem 1.25rem; }

.site-footer { background: #100c17; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-block: 1.65rem; gap: 1.25rem; }
.footer-inner p { color: var(--muted); font-size: .86rem; margin-top: .35rem; }

@media (max-width: 850px) {
  .contain { width: min(100% - 2.5rem, 82rem); }
  .services-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero::after { background: linear-gradient(90deg, #10091bf2 8%, #10091bbd 40%, #10091b24 95%); }
}

@media (max-width: 620px) {
  .contain { width: calc(100% - 2rem); }
  .header-inner { grid-template-columns: 1fr auto; gap: .25rem 1rem; padding-block: .6rem .45rem; }
  .header-inner nav { grid-area: 2 / 1 / 3 / -1; gap: 1.35rem; }
  .header-inner nav a { display: inline-flex; align-items: center; min-height: 2.65rem; }
  .header-inner > .button { grid-area: 1 / 2; }
  .wordmark { inline-size: 5.1rem; }
  .hero { min-height: 0; align-items: end; padding-top: clamp(8.5rem, 42vw, 14rem); }
  .hero-inner { padding-block: 1.1rem 2.15rem; }
  .hero-art { height: 84%; object-position: 79% top; }
  .hero::after { background: linear-gradient(0deg, #10091b 12%, #10091bed 40%, #10091b15 85%), linear-gradient(90deg, #10091b55, transparent); }
  .hero h1 { font-size: clamp(2.55rem, 10vw, 3.65rem); }
  .hero p { margin-top: .8rem; }
  .actions { margin-top: 1.3rem; }
  .project-grid, .book-panel, .services-grid { grid-template-columns: 1fr; }
  .project-grid { gap: 1.15rem; }
  .section-heading { margin-bottom: 1.15rem; }
  .services article { padding-left: .95rem; }
  .portrait { width: min(100%, 17.5rem); }
  .book-panel > img { min-height: 0; aspect-ratio: 820 / 455; height: auto; }
  .footer-inner nav { gap: .55rem 1.15rem; }
  .footer-inner nav a { display: inline-flex; align-items: center; min-height: 2rem; }
}

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

.legacy { min-height: 65vh; padding-block: clamp(2.7rem, 7vw, 6rem); }
.legacy h1 { max-width: 48rem; font-size: clamp(2.75rem, 6vw, 5rem); letter-spacing: -.045em; }
.legacy-intro { max-width: 42rem; margin-block: 1.1rem 1.5rem; color: var(--muted); font-size: 1.14rem; }
.legacy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin-top: 2rem; }
.legacy-grid article { padding: clamp(1rem, 3vw, 1.8rem); border: 1px solid var(--line); background: var(--panel); border-radius: .45rem; }
.legacy-grid article h2 { font-size: clamp(1.75rem, 3.2vw, 2.85rem); }
.legacy-grid article p { margin-block: .8rem; color: var(--muted); }
.legacy-grid article .button { margin-top: .3rem; }
.legacy-bio { display: grid; grid-template-columns: 1.45fr .55fr; align-items: center; gap: 1.75rem; margin-bottom: 2.7rem; }
.legacy-bio .portrait { width: min(100%, 15rem); }
@media (max-width: 620px) {
  .legacy-grid, .legacy-bio { grid-template-columns: 1fr; }
}
