/* aPLANARCH — static rebuild of the Framer site.
   Three layouts, the same breakpoints Framer uses:
   desktop ≥ 1200px · tablet 768–1199px · phone ≤ 767px */

@font-face { font-family: "Switzer"; src: url("fonts/switzer-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --red: #d2242a; --black: #000; --white: #fff; --light: #f1f1f1; --mid: #d9d9d9;
  --pad: 48px;
  --ease: cubic-bezier(.45, 0, 0, 1);
  --hover: .4s cubic-bezier(.3, 0, .2, 1);
}
@media (max-width: 1199px) { :root { --pad: 32px; } }
@media (max-width: 767px)  { :root { --pad: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--white); color: var(--black); font-family: "Switzer", "Inter", system-ui, sans-serif; font-weight: 300;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
  word-break: break-word; overflow-wrap: break-word; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; font-weight: inherit; font-size: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }

/* ---------------------------------------------------------------- type */
.t-body { font-size: 16px; line-height: 24px; font-weight: 300; }
.t-long { font-size: 16px; line-height: 32px; font-weight: 300; }
.t-long p + p { margin-top: 24px; }
.t-long strong { font-weight: 400; }
.t-label { font-size: 14px; line-height: 14px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.t-h2 { font-size: 36px; line-height: 36px; font-weight: 400; text-transform: uppercase; }
.t-h2 strong, .t-h2.bold { font-weight: 600; }
.t-h1 { font-size: 96px; line-height: .9; font-weight: 600; letter-spacing: -.01em; text-transform: uppercase; }
@media (max-width: 1199px) {
  .t-body { font-size: 14px; line-height: 21px; }
  .t-long { font-size: 14px; line-height: 28px; }
  .t-label { font-size: 12px; line-height: 1.2; }
  .t-h2 { font-size: 24px; line-height: 1.2; }
  .t-h1 { font-size: 72px; letter-spacing: 0; }
}
@media (max-width: 767px) {
  .t-label { font-size: 10px; line-height: 1.5; }
  .t-h2 { font-size: 20px; line-height: 1.3; }
  .t-h1 { font-size: 48px; line-height: 1; }
}

/* text that fills its box (Framer "fit text") */
.fit { width: 100%; height: auto; overflow: visible; }
.fit foreignObject { overflow: visible; }
.fit-t { margin: 0; font-weight: 600; line-height: .75; letter-spacing: -.02em; text-transform: uppercase; white-space: pre; }

/* ---------------------------------------------------------------- links & buttons */
.roll { position: relative; display: block; height: 20px; overflow: hidden; color: var(--red); font-size: 16px; line-height: 24px; white-space: pre; }
.roll span { display: block; position: absolute; left: 0; transition: transform var(--hover); }
.roll span:first-child { top: -4px; }
.roll span:last-child { top: -19px; }
.roll:hover span:first-child { transform: translateY(30px); }
.roll:hover span:last-child { transform: translateY(18px); }

.btn { position: relative; display: inline-flex; align-items: center; gap: 16px; height: 48px; padding: 0 24px; overflow: hidden;
  color: var(--red); font-size: 16px; line-height: 24px; white-space: nowrap; vertical-align: top; }
.btn::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--red); pointer-events: none; }
.btn-black { color: var(--black); }
.btn-fill { position: absolute; inset: 0; background: var(--black); transform: translateY(-100%); transition: transform var(--hover); }
.btn-label, .btn-arrow { position: relative; display: block; overflow: hidden; }
.btn-label { height: 24px; }
.btn-arrow { width: 25px; height: 8px; }
.btn-label span, .btn-arrow span { display: block; transition: transform var(--hover); }
.btn-label .off { position: absolute; left: 0; top: -24px; color: var(--white); }
.btn-arrow .off { position: absolute; left: 0; top: -12px; color: var(--white); }
.btn .on { position: relative; }
.btn:hover .btn-fill { transform: none; }
.btn:hover .btn-label span { transform: translateY(24px); }
.btn:hover .btn-arrow span { transform: translateY(12px); }
.btn-square { width: 48px; padding: 0; justify-content: center; flex: none; }
@media (max-width: 1199px) {
  .btn { font-size: 14px; line-height: 21px; }
  .btn-label { height: 21px; }
  .btn-label .off { top: -21px; }
  .btn:hover .btn-label span { transform: translateY(21px); }
}

