@font-face {
  font-family: "Open Sans";
  src: url("./fonts/open-sans-300.woff") format("woff");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("./fonts/open-sans-400.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("./fonts/open-sans-600.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}
:root {
  --white: #fffaf1;
  --ink: #24211b;
  --black: #1c1b19;
  --deep: #111110;
  --accent: #d9b875;
  --highlight: #72521f;
  --muted: #635352;
  --line: #dfd0bc;
  --surface: #f6eee1;
  font: 16px/1.55 "Open Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.04em; }
h1, h2 { font-weight: 300; }
h3 { font-weight: 600; }
h2 { font-size: clamp(2.15rem, 4.3vw, 4.15rem); }
h3 { font-size: clamp(1.35rem, 2.15vw, 2rem); }
p + p { margin-top: .8em; }
a { color: var(--black); text-underline-offset: 4px; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #8b4c24; outline-offset: 4px; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; }
.skip:focus { top: 8px; left: 8px; z-index: 3; padding: 10px; background: white; }
header { padding: 18px 0 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 7px 10px 7px 14px; border-radius: 100px; background: var(--black); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: white; text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px clamp(12px, 3.1vw, 40px); list-style: none; margin: 0; padding: 0; }
.brand { gap: 9px; font-weight: 600; }
.mark { display: grid; place-items: center; width: 36px; aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--deep); font-size: .82rem; }
.nav .nav-contact { gap: 6px; padding: 0 15px; border-radius: 100px; background: var(--white); color: var(--deep); font-weight: 600; }
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(14px, 4vw, 60px); align-items: center; min-height: clamp(460px, 43vw, 590px); padding: 45px 0 52px; }
.hello { display: inline-flex; gap: 9px; align-items: center; padding: 6px 12px; border: 1px solid #a87943; border-radius: 4px; font-weight: 600; }
.hello span { color: var(--highlight); }
.intro h1 { margin: 14px 0 16px; font-size: clamp(2.4rem, 4.9vw, 5rem); }
.intro h1 span, .section-head h2 span { color: var(--highlight); }
.lead { max-width: 54ch; color: var(--muted); font-size: clamp(1.02rem, 1.65vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 8px 17px; border: 1px solid var(--black); border-radius: 100px; background: var(--black); color: white; font-weight: 600; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--deep); }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { background: var(--surface); }
.compound { padding-right: 6px; }
.compound span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--deep); }
.identity { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 345px; aspect-ratio: 1.15; }
.identity-portrait, .identity-ring { position: absolute; width: 73%; aspect-ratio: 1; border-radius: 50%; }
.identity-portrait { z-index: -1; height: auto; object-fit: cover; object-position: center top; border: 4px solid var(--accent); background: var(--surface); }
.identity-ring { z-index: -2; width: 79%; border: 1px solid #a77442; transform: translate(9px, -5px); }
.identity-tag { position: absolute; padding: 6px 13px; border-radius: 100px; background: var(--black); color: white; font-weight: 600; box-shadow: 0 6px 12px #24211b26; }
.tag-one { bottom: 19%; left: 1%; transform: rotate(-8deg); }
.tag-two { right: 2%; top: 23%; background: var(--white); color: var(--deep); transform: rotate(7deg); }
.identity-spark { position: absolute; right: 9%; bottom: 14%; display: grid; place-items: center; width: 58px; aspect-ratio: 1; border-radius: 50%; background: var(--black); color: var(--accent); font-size: 1.8rem; }
.home { width: 100%; }
.home > :where(.intro, .section):not(.about, .work-section) { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.specialty { background: var(--accent); border-bottom: 6px solid var(--black); }
.specialty-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 3px clamp(10px, 3.9vw, 48px); min-height: 58px; padding-block: 10px; font-size: clamp(.82rem, 2vw, 1.35rem); font-weight: 600; }
.specialty b { color: var(--black); }
.section { padding-block: clamp(42px, 6vw, 82px); scroll-margin-top: 18px; }
.home > .section:not(.about):not(.focus) { border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 24px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--black); font-weight: 600; font-size: .86rem; }
.eyebrow::before { content: ""; width: 17px; height: 2px; background: #b78346; flex: 0 0 auto; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.card { display: flex; flex-direction: column; gap: 11px; min-width: 0; padding: clamp(15px, 2vw, 23px); border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.card p, .muted { color: var(--muted); }
.card a { display: flex; align-items: center; gap: 8px; min-height: 44px; margin-top: auto; font-weight: 600; }
.focus-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 12px; background: #f3dfb8; color: var(--deep); font-size: 1.4rem; }
.about { background: var(--black); color: white; }
.about-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(25px, 6vw, 80px); align-items: center; }
.about .eyebrow, .about .lead { color: #fff1db; }
.about h2 span { color: var(--accent); }
.about-copy .lead { margin-bottom: 16px; }
.about-art { position: relative; display: grid; place-items: center; min-height: 250px; }
.about-art div { display: grid; place-items: center; width: min(75%, 290px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--deep); font-size: clamp(5rem, 11vw, 10rem); font-weight: 600; letter-spacing: -.1em; padding-right: .1em; }
.about-art span { position: absolute; padding: 5px 13px; border-radius: 100px; background: var(--white); color: var(--deep); font-weight: 600; }
.about-art span:nth-child(2) { left: 7%; bottom: 25%; transform: rotate(-10deg); }
.about-art span:nth-child(3) { right: 7%; bottom: 30%; transform: rotate(7deg); }
.about-art span:nth-child(4) { left: 39%; bottom: 9%; background: var(--accent); border: 1px solid var(--deep); }
details { margin-top: 14px; border-top: 1px solid #ffffff50; }
summary { cursor: pointer; min-height: 44px; padding-block: 9px; color: var(--accent); font-weight: 600; }
.contact { border-radius: 18px; padding: clamp(17px, 4vw, 38px); background: var(--black); color: white; }
.contact .muted { color: #f2e1d1; }
.contact .button { background: var(--accent); color: var(--deep); }
.contact :focus-visible, .about :focus-visible { outline-color: var(--accent); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.wide { grid-column: 1 / -1; }
label { display: grid; gap: 4px; font-weight: 600; }
input, select, textarea { min-height: 46px; width: 100%; padding: 9px; border: 1px solid #9b796b; border-radius: 7px; background: var(--white); color: var(--ink); }
#status { margin-top: 10px; }
footer { padding-block: 24px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.edition { font-size: .85rem; }
.case { padding: 40px 0; }
.case h1 { margin: 10px 0; font-size: clamp(3rem, 7vw, 6.5rem); }

.case .section { border-bottom: 1px solid var(--line); }
.case .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case dl { margin: 0; }
.case dt { margin-top: 9px; font-weight: 600; }
.case dd { margin: 0 0 8px; color: var(--muted); }
.case > a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 780px) {
  .wrap, .home > :where(.intro, .section):not(.about, .work-section) { width: calc(100% - 36px); }
  .home { width: 100%; }
  .nav ul { gap: 0 12px; }
  .nav a { font-size: .87rem; }
  .intro { min-height: 0; }
  .identity { min-height: 230px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .nav { display: grid; grid-template-columns: 1fr auto; border-radius: 21px; }
  .nav ul { grid-row: 2; grid-column: 1 / -1; justify-content: space-around; }
  .nav .nav-contact { grid-row: 1; grid-column: 2; }
  .intro, .grid, .about-layout, .case .grid, .fields { grid-template-columns: 1fr; }
  .intro { padding: 34px 0 22px; }
  .identity { width: min(100%, 340px); justify-self: center; }
  .about-art { min-height: 210px; }
  .about-art div { width: min(62%, 215px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

}

.work-section { background: #f3e9da; }
.work-heading { text-align: center; margin-bottom: clamp(24px, 4vw, 43px); }
.work-heading .eyebrow { justify-content: center; }
.work-heading .lead { margin: 13px auto 0; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(15px, 2.8vw, 29px); }
.work-tile { min-width: 0; border-radius: 18px; background: var(--white); }
.work-link { display: block; height: 100%; padding: 11px; border: 1px solid var(--line); border-radius: inherit; color: var(--ink); text-decoration: none; transition: border-color .18s, box-shadow .18s; }
.work-link:hover, .work-link:focus-visible { border-color: #ad7d4c; box-shadow: 0 12px 27px #1c1b1918; }
.work-cover {
  --cover: #ead5e5;
  --screen: #593250;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 148px;
  aspect-ratio: 1.48;
  border-radius: 12px;
  background: radial-gradient(circle at 65% 22%, #fff 0, transparent 58%), var(--cover);
}
.work-cover.support-queue { --cover: #d1e4d8; --screen: #245749; }
.work-cover.access-review { --cover: #f2dfbe; --screen: #6d4132; }
.work-cover img { position: relative; z-index: 1; display: block; width: 77%; height: auto; border-radius: 9px; box-shadow: 0 12px 25px #24211b45; transform: translateY(-6%) rotate(-5deg); }
.mini-panel { position: absolute; z-index: 2; display: grid; width: 28%; gap: 5px; padding: 8px; border: 1px solid #d7c5ad; border-radius: 8px; background: #fff; box-shadow: 0 7px 15px #24211b33; font-size: clamp(.48rem, 1.05vw, .78rem); font-weight: 600; line-height: 1.2; }
.mini-left { left: 5%; bottom: 10%; transform: rotate(-8deg); }
.mini-right { right: 4%; bottom: 11%; transform: rotate(8deg); }
.mini-panel span { padding: 4px 5px; border-radius: 4px; background: #f8f0e4; color: var(--screen); }
.mini-panel span:nth-child(2) { background: var(--cover); }
.mini-bar { display: flex; gap: 3px; margin: 2px 0; }
.mini-bar i { width: 4px; height: 4px; border-radius: 50%; background: var(--screen); }
.work-meta { position: relative; padding: 15px 58px 13px 7px; }
.work-tags { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; padding: 0; margin: 0 0 11px; }
.work-tags li { padding: 3px 9px; border-radius: 100px; background: #f2deb6; color: #603b20; font-size: .77rem; font-weight: 600; }
.work-meta p { color: var(--muted); margin-top: 8px; }
.work-arrow { position: absolute; top: 50%; right: 3px; display: grid; place-items: center; width: 44px; height: 44px; transform: translateY(-50%); border-radius: 50%; background: var(--black); color: white; font-size: 1.4rem; }
.work-link:hover .work-arrow { background: var(--highlight); }
.case > .work-cover { max-width: 100%; margin-top: 24px; aspect-ratio: 2.1; }
.case > .work-cover img { width: 65%; }
.case > .work-cover .mini-panel { width: 23%; }
.case-caption { margin-top: 9px; }
@media (max-width: 660px) {
  .work-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .work-link { transition: none; }
}

.portfolio-home header, .hero-band { background: var(--deep); }
.portfolio-home .nav { border: 1px solid #4d4230; }
.hero-band { color: var(--white); }
.hero-band .lead { color: #d5cec0; }
.hero-band .hello, .hero-band .hello span, .hero-band h1 span { color: var(--accent); }
.hero-band .hello { border-color: #9f8352; }
.hero-band .compound {
  background: linear-gradient(115deg, #e5cb91, #c9a15d 60%, #e5cb91);
  border-color: var(--accent);
  color: var(--deep);
}
.hero-band .compound span { background: var(--deep); color: var(--accent); }
.hero-band .compound:hover { background: #ead29f; }
.hero-band .secondary { border-color: #ae9360; color: var(--white); }
.hero-band .secondary:hover { background: #2b261e; }
.portfolio-home .nav :focus-visible, .hero-band :focus-visible, .work-section :focus-visible { outline-color: var(--accent); }
.specialty { background: linear-gradient(100deg, #c6a264, #e4ca92 55%, #c6a264); }
.work-section { background: #171614; color: var(--white); }
.work-section .eyebrow, .work-section h2 span { color: var(--accent); }
.work-section .lead, .work-section .work-meta p { color: #d5cec0; }
.work-section .work-tile { background: #24211c; }
.work-section .work-link { color: var(--white); border-color: #524632; }
.work-section .work-link:hover, .work-section .work-link:focus-visible { border-color: var(--accent); }
.work-arrow { background: var(--accent); color: var(--deep); }
.work-link:hover .work-arrow { background: #edd6a5; }
.work-cover { --cover: #eadcc4; --screen: #624820; }
.work-cover.support-queue { --cover: #d4e1d8; --screen: #245749; }
.work-cover.access-review { --cover: #e8d3bd; --screen: #69452e; }
