:root {
  --ink: #201a2e;
  --muted: #5e576e;
  --purple: #503695;
  --lavender: #f3f0fb;
  --lime: #e4fa83;
  --white: #fff;
  --line: #e9e4f0;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  font: 100%/1.55 var(--sans);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
p, h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid #7755d4; outline-offset: 4px; }
:where(section, main)[id] { scroll-margin-top: 5.5rem; }
::selection { background: #e4fa83; color: var(--ink); }

.shell { width: min(100% - 6rem, 75rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 6; top: .5rem; left: .5rem; background: var(--white); padding: .5rem 1rem; }
.header { position: sticky; top: 0; z-index: 4; background: #fff; border-bottom: 1px solid #f1edf5; }
.header-inner { position: relative; min-height: 4.75rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; width: fit-content; gap: .4rem; text-decoration: none; font-size: clamp(1rem, 3.2vw, 1.22rem); font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
.brand-mark { position: relative; flex: none; display: inline-block; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #dff678; margin-right: .12rem; }
.brand-mark::before { content: ''; position: absolute; left: 50%; bottom: .4rem; width: .7rem; height: .83rem; transform: translateX(-50%); background: #282039; clip-path: polygon(50% 0, 88% 43%, 70% 43%, 100% 79%, 59% 79%, 59% 100%, 41% 100%, 41% 79%, 0 79%, 30% 43%, 12% 43%); }
.nav { display: flex; align-items: center; gap: clamp(1.3rem, 4vw, 2.8rem); }
.nav a { text-decoration: none; color: #4d455d; font-size: .92rem; font-weight: 600; }
.nav a:hover { color: var(--purple); text-decoration: underline; text-underline-offset: .3em; }
.nav-cta { justify-self: end; }
.menu-button { display: none; }

.button { border: 1px solid transparent; background: var(--ink); color: var(--white); display: inline-flex; align-items: center; justify-content: center; min-height: 3.3rem; padding: .65rem 1.35rem; border-radius: .58rem; text-decoration: none; font-size: .94rem; font-weight: 740; line-height: 1.3; cursor: pointer; transition: background .18s, border-color .18s, color .18s; }
.button:hover { background: #392d4f; }
.button-small { min-height: 2.65rem; padding-inline: 1rem; font-size: .875rem; }
.button-lime { background: var(--lime); color: #242913; border-color: #d6eb74; }
.button-lime:hover { background: #d5ef63; }
.button-outline { background: transparent; color: var(--ink); border-color: #b5a9c9; }
.button-outline:hover { background: #e9e1f7; border-color: #9279bf; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.hero { background: var(--lavender); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.01fr 1fr; gap: 2rem; align-items: center; min-height: 34.5rem; padding-block: clamp(3.4rem, 7vw, 5.6rem); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: .5rem; color: var(--purple); font-size: .85rem; font-weight: 780; letter-spacing: .12em; text-transform: uppercase; }
.hero-dot { flex: 0 0 .55rem; width: .55rem; height: .55rem; border-radius: 50%; background: #7958ce; }
h1 { font-size: clamp(3.15rem, 5.55vw, 5.55rem); line-height: 1; letter-spacing: -.078em; font-weight: 785; margin-block: 1.12rem 1.5rem; }
h1 em, .contact h2 em { display: block; font-family: var(--serif); font-weight: 400; color: var(--purple); letter-spacing: -.082em; }
h1 em { font-size: .91em; }
.hero-summary { max-width: 32rem; color: #514860; font-size: clamp(1.02rem, 1.45vw, 1.22rem); line-height: 1.63; margin-bottom: 1.8rem; }

.hero-visual { position: relative; min-width: 0; height: clamp(18rem, 34vw, 28rem); border-radius: 1.4rem; isolation: isolate; background: radial-gradient(ellipse at 30% 9%, #e9defd 4%, #d6c6f4 50%, #bba4e7 100%); overflow: hidden; }
.visual-grid { position: absolute; inset: 0; opacity: .46; background-image: linear-gradient(#fff5 1px, transparent 1px), linear-gradient(90deg, #fff5 1px, transparent 1px); background-size: 2.1rem 2.1rem; mask-image: linear-gradient(140deg, #000, transparent 82%); }
.visual-sparkle { position: absolute; right: 7%; top: 8%; color: #513886; font-size: clamp(1.6rem, 4vw, 3.3rem); line-height: 1; }
.hero-browser { display: flex; flex-direction: column; position: absolute; top: 15%; bottom: 16%; width: 81%; left: 7%; background: #f7e8d9; border-radius: .7rem; border: 1px solid #84709a; overflow: hidden; transform: rotate(-6deg); box-shadow: 0 1.1rem 2.8rem #30204b4f; }
.browser-bar { flex: 0 0 auto; position: relative; display: flex; align-items: center; background: #2a203d; gap: .22rem; padding: .43rem .55rem; min-height: 1.5rem; }
.browser-bar > span { display: block; height: .26rem; width: .26rem; background: #b8a9cd; border-radius: 50%; }
.browser-slot { background: #67577f; position: absolute; left: 31%; right: 31%; top: 32%; bottom: 32%; border-radius: .2rem; }
.sample-top { display: flex; justify-content: space-between; align-items: center; padding: .4rem 5%; gap: .3rem; border-bottom: 1px solid #e9d3be; color: #613e36; flex: none; }
.sample-top b { font: 700 clamp(.66rem, 1.4vw, 1.05rem)/1.2 var(--serif); white-space: nowrap; }
.sample-top span { font-size: clamp(.32rem, .63vw, .5rem); letter-spacing: .05em; font-weight: 700; }
.sample-browser-main { display: grid; grid-template-columns: 1.03fr 1fr; flex: 1; min-height: 0; }
.sample-browser-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: clamp(.15rem, 1.1vw, .7rem); padding: 7% 5% 7% 11%; color: #683c31; }
.sample-browser-copy > span { font-size: clamp(.35rem, .73vw, .6rem); font-weight: 720; letter-spacing: .08em; }
.sample-browser-copy strong { font: 400 clamp(1.05rem, 3.25vw, 3.25rem)/.98 var(--serif); letter-spacing: -.062em; white-space: nowrap; }
.sample-browser-copy > b, .phone-content > b { background: #693f34; color: #fff2df; font-weight: 650; font-size: clamp(.38rem, .66vw, .59rem); padding: .36em .75em; border-radius: 2rem; }
.portfolio-photo { display: block; background-size: cover; background-position: center; }
.photo-form { background-color: #c69676; background-image: url('assets/form-field.jpg'); background-position: 49% 53%; }
.photo-ridge { background-color: #6b5842; background-image: url('assets/ridgeline.jpg'); background-position: 50% 55%; }
.photo-day { background-color: #a77537; background-image: url('assets/daybreak.jpg'); background-position: 50% 57%; }
.hero-phone { position: absolute; display: flex; flex-direction: column; width: 25%; height: 67%; min-width: 4.65rem; top: 27%; right: 9%; border-radius: clamp(.6rem, 1.5vw, 1.2rem); border: clamp(.2rem, .52vw, .42rem) solid #2c2240; background: #f7e8d9; overflow: hidden; transform: rotate(9deg); box-shadow: .45rem .9rem 1.5rem #3a285b4f; }
.phone-camera { height: .25rem; background: #312543; border-radius: 0 0 .2rem .2rem; width: 37%; align-self: center; flex: none; }
.phone-brand { color: #693f34; font: 700 clamp(.42rem, .85vw, .7rem)/1.2 var(--serif); border-bottom: 1px solid #e9d3be; padding: 7% 9%; }
.phone-content { display: grid; justify-items: start; row-gap: .4rem; padding: 9%; }
.phone-content strong { color: #683c31; font: 400 clamp(.84rem, 1.85vw, 1.56rem)/.98 var(--serif); letter-spacing: -.06em; }
.hero-phone .portfolio-photo { flex: 1; }

.proof { background: #211a30; color: #f4edf9; }
.proof-inner { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; min-height: 4.65rem; }
.proof-inner p { display: flex; align-items: center; justify-content: center; gap: .65rem; min-height: 2rem; font-size: .88rem; font-weight: 620; text-align: center; }
.proof-inner p + p { border-inline-start: 1px solid #4d405d; }
.proof-icon { color: var(--lime); font-size: 1.1rem; line-height: 1; }

.section { padding-block: clamp(3.8rem, 8vw, 7rem); }
.section-intro { margin-bottom: 2rem; display: flex; justify-content: space-between; align-items: end; gap: 1rem 2.5rem; }
.section-intro h2, .faq h2, .contact h2 { font-size: clamp(2.65rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.077em; margin-top: .65rem; }
.section-intro > p { max-width: 25rem; color: var(--muted); line-height: 1.6; }
.work-grid, .services-grid, .process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.work-open { border: 0; padding: 0; text-align: left; display: block; width: 100%; border-radius: .82rem; background: #fff; cursor: pointer; }
.work-art { display: grid; place-items: center; aspect-ratio: 1.39; overflow: hidden; border-radius: .82rem; }
.work-form { background: #eddbcf; --sample-bg: #f9eadb; --sample-text: #684033; }
.work-ridge { background: #c8cbbb; --sample-bg: #e7e8db; --sample-text: #29372c; }
.work-day { background: #eac981; --sample-bg: #f8eac3; --sample-text: #4c351c; }
.work-mock { width: 85%; height: 74%; min-width: 0; display: grid; grid-template-rows: auto 1fr; background: var(--sample-bg); border-radius: .34rem; overflow: hidden; box-shadow: 0 .8rem 1.35rem #30243633; color: var(--sample-text); transition: transform .22s; }
.work-open:hover .work-mock { transform: scale(1.035); }
.work-mock-top { display: flex; justify-content: space-between; align-items: center; gap: .3rem; padding: .45rem 6%; border-bottom: 1px solid #221a2e21; white-space: nowrap; }
.work-mock-top > b { font: 700 clamp(.55rem, 1.08vw, .89rem)/1 var(--serif); }
.work-mock-top > span { font-size: clamp(.35rem, .65vw, .5rem); font-weight: 750; }
.work-mock-main { display: grid; grid-template-columns: 1fr 1fr; min-height: 0; }
.work-mock-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-inline: 12% 5%; gap: .55rem; min-width: 0; }
.work-mock-copy > b { font: 400 clamp(.85rem, 2.1vw, 2rem)/.97 var(--serif); letter-spacing: -.05em; }
.work-mock-copy > span { border-radius: 2rem; border: 1px solid currentColor; font-weight: 700; padding: .17rem .37rem; font-size: clamp(.35rem, .64vw, .53rem); white-space: nowrap; }
.work-caption { display: flex; justify-content: space-between; gap: .4rem; align-items: center; padding: .82rem .04rem .25rem; }
.work-caption strong { display: block; font-size: 1.08rem; letter-spacing: -.034em; }
.work-caption > span > span { color: var(--muted); font-size: .875rem; }
.work-plus { flex: none; display: grid; place-items: center; border: 1px solid #ddd3e8; border-radius: 50%; width: 2rem; height: 2rem; font-weight: 500; font-size: 1.22rem; line-height: 1; }
.work-open:hover .work-plus { background: #eee6f8; }

.services { background: #f7f4fc; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: .85rem; padding: clamp(1.2rem, 2.5vw, 2rem); }
.service-icon { position: relative; width: 2.6rem; height: 2.6rem; border-radius: .58rem; display: grid; place-items: center; background: #eee7fb; color: #5a3ba0; margin-bottom: 1rem; }
.service-icon::before { content: ''; width: 1.31rem; height: 1rem; border: 1.5px solid currentColor; border-radius: .14rem; }
.service-icon i { position: absolute; display: block; }
.icon-website i { width: 1.2rem; border-top: 1.5px solid; top: 1.1rem; }
.icon-landing::before { width: .87rem; height: 1.25rem; }
.icon-landing i { width: .4rem; height: .36rem; border-bottom: 1.5px solid; border-top: 1.5px solid; top: 1.08rem; }
.icon-redesign::before { transform: rotate(-11deg); width: 1.05rem; height: .88rem; margin-right: .19rem; margin-bottom: .17rem; }
.icon-redesign i { width: 1.05rem; height: .88rem; border: 1.5px solid; border-radius: .14rem; left: .88rem; top: 1.01rem; transform: rotate(11deg); background: #eee7fb; }
.service-card h3, .process-grid h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -.035em; }
.service-card p, .process-grid p { margin-block: .55rem 1.05rem; color: var(--muted); line-height: 1.57; }
.text-link { color: var(--purple); font-size: .9rem; font-weight: 740; text-decoration-thickness: 1px; text-underline-offset: .24em; }
.text-link:hover { color: #2f1e54; }
.service-card .text-link { margin-top: auto; }
.service-includes { display: grid; gap: .4rem; margin: -.1rem 0 1.2rem; color: #51485f; padding-inline-start: 1.15rem; }
.service-includes li::marker { color: #7958ce; }

.process-grid { margin: 0; padding: 0; list-style: none; gap: 1.75rem; }
.process-grid li { border-top: 1px solid #dccfed; padding: 1.05rem 0 0; }
.step { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: #eee7f9; color: var(--purple); font-size: .83rem; font-weight: 780; margin-bottom: .95rem; }
.process-grid p { margin-bottom: 0; }

.faq { background: #f7f4fc; }
.faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem 4rem; align-items: start; }
.faq-intro .text-link { display: inline-block; margin-top: 1rem; }
.faq-list { border-top: 1px solid #ddcfee; }
.faq-list details { border-bottom: 1px solid #ddcfee; }
.faq-list summary, .extra-fields > summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; list-style: none; }
.faq-list summary { min-height: 3.5rem; padding-block: .7rem; font-weight: 720; }
.faq-list summary::-webkit-details-marker, .extra-fields > summary::-webkit-details-marker { display: none; }
.faq-list summary::after, .extra-fields > summary::after { content: ''; flex: 0 0 .55rem; width: .55rem; height: .55rem; border: solid var(--purple); border-width: 0 1.5px 1.5px 0; transform: translateY(-.13rem) rotate(45deg); margin-inline-end: .24rem; }
.faq-list details[open] summary::after, .extra-fields[open] > summary::after { transform: translateY(.13rem) rotate(225deg); }
.faq-list summary:hover, .extra-fields > summary:hover { color: var(--purple); }
.faq-list p { margin-bottom: 1rem; color: var(--muted); max-width: 36rem; }

.contact { color: #fff; background: #241b38; }
.contact-inner { display: grid; grid-template-columns: .91fr 1fr; gap: 4rem; align-items: start; padding-block: clamp(3.9rem, 8vw, 7.1rem); }
.contact-copy { padding-top: 1.5rem; }
.contact .eyebrow { color: #decef8; }
.contact .hero-dot { background: var(--lime); }
.contact h2 { font-size: clamp(3.15rem, 6vw, 5.15rem); margin-block: .75rem 1.1rem; }
.contact h2 em { color: #e1cdfb; }
.contact-copy > p { color: #e6ddf0; max-width: 23rem; font-size: 1.08rem; }
.contact-email { display: inline-block; margin-top: 1rem; color: #eddefe; font-weight: 680; overflow-wrap: anywhere; text-underline-offset: .23em; }
.contact-email:hover { color: var(--lime); }
.form-card { padding: clamp(1.3rem, 3vw, 2.1rem); background: #fff; color: var(--ink); border-radius: .9rem; }
.form-card h3 { font-size: 1.45rem; letter-spacing: -.045em; margin-bottom: 1rem; }
#inquiry-form { display: grid; gap: .85rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
#inquiry-form label { display: grid; gap: .3rem; min-width: 0; font-size: .9rem; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 2.65rem; padding: .55rem .65rem; border: 1px solid #cabfd6; border-radius: .4rem; color: var(--ink); background: #fff; font-size: 1rem; font-weight: 400; }
textarea { resize: vertical; }
textarea::placeholder { color: #695f76; }
.service-field { position: relative; }
.service-field::after { content: ""; pointer-events: none; position: absolute; right: .9rem; bottom: 1.1rem; width: .48rem; height: .48rem; border: solid #5e576e; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
select { appearance: none; padding-right: 2rem; }
.submit-button { width: fit-content; }
.submit-button:disabled { opacity: .65; cursor: default; }
.form-note { color: var(--muted); font-size: .87rem; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status { background: #eef5e1; color: #29361e; border-radius: .42rem; padding: .55rem .7rem; font-size: .9rem; }
.form-status[data-type="error"] { background: #fbe8e5; color: #6a2b29; }
.extra-fields { border-block: 1px solid var(--line); }
.extra-fields > summary { min-height: 2.75rem; padding: .24rem 0; gap: .35rem; font-size: .9rem; font-weight: 700; }
.extra-fields > summary > span { margin-inline-end: auto; font-weight: 400; color: var(--muted); }
.extra-fields[open] { padding-bottom: .7rem; }
.extra-fields .field-grid { margin: .2rem 0 .62rem; }
.inquiry-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; }
.footer p { color: var(--muted); font-size: .89rem; }

dialog { width: min(39rem, 100% - 2rem); max-height: calc(100% - 2rem); border: 1px solid #e4d9ee; border-radius: 1rem; box-shadow: 0 1.3rem 5rem #231b3b40; color: var(--ink); padding: 0; }
dialog::backdrop { background: #251937a8; }
.dialog-inner { position: relative; padding: clamp(1.3rem, 4vw, 2rem); }
.dialog-inner h2 { margin: .35rem 2rem .65rem 0; font-size: clamp(1.65rem, 5vw, 2.75rem); letter-spacing: -.05em; line-height: 1.05; }
.dialog-inner p:not(.eyebrow) { color: var(--muted); margin-block: .85rem; }
.dialog-dismiss { position: absolute; right: .75rem; top: .75rem; }
.dialog-close { width: 2.35rem; height: 2.35rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid #d9cfe8; background: #fff; cursor: pointer; font-size: 1.45rem; line-height: 1; }
.dialog-close:hover { background: #eee7f8; }
#concept-preview .work-art { aspect-ratio: 1.95; }
#concept-preview .work-mock-copy > b { font-size: clamp(1.05rem, 4vw, 2.1rem); }
.concept-details { margin-block: 1.1rem 1.3rem; }
.concept-details dt { font-weight: 740; }
.concept-details dd { margin: 0 0 .65rem; color: var(--muted); }
#brief-details { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .48rem 1rem; margin-block: 1.15rem 1.35rem; }
#brief-details dt { font-weight: 750; }
#brief-details dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }

@media (max-width: 63rem) {
  .shell { width: min(100% - 3.5rem, 75rem); }
  .hero-inner { min-height: 29rem; }
  .contact-inner, .faq-inner { gap: 2rem; }
}

@media (max-width: 46rem) {
  .shell { width: min(100% - 2.25rem, 33rem); }
  .header-inner { min-height: 4rem; grid-template-columns: 1fr auto auto; gap: .55rem; }
  .nav-cta { grid-column: 2; grid-row: 1; }
  .menu-button { grid-column: 3; grid-row: 1; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid #e2d9ed; background: #fff; border-radius: .52rem; cursor: pointer; }
  .menu-lines, .menu-lines::before, .menu-lines::after { position: relative; display: block; content: ''; width: 1rem; height: 1.5px; background: var(--ink); }
  .menu-lines::before { position: absolute; top: -.29rem; }
  .menu-lines::after { position: absolute; top: .29rem; }
  .nav { display: none; position: absolute; top: calc(100% + .25rem); right: 0; width: min(16rem, 100%); border: 1px solid #e2d9ed; background: #fff; border-radius: .72rem; box-shadow: 0 .8rem 2rem #29144120; padding: .35rem; }
  .nav.is-open { display: grid; gap: 0; }
  .nav a { display: block; padding: .65rem .7rem; min-height: 2.75rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; padding-block: 3.35rem 2.15rem; }
  h1 { font-size: clamp(2.68rem, 9vw, 4.7rem); margin-bottom: 1.1rem; }
  .hero-summary { margin-bottom: 1.3rem; }
  .hero-visual { height: auto; aspect-ratio: 1.28; border-radius: .95rem; }
  .sample-browser-copy strong { font-size: clamp(1.25rem, 6.2vw, 2.5rem); }
  .phone-content strong { font-size: clamp(.83rem, 3.35vw, 1.35rem); }
  .proof-inner { min-height: 4.5rem; }
  .proof-inner p { gap: .3rem; display: grid; align-content: start; min-height: 2.8rem; padding-inline: .35rem; font-size: .72rem; line-height: 1.22; }
  .proof-icon { font-size: .85rem; }
  .section-intro { display: grid; margin-bottom: 1.45rem; }
  .work-grid, .services-grid, .process-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .work-art { aspect-ratio: 1.59; }
  .work-mock-top > b { font-size: clamp(.7rem, 2.5vw, .95rem); }
  .work-mock-top > span { font-size: .52rem; }
  .work-mock-copy > b { font-size: clamp(1.05rem, 4.8vw, 1.8rem); }
  .work-mock-copy > span { font-size: .49rem; }
  .contact-inner, .faq-inner { grid-template-columns: 1fr; }
  .contact-copy { padding-top: 0; }
  .footer-inner { flex-wrap: wrap; }
}

@media (max-width: 25rem) {
  .shell { width: calc(100% - 1.65rem); }
  .field-grid { grid-template-columns: 1fr; gap: .85rem; }
  .nav-cta { padding-inline: .6rem; }
  #brief-details { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  #brief-details dd { margin-bottom: .45rem; }
}

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