:root {
  color-scheme: light;
  --ink: #201d2b;
  --muted: #555063;
  --violet: #634b82;
  --line: #e3ddec;
  --paper: #fbfafd;
  --serif: Georgia, "Times New Roman", serif;
  scroll-padding-top: 7rem;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--violet); outline-offset: 5px; }
.shell { width: min(89%, 76rem); margin-inline: auto; }
.skip { position: fixed; z-index: 5; left: 1rem; top: 1rem; padding: .5rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 4; background: #fbfafded; backdrop-filter: blur(20px); border-bottom: 1px solid #e3ddecad; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: .75rem 2rem; min-height: 4.8rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font: 1.35rem var(--serif); }
.brand-mark, .motto-mark { color: var(--violet); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem clamp(.6rem, 2.5vw, 2rem); font-size: .9rem; }
.nav-links a:hover { color: var(--violet); text-decoration: underline; text-underline-offset: .23em; }
.nav-contact { border: 1px solid var(--line); padding: .35rem .9rem; border-radius: 99px; }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: 1.5rem; align-items: center; min-height: min(40rem, 85svh); padding-block: clamp(2.5rem, 7vw, 6.4rem); }
h1, h2, h3, .motto p { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.65rem, 5.9vw, 5.75rem); letter-spacing: -.067em; text-wrap: balance; }
h1 em { display: block; }
em { font-weight: inherit; color: var(--violet); }
.greeting { margin: 0 0 1.1rem; font-size: clamp(1rem, 2vw, 1.22rem); color: var(--violet); }
.intro { max-width: 30rem; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.15rem); margin: 1.4rem 0 1.75rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; gap: .7rem; border-radius: 99px; padding: .65rem 1.35rem; font-weight: 600; transition: background-color .25s, box-shadow .25s, transform .25s; }
.primary { background: #382d4d; color: #fff; }
.primary:hover { background: #523e6e; box-shadow: 0 10px 28px #59427830; transform: translateY(-2px); }
.hero-visual { position: relative; display: grid; place-items: center; isolation: isolate; aspect-ratio: 1.08; }
.halo { position: absolute; inset: 2%; background: radial-gradient(ellipse, #e9dbfb 0%, #efe6f8 35%, transparent 72%); }
.orb {
  position: relative; isolation: isolate; width: 70%; aspect-ratio: 1; overflow: hidden; border-radius: 50%;
  background:
    radial-gradient(ellipse at 31% 18%, #ffffff 0%, #fcfaffc0 15%, transparent 40%),
    radial-gradient(ellipse at 72% 73%, #b39cd9cf 0%, transparent 49%),
    conic-gradient(from 48deg at 55% 50%, #d5c1ee, #fef8fa, #cad8ec, #b9a4d9, #f4def1, #fafdff, #d5c1ee);
  border: 1px solid #ffffffd4;
  box-shadow: inset -18px -15px 38px #7b61a05c, inset 10px 8px 24px #fff, 0 24px 62px #8464ad40;
  animation: float 9s ease-in-out infinite;
}
.orb::before, .orb::after { content: ""; position: absolute; inset: 13% -14%; border-radius: 50%; transform: rotate(-36deg); border-top: 1px solid #fffe; box-shadow: inset 0 14px 18px #fff7; }
.orb::after { inset: 36% -18% 5%; transform: rotate(28deg); filter: blur(2px); animation: shimmer 8s ease-in-out infinite alternate; }
.orbit { position: absolute; width: 96%; height: 34%; border: 1px solid #aa91c96e; border-radius: 50%; transform: rotate(-24deg); }
.spark { position: absolute; font-size: clamp(1rem, 3vw, 2rem); color: #80649f; }
.spark-top { top: 12%; right: 14%; }
.spark-bottom { bottom: 14%; left: 12%; font-size: 1rem; }
.hero-photo, .about-photo { display: block; width: 100%; object-fit: cover; aspect-ratio: 4 / 5; border-radius: 1.4rem; }
.hero-photo { position: relative; width: min(75%, 24rem); z-index: 1; }
.about-photo { max-width: 24rem; }
.motto { display: flex; align-items: center; justify-content: center; gap: 1rem; padding-block: 1.6rem; border-block: 1px solid var(--line); text-align: center; }
.motto p { font-size: clamp(1.15rem, 2.45vw, 2rem); line-height: 1.26; }
.section { padding-block: clamp(3.7rem, 8.5vw, 8rem); }
.about-layout { display: grid; grid-template-columns: .8fr 1fr; gap: 1.4rem 4rem; }
h2 { font-size: clamp(2.65rem, 5.4vw, 5.15rem); letter-spacing: -.055em; text-wrap: balance; }
.about-copy p, .service-card p { margin: 0 0 1rem; color: var(--muted); max-width: 42rem; }
.about-copy strong { color: var(--ink); }
.values { position: relative; overflow: hidden; margin: clamp(2rem, 5vw, 4rem) 0 0; padding: clamp(1.7rem, 5vw, 4.5rem); border: 1px solid var(--line); border-radius: 1.7rem; background: radial-gradient(ellipse at 90% 0%, #efe3fb, transparent 61%), #fff; }
.values {
  display: grid;
  grid-template-columns: minmax(0, 309px) minmax(0, 1fr);
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.values-photo { display: block; grid-row: span 2; align-self: center; }
.values-photo img { display: block; width: 100%; height: auto; border-radius: 1rem; }
.values blockquote { align-self: end; margin: 0; max-width: 51rem; }
.values p { margin: 0; font: clamp(1.35rem, 3vw, 2.45rem)/1.32 var(--serif); }
.values strong { color: var(--violet); font-weight: 400; }
.values figcaption { align-self: start; margin-top: 1.2rem; font-size: .88rem; color: var(--muted); }
.work-section { background: linear-gradient(155deg, #f1edf7, #f9f7fc 66%); }
.services { display: grid; gap: 1rem; margin-top: clamp(1.4rem, 4vw, 3rem); }
.service-card { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.35rem 3rem; align-items: center; padding: clamp(1.4rem, 4vw, 3.2rem); border: 1px solid #e1d8eb; border-radius: 1.6rem; background: #fffd; box-shadow: 0 14px 40px #482d6810; transition: box-shadow .25s; }
.service-card:hover { box-shadow: 0 19px 48px #482d6823; }
.service-icon, .step-icon { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .75rem; color: var(--violet); background: #f0e8f8; font-size: 1.24rem; }
h3 { font-size: clamp(1.8rem, 3.5vw, 3rem); margin: .65rem 0 .85rem; }
.benefits, .contact-links, .steps { list-style: none; margin: 0; padding: 0; }
.benefits { display: grid; gap: .65rem; }
.benefits li { display: flex; align-items: baseline; gap: .65rem; }
.benefits li::before { content: "✓"; color: var(--violet); }
.process { margin-top: 1.35rem; border-block: 1px solid var(--line); }
.process summary { min-height: 3rem; padding: 1rem .35rem; cursor: pointer; color: var(--violet); font-weight: 650; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: .45rem 0 1.5rem; gap: .85rem; }
.steps li { display: flex; flex-direction: column; gap: .55rem; padding: .85rem; border: 1px solid var(--line); background: #fffa; border-radius: .9rem; font-size: .9rem; }
.contact { text-align: center; background: radial-gradient(ellipse at center, #eee1fa90, transparent 65%); }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.7rem; }
.secondary { border: 1px solid #b7a6cc; color: #402e56; background: #fff; }
.secondary:hover { background: #f3eaf9; transform: translateY(-2px); }
.chat-icon { position: relative; width: 1rem; height: .85rem; border: 1.5px solid currentColor; border-radius: .35rem; }
.chat-icon::after { content: ""; position: absolute; bottom: -3px; left: 2px; width: 4px; height: 4px; border-left: 1.5px solid currentColor; transform: skewY(-40deg); }
.footer { display: flex; justify-content: center; border-top: 1px solid var(--line); padding-block: 1.3rem; }
.reveal-ready.revealed { animation: appear .62s ease-out both; }
@keyframes appear { from { opacity: .6; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-9px); } }
@keyframes shimmer { from { opacity: .35; } to { opacity: .9; } }
@media (max-width: 62rem) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 46rem) {
  .nav { flex-wrap: wrap; justify-content: flex-start; padding-block: .65rem; }
  .hero, .about-layout, .service-card { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: .25rem; min-height: 0; padding-bottom: 1.7rem; }
  .hero-visual { width: min(82%, 24rem); margin-inline: auto; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .values-photo { grid-row: auto; width: min(100%, 309px); margin: 0 auto 1.35rem; }
  .motto { gap: .5rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 25rem) {
  .nav-links { font-size: .875rem; }
  .nav-contact { padding-inline: .5rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li { flex-direction: row; align-items: center; }
  .step-icon { flex: 0 0 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Each menu destination has its own screen. */
.screen:not(:where(#home)):not(:target) { display: none; }
main:has(.screen:not(#home):target) #home { display: none; }
main:focus { outline: none; }
.site-header { background: #fbfcfee8; }
body { background: #fbfcfe; }
:root {
  --ink: #242435;
  --muted: #535568;
  --violet: #604f83;
  --line: #e1e3ee;
  --display: "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
}
h1, h2, h3, .brand { font-family: var(--display); }
h1, h2, h3 { font-weight: 600; }
h1 { font-size: clamp(1.65rem, 3.15vw, 3.05rem); letter-spacing: -.052em; }
h1 em { display: inline; font-style: normal; }
.greeting {
  margin-bottom: 1.2rem;
  font: 600 clamp(2.65rem, 6.2vw, 6.1rem)/.99 var(--display);
  color: var(--ink);
  letter-spacing: -.073em;
  text-wrap: balance;
}
.hero { min-height: min(43rem, 88svh); }
.hero-copy { position: relative; z-index: 1; }
.intro { max-width: 28rem; }
.hero-visual { min-width: 0; }
.halo { inset: -5%; background: radial-gradient(ellipse, #e5e6ff 0%, #eef4fc 35%, transparent 67%); }
.orb {
  width: 77%;
  border: 1px solid #fff;
  background:
    radial-gradient(ellipse at 31% 23%, #fffffff5 0%, #ffffff74 13%, transparent 46%),
    radial-gradient(ellipse at 71% 69%, #fbffffec, #d4def076 24%, transparent 56%),
    radial-gradient(ellipse at 30% 79%, #c4b7e6b0, transparent 51%),
    linear-gradient(143deg, #f9ffffa0 9%, #d7d9f68c 40%, #edf2fc7d 65%, #c1cbe8aa);
  box-shadow: inset 9px 12px 26px #fff, inset -13px -15px 34px #7b86b660, inset 0 0 14px #fff, 0 30px 60px #7b84b22d;
}
.orb::before, .orb::after {
  inset: 15% -24% 33% -12%;
  transform: rotate(-38deg);
  border: 1px solid #fff8;
  background: linear-gradient(135deg, transparent 24%, #ffffffd9 39%, #dfd5f9ab 48%, #a8d4e452 55%, transparent 72%);
  box-shadow: inset 0 12px 20px #fff9;
  filter: blur(3px);
  animation: glass-flow 11s ease-in-out infinite alternate;
}
.orb::after { inset: 45% -20% 0 -13%; animation-direction: alternate-reverse; }
@keyframes glass-flow {
  from { opacity: .52; transform: translate(-7%, 5%) rotate(-42deg) scale(.92); }
  to { opacity: .98; transform: translate(9%, -7%) rotate(30deg) scale(1.14); }
}
.technology-thought {
  margin: clamp(2rem, 5vw, 4rem) 0;
  padding: 1.25rem 0 1.25rem clamp(1.1rem, 4vw, 3rem);
  border-inline-start: 1px solid #aba1c6;
}
.technology-thought p, .values p { margin: 0; font: 500 clamp(1.22rem, 2.65vw, 2rem)/1.36 var(--display); letter-spacing: -.024em; }
.technology-thought cite, .values figcaption { display: block; margin-top: .85rem; font: .875rem system-ui, sans-serif; color: var(--muted); }
.values {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  overflow: visible;
  margin-top: clamp(2.7rem, 6vw, 5rem);
}
.values-photo img { box-shadow: 0 15px 36px #35463b23; }
.work-section { background: linear-gradient(150deg, #f1f3fb, #fbfcfe 72%); }
.contact { background: radial-gradient(ellipse at center, #eff0fc, transparent 67%); }
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
@media (max-width: 46rem) {
  .hero { min-height: 0; }
  .hero-visual { width: min(82%, 21rem); }
}

/* Reference layout: the sphere stays alongside the introduction at every width. */
body { background: #f8f8f8; }
.site-header { background: #f5f4f0; border: 0; }
.nav { width: min(92%, 72rem); padding: clamp(.65rem, 2vw, 1.35rem) clamp(.75rem, 4vw, 2.35rem); gap: .45rem; justify-content: space-between; flex-wrap: nowrap; }
.nav .brand { min-width: 2rem; min-height: 2.75rem; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.nav .brand-mark, .spark { color: #9277ac; }
.nav-links { flex-wrap: nowrap; gap: clamp(.55rem, 2vw, 1.55rem); font-size: clamp(.8rem, 2vw, 1.15rem); }
.nav-links a { white-space: nowrap; }
.nav-contact { border: 0; padding: 0; }
.hero {
  position: relative;
  display: block;
  width: min(92%, 72rem);
  min-height: 0;
  padding: clamp(1.9rem, 5vw, 3.65rem) clamp(.9rem, 4vw, 2.35rem) clamp(2rem, 5vw, 3.3rem);
  background: #f5f4f0;
  border-radius: 0 0 1.25rem 1.25rem;
}
.hero::before, .hero::after { content: ""; position: absolute; inset-inline: clamp(.9rem, 4vw, 2.35rem); height: 1px; background: #d9d6d2; }
.hero::before { top: 0; }
.hero::after { bottom: .7rem; }
.greeting { margin: 0 0 clamp(1rem, 3vw, 1.9rem); font: 400 clamp(.98rem, 2.15vw, 1.38rem)/1.4 system-ui, sans-serif; color: #5b5a5b; letter-spacing: 0; }
.hero h1 { font: 650 clamp(1.8rem, 4.3vw, 4.2rem)/1.12 system-ui, sans-serif; letter-spacing: -.035em; color: #30293a; text-wrap: initial; }
.hero h1 em { display: block; margin-top: .62em; color: #84669e; font-size: .8em; }
.hero-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); align-items: end; gap: clamp(.35rem, 4vw, 3.2rem); margin-top: clamp(1.05rem, 3.3vw, 2.2rem); }
.hero .intro { margin: 0; max-width: 33rem; color: #51495c; font-size: clamp(.96rem, 2.6vw, 1.55rem); line-height: 1.4; }
.hero-visual { width: min(100%, 18rem); margin-inline: auto; align-self: end; }
.orb { width: 82%; border: 0; background: radial-gradient(circle at 28% 25%, #fefcff 0%, #ebe0f5 22%, #d5bfe9 46%, #a78bbb 73%, #765e8a 100%); box-shadow: inset -8px -11px 22px #71568655; }
.orb::before { inset: 4% 12% 47%; filter: blur(8px); background: radial-gradient(ellipse, #fff9, transparent 70%); border: 0; box-shadow: none; }
.orb::after { content: none; }
.orbit { width: 106%; height: 34%; border-color: #a285baad; transform: rotate(-32deg); }
.spark-top { top: 0; right: 2%; }
.hero .primary { margin-top: 1.3rem; background: #755e89; color: white; padding-inline: clamp(1.1rem, 4vw, 2.3rem); font-weight: 500; }
.hero .primary:hover { background: #604a75; }
@media (min-width: 65rem) {
  .hero-detail { grid-template-columns: minmax(0, 34rem) minmax(0, 1fr); }
}
@media (min-width: 30rem) {
  .hero-detail { align-items: center; }
  .hero-visual { width: min(100%, 15rem); align-self: center; }
}

/* Final navigation and composition. */
.nav-links a[aria-current="page"] { color: var(--violet); text-decoration: underline; text-underline-offset: .3em; }
.back-home {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  color: #88709d; font-size: .85rem;
  margin-bottom: clamp(1.1rem, 3vw, 2rem);
}
.back-home:hover { text-decoration: underline; text-underline-offset: .2em; }
.screen:target { animation: appear .4s ease-out both; }
.hero .primary { padding-block: .55rem; }
.orb {
  border: 1px solid #fffffff0;
  background:
    radial-gradient(ellipse at 30% 23%, #fff 1%, #ffffffe0 13%, transparent 46%),
    radial-gradient(ellipse at 69% 65%, #eaf9fdd9 0%, #e0e3f67d 29%, transparent 62%),
    radial-gradient(ellipse at 38% 79%, #c6afe2c9, transparent 54%),
    linear-gradient(148deg, #f8ffffd9 10%, #dbd8f4bb 42%, #f7f3ffb0 63%, #a5a0c4d1);
  box-shadow: inset 8px 10px 23px #fff9, inset -11px -13px 26px #80749b60, 0 17px 40px #9486b244;
}
.orb::before, .orb::after {
  content: ""; inset: -13% -18% 5%; border: 0; filter: blur(8px); box-shadow: none;
  background: radial-gradient(ellipse at 46% 61%, #fff 2%, #f0e7ff99 20%, #c4e0f578 37%, transparent 67%);
  animation: glass-flow 12s ease-in-out infinite alternate;
}
.orb::after { inset: 32% -15% -19%; animation-direction: alternate-reverse; opacity: .55; }
#about, #work, #work-websites, #contact { padding-top: clamp(1.4rem, 4vw, 3.5rem); }
#about .technology-thought { margin-top: 1.35rem; }
.technology-thought p { max-width: 39rem; font: 400 clamp(1.6rem, 4vw, 3.2rem)/1.16 var(--serif); }
.about-copy { max-width: 42rem; }
.about-copy .about-lead { color: var(--ink); font: 400 clamp(1.4rem, 3.1vw, 2.3rem)/1.2 var(--serif); }
.about-copy .about-close { color: var(--violet); }
.values { align-items: center; }
.values-photo { grid-row: auto; }
.values-photo img { border-radius: 1.2rem; box-shadow: none; }
.values blockquote { align-self: center; }
#photo-toggle {
  position: absolute; right: .65rem; bottom: .65rem; width: 2.75rem; height: 2.75rem;
  border: 0; border-radius: 50%; background: transparent; color: #382743;
  cursor: pointer; transition: background-color .2s;
}
#photo-toggle::after {
  content: ""; position: absolute; inset: .4rem; border-radius: 50%;
  background: #faf7f2a6; pointer-events: none;
}
#photo-toggle:hover::after, #photo-toggle:focus-visible::after { background: #faf7f2df; }
#photo-toggle::before {
  content: ""; position: relative; z-index: 1; display: block; width: 0; height: 0; margin: auto;
  border-block: .38rem solid transparent; border-left: .58rem solid currentColor;
}
#photo-toggle.is-playing::before {
  width: .57rem; height: .72rem; border: 0;
  border-inline: .16rem solid currentColor;
}
#photo-toggle:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }
.service-card { border: 0; border-block: 1px solid var(--line); border-radius: 0; background: none; padding-inline: 0; box-shadow: none; }
.service-card:hover { box-shadow: none; }
.project-cta { margin-top: 1.25rem; }
.contact .back-home { display: flex; width: max-content; }
.contact-intro { color: var(--muted); margin: 1.2rem 0 0; }
.instagram-icon { position: relative; display: inline-grid; place-items: center; width: 1.12rem; height: 1.12rem; border: 1.5px solid currentColor; }
.instagram-icon { border-radius: .34rem; }
.instagram-icon::before { content: ""; width: .48rem; height: .48rem; border: 1.3px solid currentColor; border-radius: 50%; }
.instagram-icon::after { content: ""; position: absolute; top: 2px; right: 2px; width: 2px; height: 2px; background: currentColor; border-radius: 50%; }

#about .back-home { margin-bottom: 0; }
#about .technology-thought {
  margin: clamp(1.1rem, 3vw, 2.15rem) 0 clamp(2rem, 5vw, 3.8rem);
  padding: 0;
  border: 0;
  color: var(--ink);
}
#about .technology-thought em { font-style: italic; color: var(--violet); }
#about .values { margin-top: clamp(2rem, 5vw, 3.8rem); max-width: 55rem; }
#about .values-photo { position: relative; width: min(100%, 309px); margin: 0; }
#about .values figcaption {
  align-self: center;
  margin: 0;
  color: var(--violet);
  text-align: left;
  font: italic clamp(1.3rem, 2.8vw, 2.1rem)/1.35 var(--serif);
}

@media (max-width: 46rem) {
  #about .values-photo { margin-inline: auto; }
  #about .values figcaption { margin: 1.25rem auto 0; max-width: 25rem; text-align: center; }
}

.languages { display: inline-flex; gap: .25em; white-space: nowrap; }
.languages a[aria-current="true"] { color: var(--violet); font-weight: 650; }
.nav-links { font-size: clamp(.76rem, 1.65vw, 1.2rem); gap: clamp(.35rem, 1.8vw, 1.45rem); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3.5rem);
  min-height: min(43rem, calc(100svh - 6rem));
}
.hero h1 { font-size: clamp(2.15rem, 5.15vw, 4.5rem); }
.hero h1 em { margin-top: .25em; }
.hero .intro { margin-top: 1.25rem; }
.hero .primary { margin-top: 1.15rem; }
.hero-visual { width: min(100%, 32rem); aspect-ratio: 1; }
.orb { width: 91%; }
#about { width: min(89%, 57rem); }
#about .technology-thought {
  width: fit-content; margin: .2rem 0 clamp(1.6rem, 4vw, 3rem) auto;
  padding-inline: clamp(.35rem, 2vw, 1.4rem); text-align: center;
}
#about .technology-thought p { font: italic 400 clamp(1rem, 2.1vw, 1.35rem)/1.5 var(--serif); white-space: nowrap; }
#about .about-copy { max-width: 46rem; font-size: clamp(1rem, 1.65vw, 1.13rem); }
#about .about-lead { font: 500 clamp(1.2rem, 2vw, 1.5rem)/1.45 var(--serif); }
#about .values { margin-inline: auto; }
@media (max-width: 46rem) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); min-height: 0; gap: .35rem; }
  .hero h1 { font-size: clamp(1.62rem, 5.6vw, 2.85rem); }
  .hero-visual { width: 100%; }
  .hero .primary { padding-inline: .75rem; font-size: .87rem; }
}
@media (max-width: 24rem) {
  .nav { width: 96%; padding-inline: .5rem; }
  .nav .brand { min-width: 1.5rem; }
  .nav-links { gap: .36rem; font-size: .72rem; }
}
@media (min-width: 65rem) {
  .hero h1 { font-size: clamp(3.25rem, 4.55vw, 4.12rem); }
}
@media (max-width: 46rem) {
  .hero-visual { align-self: center; }
}

/* Warm pearl finish shared by both language versions. */
body { background: #fcfaf8; }
.site-header { background: #faf7f3f0; }
.hero { background: radial-gradient(ellipse at 83% 50%, #eee4f3, transparent 48%), #f8f4ee; }
.work-section { background: linear-gradient(145deg, #f4edf5, #fcfaf8 70%); }
.contact { background: radial-gradient(ellipse at center, #f2e7ed, transparent 70%); }
.hero h1, #directory-title, #contact-title { font-family: var(--serif); font-weight: 400; }
#about .technology-thought { text-align: right; }
#about .technology-thought p { white-space: normal; }
.languages {
  align-items: center;
  gap: .12em;
  padding: .12rem .23rem;
  border: 1px solid #cbbbdb;
  border-radius: 99px;
}
.languages a { padding: .08rem .24rem; border-radius: 99px; }
.languages a[aria-current="true"] { background: #eae0f1; }
.hero-light {
  position: absolute;
  inset: 5% 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 30%, #fff 0 1px, transparent 3px),
    radial-gradient(circle at 79% 26%, #fff 0 1px, transparent 3px),
    radial-gradient(circle at 78% 74%, #fff 0 1px, transparent 3px),
    linear-gradient(143deg, transparent 34%, #fff8 48%, #e8cab86b 52%, transparent 64%);
  animation: pearl-light 13s ease-in-out infinite alternate;
}
@keyframes pearl-light {
  from { opacity: .45; transform: translateY(3%); }
  to { opacity: .83; transform: translateY(-3%); }
}
@media (max-width: 24rem) {
  .languages { gap: 0; padding-inline: .1rem; }
  .languages a { padding-inline: .14rem; }
}

/* The original photograph blends into the warm background at its edges. */
.hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1rem, 3.5vw, 3rem);
  background: radial-gradient(ellipse at 76% 40%, #eedbcf, transparent 64%), #f8f2ea;
}
.hero .greeting { margin-bottom: clamp(1rem, 2.5vw, 1.6rem); }
.portrait-name {
  display: block; margin-top: .3rem; color: #382a2d;
  font: 400 clamp(2.65rem, 6.1vw, 5.6rem)/.96 var(--serif);
  letter-spacing: -.045em;
}
.hero h1 { font-size: clamp(1.4rem, 2.8vw, 2.35rem); letter-spacing: -.02em; }
.hero .intro { font-size: clamp(.98rem, 1.6vw, 1.22rem); }
.hero-visual { aspect-ratio: auto; width: min(100%, 32rem); }
.hero-portrait {
  display: block; width: 100%; height: auto; max-height: 72svh; object-fit: contain;
  mask-image: radial-gradient(ellipse 64% 63% at 52% 47%, #000 61%, transparent 99%);
}
.hero-visual .hero-light {
  z-index: 1; inset: 55% -5% -1%;
  background:
    radial-gradient(circle at 17% 32%, #fff 0 1px, transparent 3px),
    radial-gradient(circle at 84% 62%, #fff 0 1px, transparent 3px),
    linear-gradient(159deg, transparent 41%, #f8e1c56e 53%, transparent 66%);
}
.hero-visual .orb { position: absolute; z-index: 2; width: clamp(3.5rem, 21%, 7rem); bottom: 6%; right: 3%; }
@media (max-width: 46rem) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .hero-portrait { max-height: min(58svh, 27rem); }
  .hero-visual { width: min(84%, 25rem); }
}

/* Editorial composition from the selected warm reference. */
:root { --violet: #76583f; --ink: #2e221c; --muted: #56463d; --line: #dfcdbd; }
.site-header { background: #f4eae0; }
.nav { width: min(100%, 88rem); padding-inline: clamp(1rem, 4.5vw, 4.8rem); }
.nav .brand { flex: 0 0 auto; gap: .75rem; }
.nav .brand-mark { color: #78543b; font: italic 1.9rem/.9 var(--serif); letter-spacing: -.16em; padding-right: .17em; }
.brand-name { font: .98rem system-ui, sans-serif; }
.languages { border-color: var(--line); }
.languages a[aria-current="true"] { background: #eaddcf; }
.hero {
  width: 100%; max-width: 100rem; border-radius: 0; padding: 0;
  grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr); gap: 0;
  background: radial-gradient(ellipse at 49% 35%, #fff5e9 0%, transparent 49%), #f1e3d5;
  isolation: isolate; overflow: hidden;
}
.hero::before, .hero::after { content: none; }
.hero-copy { padding: clamp(2rem, 5vw, 5rem) 1rem clamp(2rem, 5vw, 5rem) clamp(1.2rem, 7vw, 7rem); }
.hero h1 { font: 400 clamp(2.7rem, 5.6vw, 6rem)/.98 var(--serif); letter-spacing: -.044em; color: #302018; }
.hero-quote { position: relative; margin: clamp(1rem, 3vw, 2.3rem) 0 0; padding-top: clamp(.85rem, 2vw, 1.65rem); }
.hero-quote::before { content: ""; position: absolute; top: 0; width: 3rem; height: 1px; background: #ad8665; }
.hero-quote p { margin: 0; max-width: 30rem; font: italic clamp(1.25rem, 2.55vw, 2.15rem)/1.15 var(--serif); }
.hero .intro { margin-top: clamp(1rem, 2.5vw, 1.85rem); color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem 1rem; margin-top: 1.45rem; }
.hero .button { min-width: min(100%, 9rem); margin: 0; padding-inline: clamp(.9rem, 2vw, 1.65rem); }
.hero .primary { background: #845536; }
.hero .primary:hover { background: #694028; }
.hero .secondary { background: transparent; color: #583a28; border-color: #a88264; }
.hero .secondary:hover { background: #e9d3c1; }
.hero-visual { align-self: stretch; width: 100%; min-height: 100%; margin: 0; }
.hero-portrait { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center 30%; mask-image: linear-gradient(to right, transparent, #000 19%); }
@media (max-width: 55rem) { .nav .brand { display: none; } .nav-links { margin-inline-start: auto; } }
@media (max-width: 46rem) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: 2.1rem 1.35rem 1.5rem; }
  .hero-portrait { max-height: min(125vw, 34rem); object-fit: cover; object-position: center 23%; mask-image: linear-gradient(to bottom, transparent, #000 12%); }
}
@media (max-width: 24rem) {
  .nav-links { flex-wrap: wrap; justify-content: flex-end; }
}

/* Blend the portrait area of the selected composition into the live hero. */
.languages { background: #fbf4ed; border-color: #c9ad95; color: #66452f; }
.languages a[aria-current="true"] { background: #e9d7c6; color: #543622; }
.languages a:hover { color: #543622; }
.hero {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(30rem, 51vw, 45rem);
  background: radial-gradient(ellipse at 40% 44%, #fbf2e9, #eee0d4 72%);
}
.hero-copy { position: relative; width: 55%; z-index: 1; }
.hero .greeting { margin: 0 0 .55rem; color: #674b3d; }
.hero .primary { margin-top: clamp(1.2rem, 3vw, 2.1rem); }
.hero-visual {
  position: absolute; inset: 0 0 0 auto;
  width: 59%; min-height: 0; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 26%);
}
.hero-portrait {
  position: absolute; top: 0; right: 0;
  width: auto; height: 111%; max-width: none; max-height: none;
  object-fit: contain; mask-image: none; transform: translateY(-9.75%);
}
@media (max-width: 60rem) {
  .hero-copy { width: 53%; }
  .hero h1 { font-size: clamp(2.25rem, 6vw, 4rem); }
  .hero-visual { width: 54%; }
  .hero-portrait { right: -7%; }
}
@media (max-width: 46rem) {
  .hero { min-height: 0; }
  .hero-copy { width: 100%; padding-bottom: .95rem; }
  .hero-visual {
    position: relative; inset: auto; width: 100%;
    aspect-ratio: 700 / 650;
    mask-image: linear-gradient(180deg, transparent, #000 15%);
  }
  .hero-portrait { right: 0; }
}

.hero-quote .quote-mark {
  color: #a67858;
  font: 400 1.7em/.55 var(--serif);
  vertical-align: -.22em;
}
.hero-quote .quote-open { margin-inline-end: .13em; }
.hero-quote .quote-close { margin-inline-start: .13em; }

@media (min-width: 46.01rem) {
  .hero-portrait { translate: clamp(8px, 1.25vw, 18px) 0; }
}

/* Mobile layout paired with the approved desktop styling. */
.mobile-star, .menu-toggle { display: none; }
.nav-pages { display: contents; }
@media (max-width: 46rem) {
  .site-header { background: #f5e8db; }
  .nav { position: relative; min-height: 4.4rem; justify-content: flex-start; gap: .8rem; padding-inline: 1.25rem; }
  .nav .brand { display: inline-flex; }
  .brand-name { display: none; }
  .mobile-star { display: inline; color: #98653b; font-size: 1.9rem; }
  .nav .nav-links { display: contents; }
  .nav .languages { margin-inline-start: auto; flex-shrink: 0; }
  .languages a[aria-current="true"] { background: #89582f; color: #fff9f1; }
  .menu-toggle {
    display: grid; place-items: center; padding: .45rem;
    min-width: 2.75rem; min-height: 2.75rem; border: 0; color: var(--ink); background: transparent; cursor: pointer;
  }
  .menu-toggle span { width: 1.45rem; height: 2px; background: currentColor; box-shadow: 0 -.38rem currentColor, 0 .38rem currentColor; }
  .nav .nav-pages {
    display: none; position: absolute; inset: 100% 0 auto;
    padding: .85rem 1.25rem; background: #fff6eb; box-shadow: 0 8px 18px #50302120;
    font-size: 1rem;
  }
  .nav:has(.menu-toggle[aria-expanded="true"]) .nav-pages { display: grid; gap: .1rem; }
  .nav .nav-pages a { padding: .45rem 0; }
  .hero {
    min-height: 0; display: grid; align-items: start;
    grid-template-areas: "copy" "finish";
    grid-template-rows: clamp(22rem, 106vw, 33rem) auto;
    background:
      radial-gradient(ellipse at 84% 13%, #fff5de, transparent 36%),
      linear-gradient(148deg, #f7e9d9, #faefe1 59%, #ead1b8);
  }
  .hero-copy { display: contents; }
  .hero-intro { grid-area: copy; position: relative; z-index: 1; width: 63%; padding: clamp(1.65rem, 7vw, 3rem) 0 0 1.25rem; }
  .hero h1 { font-size: clamp(1.95rem, 8.1vw, 3.4rem); }
  .hero .intro { max-width: 10em; margin-top: 1.35rem; }
  .hero .intro::before { content: ""; display: block; width: 2.5rem; height: 1px; background: #a77750; margin-bottom: .7rem; }
  .hero-visual {
    position: absolute; inset: clamp(4.8rem, 18vw, 7rem) 0 auto auto;
    width: 80%; height: clamp(18rem, 92vw, 27rem); aspect-ratio: auto;
    mask-image: none;
  }
  .hero-portrait {
    inset: 0; width: 100%; height: 100%; transform: none;
    object-fit: cover; object-position: 53% center;
    mask-image: linear-gradient(90deg, transparent, #000 27%), linear-gradient(180deg, transparent, #000 9%, #000 75%, transparent);
    mask-composite: intersect;
  }
  .hero-finish { grid-area: finish; position: relative; z-index: 1; width: 100%; padding: 0 1.25rem 2.7rem; }
  .hero-quote { margin-top: 0; padding: 0 0 0 .85rem; border-inline-start: 1px solid #a77750; }
  .hero-quote::before { content: none; }
  .hero-quote p { max-width: 20em; font-size: clamp(1.23rem, 5.1vw, 1.75rem); }
  .hero .primary { padding-inline: 1.15rem; }
}

@media (max-width: 46rem) {
  .hero { min-height: calc(100svh - 4.4rem); }
  .hero .intro { max-width: 8.5em; }
  .hero-portrait { object-position: left center; }
  .hero::after {
    content: ""; position: absolute; inset: auto -14% -20% -14%; height: 37%;
    border-radius: 50%; pointer-events: none;
    background: radial-gradient(ellipse at top, #fff7e9b3, transparent 66%);
    box-shadow: 0 -6px 26px #fff4de8c;
    transform: rotate(-11deg);
  }
}

/* Reference trial with the portrait and original lighting together. */
:root { --paper:#f6efe7; --ink:#42373f; --violet:#88709d; --line:#e5d5c5; }
body { background:var(--paper); }
.site-header { background:#f8efed; }
.nav .brand { display:inline-flex; }
.nav .mobile-star { display:inline; color:#9876a6; font-size:2rem; }
.nav .languages { background:#ead8ec; border-color:#d9cbe4; color:var(--ink); }
.nav .languages a[aria-current="true"] { background:#765c87; color:white; }
.hero {
  min-height:calc(100svh - 5rem);
  background:radial-gradient(ellipse at 45% 40%,#fff3ec,transparent 66%),linear-gradient(130deg,#f8efea,#e4d0e0);
}
.hero-copy { padding-inline-start:clamp(1.25rem,5vw,5rem); }
.hero .greeting,.hero h1,.hero .intro { color:var(--ink); }
.hero h1 { font-size:clamp(2.6rem,7vw,6.4rem); }
.hero .primary, #work .project-cta, #work-websites .project-cta { background:#80648f; }
.hero .primary:hover, #work .project-cta:hover, #work-websites .project-cta:hover { background:#6d507d; }
.hero-quote .quote-mark { color:#9876a6; }
.hero-quote::before,.hero .intro::before { background:#9876a6; }
.hero-visual { width:57%; mask-image:linear-gradient(90deg,transparent,#000 18%); }
.hero .hero-portrait {
  inset:0; width:100%;height:100%;transform:none;translate:none;max-height:none;
  object-fit:cover;object-position:center top;mask-image:none;
}
@media(max-width:46rem) {
  .hero {
    min-height:calc(100svh - 4.4rem);
    grid-template-rows:clamp(22rem,106vw,33rem) auto;
    background:radial-gradient(ellipse at 90% 30%,#f7e3db,transparent 59%),linear-gradient(145deg,#f8efe7,#ead9e5);
  }
  .hero h1 { font-size:clamp(1.95rem,8vw,3.4rem); }
  .hero-visual { inset:clamp(4.8rem,16vw,6.5rem) 0 auto auto; width:81%; height:clamp(18rem,91vw,30rem); mask-image:none; }
  .hero .hero-portrait {
    object-fit:cover;object-position:left top;
    mask-image:linear-gradient(90deg,transparent,#000 20%),linear-gradient(180deg,transparent,#000 8%,#000 76%,transparent);
    mask-composite:intersect;
  }
  .hero-quote { border-color:#9876a6; }
}
@media (min-width: 60rem) {
  .hero-quote p { max-width: none; font-size: clamp(1.38rem, 2.7vw, 2.15rem); }
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
.hero h1, .hero-quote p, .hero-quote .quote-mark {
  font-family: "Cormorant Garamond", Georgia, serif;
}
.hero h1 { letter-spacing: -.025em; }

@font-face {
  font-family: "Prata";
  src: url("fonts/prata-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.hero h1 {
  font-family: "Prata", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.022em;
  line-height: 1.09;
  font-synthesis: none;
}
@media (min-width: 60rem) {
  .hero h1 { font-size: clamp(3.5rem, 6.25vw, 5.75rem); }
}

/* Match the spacing of the approved 1280px composition. */
@media (min-width: 60rem) {
  .hero-copy {
    align-self: start;
    width: 52%;
    padding: clamp(4.25rem, 6.9vw, 6.6rem) 0 4rem clamp(3rem, 5.2vw, 5rem);
  }
  .hero .greeting { font-size: clamp(1.3rem, 2.15vw, 1.8rem); margin-bottom: .65rem; }
  .hero .intro {
    font-size: clamp(1rem, 1.68vw, 1.4rem);
    margin-top: clamp(1.25rem, 2.4vw, 2rem);
  }
  .hero-quote {
    --quote-offset: clamp(1.5rem, 2.8vw, 2.25rem);
    margin-top: calc(clamp(1.25rem, 2.45vw, 2.05rem) + var(--quote-offset));
    padding-top: clamp(1.6rem, 3vw, 2.5rem);
  }
  .hero-quote::before { top: calc(-1 * var(--quote-offset)); }
  .hero-quote p { font-size: clamp(1.4rem, 2.83vw, 2.35rem); line-height: 1.22; }
  .hero .primary {
    margin-top: clamp(1.7rem, 3.65vw, 3rem);
    min-height: clamp(3rem, 5vw, 4rem);
    min-width: min(100%, 28.4vw);
    font-size: clamp(1rem, 1.75vw, 1.45rem);
    font-weight: 450;
  }
}

/* Biography layout follows the same single column in both languages. */
main:has(#about:target) {
  background:
    radial-gradient(ellipse at 86% 17%, #e4d6e9a8, transparent 44%),
    radial-gradient(ellipse at 16% 44%, #fffaf3, transparent 48%),
    radial-gradient(ellipse at 85% 97%, #d9cbe483, transparent 42%),
    linear-gradient(142deg, #f6efe7 15%, #f9f2ee 55%, #ede0dd);
}

#about {
  --bio-lavender: #88709d;
  width: min(100%, 71rem);
  padding: clamp(1.2rem, 3vw, 2.35rem) clamp(1.2rem, 5.6vw, 4rem) clamp(2rem, 6vw, 4rem);
  color: #42373f;
  background: transparent;
}
#about .back-home {
  color: var(--bio-lavender);
  border: 0;
  padding-inline: 0;
  font-size: .75rem;
  transform: translateY(-.55rem);
}
#about .bio-intro,
#about .bio-accent,
#about .bio-meadow figcaption,
#about .bio-closing { text-align: center; text-wrap: balance; }
#about .bio-intro { margin: .05rem auto .4rem; max-width: 29em; font: 400 clamp(1.23rem, 2.76vw, 2.125rem)/1.23 Georgia, serif; }
#about .bio-accent,
#about .bio-meadow figcaption,
#about .bio-closing { color: var(--bio-lavender); font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 400; }
#about .bio-accent { margin: clamp(.9rem, 2.2vw, 1.6rem) auto .45rem; font-size: clamp(1.68rem, 3.24vw, 2.55rem); line-height: 1.12; }
#about .bio-meadow {
  position: relative;
  isolation: isolate;
  margin: .55rem auto 0;
}
#about .bio-meadow::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4% 0 18%;
  background:
    radial-gradient(ellipse at 50% 33%, #a9b4ad45, transparent 66%),
    radial-gradient(ellipse at 52% 67%, #d5cda169, transparent 66%);
  pointer-events: none;
}
#about .bio-meadow .values-photo { position: relative; width: min(100%, 31.2rem); margin-inline: auto; }
#about .bio-meadow img {
  width: 100%; height: auto; display: block; border-radius: 0;
  mask-image: linear-gradient(to right, transparent, #000 19%, #000 81%, transparent),
              linear-gradient(to bottom, transparent, #000 16%, #000 76%, transparent);
  mask-composite: intersect;
}
#about .bio-meadow #photo-toggle { right: 9%; bottom: 10%; }
#about .bio-meadow #photo-toggle:not(:hover):not(:focus-visible) { opacity: .4; }
#about .bio-meadow figcaption {
  width: min(100%, 31.2rem);
  margin: .5rem auto .75rem;
  font-size: clamp(1.25rem, 2.15vw, 1.75rem);
  line-height: 1.24;
  text-align: right;
}
@media (max-width: 46rem) {
  #about .bio-meadow figcaption { width: min(100%, 25.2rem); }
}
#about .bio-divider { width: 4.4rem; height: 1px; border: 0; background: #88709d; margin: 1rem auto 1.25rem; }
#about .bio-details { max-width: 47rem; margin: 0 auto; padding: 0; list-style: none; }
#about .bio-details li { display: grid; grid-template-columns: clamp(2rem, 4vw, 2.35rem) minmax(0,1fr); align-items: start; gap: clamp(.65rem, 2vw, 1.4rem); margin-block: clamp(1.05rem, 2vw, 1.4rem); }
#about .bio-details p { margin: 0; font-size: clamp(1.1rem, 1.78vw, 1.26rem); line-height: 1.65; }
#about .bio-details svg { width: 100%; fill: none; stroke: #88709d; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
#about .bio-closing { margin: clamp(2rem, 4vw, 3rem) auto clamp(.8rem, 2vw, 1.4rem); font-size: clamp(1.9rem, 3.5vw, 2.65rem); line-height: 1.22; }
@media (max-width: 46rem) {
  #about .bio-intro { text-align: left; margin-top: .2rem; }
  #about .bio-accent { margin-top: 1.05rem; }
  #about .bio-meadow .values-photo { width: min(100%, 25.2rem); }
}

/* Fit the desktop composition to the space below the navigation. */
.hero-composition { display: contents; }

@media (width > 46rem) {
  #home {
    display: grid;
    place-items: center;
    max-width: none;
    min-height: 0;
    height: max(31rem, calc(100svh - var(--header-height, 5.45rem)));
    container-type: size;
  }
  #home .hero-composition {
    --unit: min(.08333333cqw, .12345679cqh, 1.09px);
    display: block;
    position: relative;
    width: calc(1200 * var(--unit));
    height: calc(810 * var(--unit));
  }
  #home .hero-copy {
    position: absolute;
    inset: calc(79 * var(--unit)) auto auto calc(72 * var(--unit));
    width: calc(500 * var(--unit));
    padding: 0;
  }
  #home .greeting { font-size: calc(24 * var(--unit)); margin: 0 0 calc(9 * var(--unit)); }
  #home h1 { font-size: calc(70.4 * min(.078125cqw, .116cqh, 1.02px)); }
  #home .intro {
    font-size: calc(18.79 * var(--unit));
    margin: calc(27 * var(--unit)) 0 0;
  }
  #home .hero-quote {
    margin: calc(55 * var(--unit)) 0 0;
    padding: calc(33.8 * var(--unit)) 0 0;
  }
  #home .hero-quote::before { top: calc(-31.5 * var(--unit)); width: calc(42 * var(--unit)); }
  #home .hero-quote p { font-size: calc(32.2 * var(--unit)); line-height: 1.22; }
  #home .primary {
    margin-top: calc(35 * var(--unit));
    min-width: calc(320 * var(--unit));
    min-height: calc(56 * var(--unit));
    font-size: calc(19.7 * var(--unit));
    padding: 0 calc(23 * var(--unit));
  }
  #home .hero-visual {
    inset: calc(32 * var(--unit)) calc(25 * var(--unit)) auto auto;
    width: calc(641 * var(--unit));
    height: calc(751 * var(--unit));
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 93%, transparent),
                linear-gradient(180deg, transparent, #000 7%, #000 95%, transparent);
    mask-composite: intersect;
  }
}

#directory-title { font-size: clamp(2rem, 5vw, 3.5rem); }
.service-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 24rem));
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.service-directory a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid #d9cbe4;
  border-radius: 1rem;
  background: #f6efe7;
  color: #42373f;
}
.service-directory a:hover, .service-directory a:focus-visible { background: #eaddec; }
.service-directory a span { color: #88709d; }

.mobile-quote-break { display: none; }

@media (max-width: 46rem) {
  #home .hero-quote { border: 0; padding: 0; text-align: right; }
  #home .hero-quote p {
    margin-inline-start: auto;
    max-width: none;
    font-size: clamp(1.05rem, 5vw, 1.75rem);
  }
  .mobile-quote-break { display: initial; }
  #home .primary {
    min-height: 2.75rem;
    padding: .35rem .55rem;
    font-size: .77rem;
    gap: .35rem;
  }
  #about .bio-details li {
    grid-template-columns: clamp(1.8rem, 3.6vw, 2.115rem) minmax(0, 1fr);
  }
  #about .bio-details p {
    font-size: clamp(.99rem, 1.602vw, 1.134rem);
  }
  #work-websites .process { border-block-start: 0; }


}


#contact {
  min-height: calc(100svh - var(--contact-nav-height, 5.45rem));
  padding: clamp(.4rem, 2vw, 1.5rem) 0 clamp(2rem, 8vh, 5rem);
  background: radial-gradient(ellipse at 78% 85%, #e6d9e680, transparent 66%), #f6efe7;
  text-align: center;
}
#contact > .shell { width: min(calc(100% - 2.5rem), 64rem); }
#contact .back-home { margin-bottom: 0; }
#contact .contact-copy {
  display: grid;
  justify-items: center;
  padding-top: clamp(2.8rem, 12vh, 7rem);
}
#contact-title {
  color: #42373f;
  font-family: "Prata", Georgia, serif;
  font-size: clamp(1.42rem, 5.65vw, 3.3rem);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: 0;
}
#contact-title em {
  display: block;
  color: #88709d;
  margin-top: .8em;
  font-style: italic;
  font-synthesis: style;
}
#contact .contact-intro {
  max-width: 34ch;
  margin: clamp(1.65rem, 6vh, 3.2rem) 0 0;
  color: #42373f;
  font-size: clamp(1rem, 3.6vw, 1.2rem);
  line-height: 1.38;
  text-wrap: balance;
}
#contact .contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 21rem);
  gap: .65rem;
  margin: clamp(1.5rem, 5vh, 2.8rem) 0 0;
}
#contact .contact-links .button {
  width: 100%;
  min-height: 2.75rem;
  gap: .48rem;
  padding: .5rem .4rem;
  border: 1px solid #b5a2c2;
  background: transparent;
  color: #42373f;
  font-size: clamp(.82rem, 3.5vw, 1rem);
  font-weight: 450;
}
#contact .contact-links .button:hover { background: #eaddec; }
#contact :is(.instagram-icon, .whatsapp-icon) { width: 1.12rem; height: 1.12rem; flex: none; color: #88709d; }
@media (max-width: 46rem) {
  #contact { --contact-nav-height: 4.4rem; }
  #contact-title em { max-width: 13ch; margin-inline: auto; text-wrap: balance; }
}

.service-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .35rem .6rem;
  margin-bottom: clamp(1rem, 3vw, 2rem);
}
.service-toolbar :is(.back-home, .project-cta) { margin: 0; }
.service-toolbar .project-cta {
  margin-inline-start: auto;
  min-height: 2.75rem;
  padding: .45rem .75rem;
  font-size: .85rem;
}

#work-websites .service-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin: .65rem 0 .85rem;
  letter-spacing: normal;
}

#work, #work-websites {
  background: radial-gradient(ellipse at 87% 92%, #d9cbe480, transparent 51%), #f6efe7;
  color: #42373f;
  min-height: calc(100svh - 5.45rem);
}
#work > .shell, #work-websites > .shell { width: min(calc(100% - 2.5rem), 66rem); }
#work-websites > .service-detail { max-width: 49rem; }
#work :is(h2, h3), #work-websites :is(h2, h3, summary), .service-step-number {
  font-family: "Prata", Georgia, serif;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.35;
}
#work h2, #work-websites h2 { font-size: clamp(1.85rem, 4.4vw, 3rem); }
#work .service-directory { grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); }
#work .service-tile {
  display: grid;
  align-content: start;
  gap: .85rem;
  padding: clamp(.85rem, 2.4vw, 1.25rem);
  border-radius: 1.25rem;
  background: #fbf6ef;
}
#work .service-tile:hover, #work .service-tile:focus-visible { background: #f2e9f1; }
.service-tile img { display: block; width: 100%; height: auto; border-radius: .85rem; }
.service-tile :is(h3, p) { margin: 0; }
#work .service-tile h3, .service-benefits h3, .service-process summary {
  font-size: clamp(1.24rem, 3.1vw, 1.65rem);
}
.service-more { color: #755e89; }
.service-note {
  margin: 1.55rem 0 0;
  font: italic 400 clamp(1.3rem, 3vw, 1.8rem)/1.3 "Cormorant Garamond", Georgia, serif;
  color: #88709d;
}
.service-intro { max-width: 60ch; margin: 1rem 0 0; }
.service-benefits, .service-process {
  border-top: 1px solid #d9cbe4;
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
  padding-top: clamp(1rem, 3vw, 1.55rem);
}
.service-benefits h3 { margin: 0 0 .85rem; }
.service-benefits .benefits { gap: .7rem; }
.service-process summary { cursor: pointer; padding-block: .2rem .55rem; }
.service-process summary::marker { color: #88709d; }
.service-steps { list-style: none; display: grid; gap: .65rem; padding: 0; margin: .6rem 0 0; }
.service-steps li {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  align-items: center;
  gap: .65rem;
  padding: .75rem .85rem;
  border: 1px solid #d9cbe4;
  border-radius: .85rem;
  background: #fbf6ef;
}
.service-step-number { color: #88709d; font-size: 1.2rem; }
#work-websites .project-cta {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 2.75rem;
  margin-inline-start: auto;
  font-weight: 500;
}

.hero-mobile-actions { display: contents; }
#home .hero-services-link { display: none; }

@media (max-width: 46rem) {
  #home .hero-mobile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    width: min(100%, 26rem);
    gap: .5rem;
    margin-top: clamp(1.2rem, 3vw, 2.1rem);
  }
  #home .hero-mobile-actions .button {
    margin: 0;
    min-width: 0;
    text-align: center;
    line-height: 1.25;
  }
  #home .hero-services-link {
    display: inline-flex;
    min-height: 2.75rem;
    padding: .35rem .65rem;
    border-color: #b5a2c2;
    background: transparent;
    color: #60486d;
    font-size: .77rem;
    font-weight: 500;
  }
  #home .hero-services-link:hover { background: #eaddec; }
}