/* reveal: a cover that slides down off the picture */
.curtain { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: none; }
.js .curtain { display: block; }
.c-white { background: var(--white); }
.c-black { background: var(--black); }
.curtain { transition: transform 1.2s var(--ease) var(--d, 0s); }
.curtain.in { transform: translateY(100.5%); }
.slide { overflow: hidden; }
.slide > * { transition: transform .8s var(--ease) var(--d, 0s); }
.js .slide:not(.in) > * { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .curtain, .slide > * { transition: none !important; } }

/* ---------------------------------------------------------------- header */
.hdr { position: relative; z-index: 20; background: var(--white); }
.hdr-bar { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--pad); min-height: 80px; position: relative; z-index: 2; background: var(--white); }
.logo { display: block; width: 39px; height: 32px; flex: none; }
.hdr-items { width: 84%; display: flex; align-items: center; justify-content: space-between; }
.hdr-nav { width: 69%; display: flex; align-items: center; justify-content: space-between; }
.hdr-nav .roll:nth-child(1) { width: 62px; } .hdr-nav .roll:nth-child(2) { width: 58px; } .hdr-nav .roll:nth-child(3) { width: 44px; }
.hdr-action { padding-left: 24px; }
.burger { display: none; position: relative; width: 40px; height: 40px; margin-right: -6px; }
.burger span { position: absolute; left: 6px; width: 28px; height: 1px; background: var(--black); transition: transform .4s var(--ease), top .4s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 11px; } .burger span:nth-child(2) { top: 19px; } .burger span:nth-child(3) { top: 29px; }
.mmenu { display: none; }
@media (max-width: 1199px) {
  .hdr { height: 75px; }
  .hdr-bar { min-height: 75px; padding: 0 var(--pad); }
  .hdr-items { display: none; }
  .burger { display: block; }
  .mmenu { display: block; position: absolute; left: 0; right: 0; top: 75px; background: var(--white); overflow: hidden;
    height: 0; transition: height .5s var(--ease); }
  .mmenu-links { display: flex; flex-direction: column; gap: 32px; padding: 40px var(--pad) 0; }
  .mlink { display: flex; align-items: flex-end; height: 36px; color: var(--red); font-size: 24px; line-height: 1.2; font-weight: 400; text-transform: uppercase; }
  .mmenu-action { display: flex; justify-content: flex-end; padding: 32px var(--pad) 40px; }
  .menu-open .mmenu { height: 332px; }
  .menu-open .burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
  .menu-open .burger span:nth-child(2), .menu-open .burger span:nth-child(3) { top: 19px; transform: rotate(-45deg); }
}
@media (max-width: 767px) { .mlink { font-size: 20px; line-height: 1.3; } }

/* ---------------------------------------------------------------- sections */
.sec { padding: 64px var(--pad); }
.sec-label { color: var(--red); padding-bottom: 32px; }

/* home: hero */
.hero { padding: 0 var(--pad) 48px; }
.hero-text { display: flex; justify-content: space-between; padding: 30px 0 40px; }
.hero-logo { flex: 1; min-width: 0; overflow: hidden; }
.hero-fit { width: 90%; min-width: 500px; color: var(--red); }
.hero-tag { width: 24%; display: flex; align-items: flex-end; }
.hero-tag p { width: 80%; max-width: 255px; }
.bento { display: flex; gap: 24px; }
.hero-img { position: relative; flex: 1; height: 704px; overflow: hidden; }
.hero-img img, .about-img img, .cta-img img, .proj-hero img, .proj-side img, .pgal-img img, .ct-img img, .ab-img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento-col { width: 24%; display: flex; flex-direction: column; gap: 32px; align-self: stretch; }
.box { position: relative; flex: 1; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.box1 { background: var(--light); }
.box2 { background: var(--mid); }
.box-icon { display: block; }
.box-copy { display: flex; align-items: flex-end; gap: 8px; }
.box-copy > p, .box-text { flex: 1; max-width: 300px; }
.mouse { position: relative; width: 28px; height: 48px; border: 1px solid var(--red); border-radius: 14px; flex: none; margin-left: auto; }
.mouse span { position: absolute; left: 11.5px; top: 8px; width: 3px; height: 10px; background: var(--red); animation: mouse 1.6s var(--ease) infinite; }
@keyframes mouse { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(22px); opacity: 1; } 100% { transform: translateY(22px); opacity: 0; } }
@media (max-width: 1199px) {
  .hero-text { flex-direction: column; gap: 24px; padding: 24px 0 32px; }
  .hero-fit { width: 100%; min-width: 0; }
  .hero-tag { width: 100%; justify-content: flex-end; }
  .hero-tag p { width: auto; flex: 1; max-width: 320px; }
  .hero-img { flex: none; width: 60%; height: 600px; }
  .bento-col { flex: 1; width: auto; gap: 24px; }
}
@media (max-width: 767px) {
  .hero-text { gap: 16px; padding: 16px 0 24px; }
  .hero-tag p { flex: none; width: 70%; max-width: 100%; }
  .bento { flex-direction: column; gap: 16px; }
  .hero-img { width: 100%; height: 320px; }
  .bento-col { width: 100%; flex: none; height: 600px; gap: 16px; }
}

/* home: services */
.svc { box-shadow: inset 0 -1px 0 var(--black); padding: 64px 0; cursor: pointer; outline: none; }
.svc-head { display: flex; align-items: center; justify-content: space-between; min-height: 36px; }
.svc-head .t-label { color: var(--red); flex: none; }
.svc-name { flex: 1; display: flex; align-items: flex-start; gap: 98px; padding-right: 32px; min-width: 0; }
.svc-title { color: var(--red); flex: 1; min-width: 0; }
.svc-plus { flex: none; width: 24px; height: 24px; color: var(--black); transition: color .3s; }
.svc.open .svc-plus, .svc:hover .svc-plus { color: var(--red); }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2, .8, .2, 1); }
.svc-body > p { overflow: hidden; min-height: 0; margin-left: 112px; width: 45.83%; }
.svc.open .svc-body { grid-template-rows: 1fr; }
.svc.open .svc-body > p { padding-top: 24px; }
.svc-body > p { transition: padding .5s cubic-bezier(.2, .8, .2, 1); }
@media (max-width: 1199px) {
  .svc { padding: 48px 0; }
  .svc-name { gap: 48px; }
  .svc-body > p { margin-left: 64px; width: 65.3%; }
  .svc.open .svc-body > p { padding-top: 16px; }
}
@media (max-width: 767px) {
  .svc { padding: 40px 0; }
  .svc-head { align-items: flex-start; }
  .svc-plus { margin-top: 14px; }
  .svc-body > p { width: 56.3%; }
  .svc.open .svc-body > p { padding-top: 8px; padding-bottom: 8px; }
}

/* home: about strip */
.about-cols { display: flex; gap: 24px; }
.about-content { flex: 1; min-width: 0; height: 704px; display: flex; flex-direction: column; justify-content: space-between; }
.about-icon { display: block; width: 24px; height: 24px; }
.about-title { max-width: 680px; padding-right: 24px; display: flex; flex-direction: column; gap: 12px; color: var(--red); }
.about-title .right { text-align: right; }
.about-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.about-copy p { max-width: 408px; }
.about-img { position: relative; flex: 1; height: 704px; overflow: hidden; }
@media (max-width: 1199px) {
  .about-content, .about-img { height: 600px; }
  .about-title { gap: 0; padding: 0; }
  .about-copy { gap: 24px; }
}
@media (max-width: 767px) {
  .about-cols { flex-direction: column; }
  .about-content, .about-img { flex: none; width: 100%; height: 480px; }
  .about-title { max-width: 420px; padding-right: 24px; gap: 12px; }
  .about-copy { gap: 32px; }
}

/* project grid (home + projects page) */
.grid-sec { background: var(--black); padding: 96px var(--pad); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.card { position: relative; display: flex; align-items: flex-end; height: 229px; padding: 24px; overflow: hidden; color: var(--white); }
.card-list { height: 348px; }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.3, 0, .2, 1); }
.card:hover .card-img { transform: scale(1.2); }
.card-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 49%; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 100%); z-index: 1; }
.card .curtain { z-index: 4; }
.card-text { position: relative; z-index: 3; display: flex; flex-direction: column; gap: 12px; width: 100%; }
@media (max-width: 1199px) {
  .grid-sec { padding: 80px var(--pad); }
  .grid { gap: 32px; }
  .card { height: 250px; }
  .card-list { height: 223px; }
  .card-text { gap: 8px; }
}
@media (max-width: 767px) {
  .grid-sec { padding: 64px var(--pad); }
  .grid { grid-template-columns: 1fr; gap: 24px; }
  .card { height: 200px; }
  .card-list { height: 161px; }
}

/* call to action (bottom of most pages) */
.cta-in { display: flex; gap: 24px; height: 704px; }
.cta-img { position: relative; flex: 1 1 50%; min-width: 0; min-height: 480px; overflow: hidden; }
.cta-box { flex: 1 1 50%; min-width: 0; background: var(--light); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; min-height: 480px; }
.cta-text { max-width: 408px; }
.cta-head { max-width: 720px; }
.cta-btn { align-self: flex-end; }
@media (min-width: 768px) and (max-width: 1199px) { .p-projects .cta-in { height: 600px; } }
@media (max-width: 767px) {
  .cta-in { flex-direction: column-reverse; height: auto; }
  .cta-img, .cta-box { flex: none; height: 480px; }
  .p-projects .cta, .p-project .cta { padding: 64px 32px; }
}

/* footer */
.ftr { background: var(--black); color: var(--white); padding: 128px var(--pad) 48px; display: flex; flex-direction: column; align-items: center; gap: 72px; }
.ftr-brand { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.ftr-word { width: 67%; }
.ftr-row { display: flex; flex-direction: column; align-items: center; gap: 48px; width: 100%; }
.ftr-links { display: flex; align-items: center; gap: 64px; }
.ftr-links .roll { color: var(--white); height: 19px; }
.ftr-links .roll:nth-child(1) { width: 62px; } .ftr-links .roll:nth-child(3) { width: 58px; } .ftr-links .roll:nth-child(5) { width: 44px; }
.sep { width: 1px; height: 19px; background: var(--white); }
.ftr-addr { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.ftr-addr p { font-size: 16px; line-height: 24px; }
.ftr-icons { display: flex; gap: 24px; }
.ftr-icons a { display: block; width: 32px; height: 35px; color: var(--white); }
.ftr-icons svg { width: 32px; height: 32px; }
.ftr-copy { font-size: 12px; line-height: 1.2; }
@media (max-width: 1199px) {
  .ftr { padding-top: 96px; gap: 64px; }
  .ftr-links { gap: 40px; }
  .ftr-links .roll, .ftr-addr p { font-size: 14px; line-height: 21px; }
  .ftr-copy { font-size: 10px; line-height: 1.3; }
  .ftr-icons a { width: 24px; height: 26px; }
  .ftr-icons svg { width: 24px; height: 24px; }
}
@media (max-width: 767px) {
  .ftr { padding-top: 80px; gap: 48px; }
  .ftr-links { gap: 12px; }
}

/* ---------------------------------------------------------------- projects page */
.plist-head { display: flex; align-items: flex-end; }
.plist-years { width: 33.333%; }
.plist-title { flex: 1; }
@media (max-width: 1199px) {
  .plist-head { flex-direction: column-reverse; align-items: stretch; gap: 16px; padding: 48px var(--pad); }
  .plist-years { width: auto; }
}
@media (max-width: 767px) { .plist-head { padding: 40px var(--pad); } }

/* ---------------------------------------------------------------- project page */
.proj-hero { position: relative; height: 630px; margin: 0 var(--pad); overflow: hidden; }
.proj-info { display: flex; align-items: flex-start; gap: 48px; padding: 40px var(--pad) 0; }
.proj-cat { width: 432px; flex: none; }
.proj-main { flex: 1; min-width: 0; }
.proj-meta { display: flex; gap: 8px; margin-top: 24px; }
.proj-year { display: flex; justify-content: center; gap: 4px; width: 139px; overflow: hidden; }
.proj-line { height: 1px; background: var(--black); margin-top: 16px; }
.proj-desc { display: flex; gap: 48px; padding: 40px var(--pad) 0; align-items: flex-start; }
.proj-side { position: relative; width: 432px; height: 320px; flex: none; overflow: hidden; }
.proj-body { flex: 1; max-width: 605px; }
.proj-gal { display: flex; flex-direction: column; gap: 80px; padding: 80px var(--pad) 0; }
.pgal { display: flex; }
.pgal-0 { justify-content: flex-end; }
.pgal-img { position: relative; width: calc(76% - 24px); height: 450px; overflow: hidden; }
@media (max-width: 1199px) {
  .proj-hero { height: 538px; }
  .proj-info { flex-direction: column; gap: 8px; padding-top: 32px; }
  .proj-cat { width: auto; }
  .proj-meta { margin-top: 16px; }
  .proj-line { margin-top: 12px; }
  .proj-desc { gap: 24px; padding-top: 32px; }
  .proj-side { width: calc((100% - 24px) / 3); }
  .proj-body { max-width: 560px; }
  .proj-gal { gap: 48px; padding-top: 48px; }
  .pgal-img { width: 100%; }
}
@media (max-width: 767px) {
  .proj-hero { height: 568px; }
  .proj-info { padding-top: 24px; }
  .proj-desc { flex-direction: column; padding-top: 24px; }
  .proj-side { width: 100%; }
  .proj-gal { gap: 32px; padding-top: 32px; }
}

/* ---------------------------------------------------------------- about page */
.ab-head { display: flex; justify-content: center; align-items: flex-end; padding: 50px var(--pad); }
.ab-head .slide { flex: 0 0 33.333%; text-align: center; }
.ab-story { display: flex; align-items: center; }
.ab-text { flex: 1 1 50%; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; align-self: stretch; }
.ab-text > * { width: 400px; }
.ab-text h2 { margin-bottom: 20px; }
.ab-img { position: relative; flex: 1 1 50%; height: 600px; overflow: hidden; }
.ab-resume-head { display: flex; align-items: center; justify-content: center; height: 145px; padding: 40px; }
.ab-resume-head h2 { font-family: "Inter", sans-serif; font-weight: 700; font-size: 73px; line-height: 1.2; letter-spacing: -3.81px; color: #333; }
@media (max-width: 1199px) {
  .ab-head { padding: 0 var(--pad); justify-content: flex-start; }
  .ab-head .slide { flex: none; text-align: left; }
  .ab-text { padding: 40px; align-items: stretch; }
  .ab-text > * { width: auto; }
  .ab-text h2 { width: 400px; max-width: 100%; }
  .ab-img { height: 500px; }
  .ab-resume-head { height: 101px; }
}
@media (max-width: 767px) {
  .ab-head .slide { padding: 12px 0; }
  .ab-story { flex-direction: column; }
  .ab-text { order: 1; padding: 20px; width: 100%; }
  .ab-img { flex: none; width: 100%; height: 400px; border-radius: 54px; }
  .ab-resume-head { height: 120px; padding: 60px; }
  .ab-resume-head h2 { font-size: 47px; letter-spacing: -2.46px; }
}

/* résumé (About page) — real text, laid out like the original résumé picture */
.resume { max-width: calc(1012px + 2 * var(--pad)); margin: 0 auto; padding: 46px var(--pad) 120px;
  display: grid; grid-template-columns: 284px minmax(0, 1fr); grid-template-areas: "photo head" "side body";
  column-gap: 60px; row-gap: 29px; color: #3e3e3e; }
.rs-photo { grid-area: photo; }
.rs-photo img { width: 100%; height: auto; }
.rs-head { grid-area: head; }
.rs-side { grid-area: side; }
.rs-body { grid-area: body; display: flex; flex-direction: column; gap: 44px; }
.rs-name { font-size: 46px; line-height: 1; font-weight: 600; letter-spacing: -.01em; margin-top: -4px; }
.rs-name span { font-size: 15px; letter-spacing: .04em; margin-left: 4px; }
.rs-role { margin-top: 18px; font-size: 21px; line-height: 1.2; font-weight: 300; color: #636363; }
.rs-role strong { font-weight: 600; color: #bb372b; }
.rs-bio { margin-top: 18px; font-size: 16px; line-height: 25.5px; font-weight: 300; color: #3d3d3d; text-align: justify; hyphens: manual; }
.rs-side h3, .rs-sec h3 { margin: 0; font-size: 14px; line-height: 1.2; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rs-side h3 { color: #3d3d3d; }
.rs-side h3 + * { margin-top: 6px; }
.rs-side p, .rs-side li { font-size: 14px; line-height: 21.6px; font-weight: 300; color: #636363; }
.rs-side p + p { margin-top: 15px; }
.rs-side p + h3 { margin-top: 24px; }
.rs-side ul { list-style: none; margin: 0; padding: 0; }
.rs-sec h3 { color: #000; padding-bottom: 10px; border-bottom: 2px solid #eee; margin-bottom: 18px; }
.rs-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 24px; }
.rs-item h4 { margin: 0; font-size: 16px; line-height: 23.5px; font-weight: 600; color: #3e3e3e; }
.rs-item p { font-size: 16px; line-height: 23.5px; font-weight: 300; color: #111; }
.rs-item .rs-loc { font-style: italic; color: #888; }
.rs-code { font-weight: 600; color: #636363; }
.rs-code.own { color: #bb372b; }
@media (max-width: 1199px) {
  .resume { grid-template-columns: 220px minmax(0, 1fr); column-gap: 40px; padding-bottom: 96px; }
  .rs-name { font-size: 40px; }
  .rs-role { font-size: 18px; }
  .rs-bio, .rs-item h4, .rs-item p { font-size: 14px; line-height: 22px; }
}
@media (max-width: 767px) {
  .resume { grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "head" "side" "body"; row-gap: 32px; padding-top: 16px; padding-bottom: 80px; }
  .rs-photo img { max-width: 240px; }
  .rs-name { font-size: 34px; }
  .rs-bio { text-align: left; }
  .rs-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- contact page */
.ct-top { display: flex; gap: 32px; padding: 64px var(--pad); }
.ct-left { flex: 2; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.ct-text { max-width: 408px; }
.ct-img { position: relative; flex: 1; height: 70vh; overflow: hidden; }
.ct-bottom { display: flex; align-items: center; padding: 0 var(--pad) 64px; }
.ct-form { flex: 1; height: 50vh; display: grid; grid-template-rows: max-content 1fr max-content; gap: 16px; }
.ct-fields { display: grid; gap: 16px; }
.ct-form input, .ct-form textarea, .ct-form button { -webkit-appearance: none; appearance: none; display: block; width: 100%; margin: 0; border: 0; border-radius: 0; outline: none;
  padding: 16px; font: 300 16px/1.4 "Switzer", sans-serif; background: var(--light); color: var(--black); box-shadow: inset 0 0 0 1px transparent; }
.ct-form textarea { resize: vertical; min-height: 0; height: 100%; }
.ct-form ::placeholder { color: rgba(0, 0, 0, .5); }
.ct-form .bad { box-shadow: inset 0 0 0 1px #ee4444; }
.ct-form button { background: var(--black); color: var(--white); font-weight: 600; cursor: pointer; }
.ct-done { display: flex; align-items: center; justify-content: center; height: 100%; }
.ct-done span { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--black); color: var(--white); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ct-info { flex: 1; align-self: flex-end; display: flex; flex-direction: column; align-items: flex-end; gap: 24px; text-align: right; }
.ct-lines { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 1199px) { .ct-info { gap: 16px; } }
@media (max-width: 1199px) {
  .ct-top { flex-direction: column; gap: 24px; padding: 24px var(--pad) 64px; }
  .ct-left { flex: none; gap: 24px; }
  .ct-img { flex: none; width: 100%; height: 30vh; }
  .ct-bottom { padding: 0 var(--pad) 64px; }
  .ct-form { flex: 2; }
  .ct-form input, .ct-form textarea, .ct-form button { font-size: 14px; }
}
@media (max-width: 767px) {
  .ct-top { padding: 16px var(--pad) 48px; }
  .ct-bottom { flex-direction: column; align-items: stretch; gap: 24px; height: 80vh; padding: 0 var(--pad) 48px; }
  .ct-form { order: 1; flex: 1; height: auto; }
  .ct-info { flex: none; align-self: stretch; align-items: flex-start; text-align: left; }
}

/* ---------------------------------------------------------------- 404 */
.nf { display: flex; justify-content: center; align-items: center; height: 100vh; padding: 0 var(--pad); }
.nf-in { flex: 1; max-width: 660px; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 32px; padding-bottom: 144px; }
.nf-big { display: flex; align-items: center; width: 100%; }
.nf-4, .nf-star { flex: 1 0 0; min-width: 0; }
.nf-star svg { width: 100%; height: auto; }
.nf-copy { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; }
.nf-text { max-width: 400px; text-align: center; }
@media (max-width: 767px) {
  .nf-in { gap: 24px; }
  .nf-copy { gap: 16px; }
}
