:root {
  color-scheme: light;
  --paper: #f8f9f6;
  --ink: #202e35;
  --text: #44535a;
  --green: #446855;
  --pale: #e6ece4;
  --mint: #c8d9cd;
  --line: #d7dfd7;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p, ul { margin: 0; }
::selection { background: #d1e0d3; color: #182b22; }
:focus-visible { outline: 3px solid #456e59; outline-offset: 5px; }
.shell { width: min(1120px, calc(100% - clamp(2.5rem, 10vw, 9rem))); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: absolute; top: 10px; left: 10px; z-index: 9; background: var(--ink); color: white; padding: .6rem 1rem; }
.footer-inner { display: flex; align-items: center; }
nav { display: flex; align-items: center; gap: clamp(1.25rem, 3.2vw, 3rem); }
nav a { padding: .55rem 0; font-size: .9rem; }
nav a:hover, footer a:hover { color: var(--green); text-decoration: underline; text-underline-offset: .3em; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: clamp(1.25rem, 2.2vw, 1.9rem);
  padding-block: clamp(1.65rem, 3.5vw, 3.2rem) clamp(3.4rem, 6vw, 5.6rem);
}
@media (min-width: 60rem) {
  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: end;
    column-gap: clamp(2.5rem, 4.25vw, 4rem);
    padding-bottom: clamp(2.25rem, 3.25vw, 3.25rem);
  }
}
figcaption { margin-top: .55rem; color: #536159; font-size: .72rem; line-height: 1.5; }
h1, h3, .row-title, .writing-title { font-family: var(--serif); font-weight: 400; }
h1 { margin: 0 0 1.1rem; font-size: clamp(3.4rem, 5.65vw, 5.05rem); line-height: 1.06; letter-spacing: -.057em; }
.hero-identity > h1 {
  display: grid;
  justify-items: start;
  gap: .04em;
  margin: 0;
  font-size: clamp(2.75rem, 1.35rem + 6.8vw, 7rem);
  line-height: 1.04;
  letter-spacing: -.05em;
}
.hero-greeting { font-size: 1.1em; }
.hero-role { margin-top: 1.35rem; color: var(--green); font: 600 clamp(1.05rem, .95rem + .25vw, 1.2rem)/1.45 var(--sans); text-wrap: pretty; }
.hero-specialties { margin-top: .4rem; color: var(--text); font-size: .85rem; line-height: 1.6; text-wrap: pretty; }
.hero-copy > p { max-width: 56ch; font: 400 clamp(1rem, .93rem + .22vw, 1.1rem)/1.65 var(--sans); color: var(--text); text-wrap: pretty; }
.hero-copy > p + p { margin-top: .8rem; }
.hero-copy > .hero-value { margin-top: 1.4rem; }
.text-link { display: inline-flex; align-items: baseline; gap: .55rem; color: var(--ink); font-weight: 620; font-size: .9rem; line-height: 1.6; }
.text-link:hover { color: var(--green); text-decoration: underline; text-underline-offset: .29em; }
.text-link span[aria-hidden], footer a span { font-size: 1.06em; font-weight: 400; }
.hero-link { margin-top: 1.65rem; padding-bottom: .12rem; border-bottom: 1px solid #7b9684; }
.hero-link:hover { text-decoration: none; border-color: var(--green); }
.work-section { padding-block: .15rem clamp(3.65rem, 7vw, 6.2rem); }
.section-label { display: flex; gap: .76rem; align-items: center; color: var(--green); font: 660 .72rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .17em; }
.section-label::before { content: ""; width: 2.4rem; height: 1px; background: #789781; }
.feature { display: grid; grid-template-columns: minmax(0,.87fr) minmax(0,1.13fr); gap: clamp(3rem, 7.5vw, 7.5rem); align-items: center; margin-top: clamp(1.8rem, 3.7vw, 3.3rem); }
.feature + .feature { margin-top: clamp(3.8rem, 7.7vw, 6rem); }
.feature.reversed { grid-template-columns: minmax(0,1.13fr) minmax(0,.87fr); }
.reversed .feature-copy { grid-area: 1 / 2; }
.reversed .feature-figure { grid-area: 1 / 1; }
.project-context { color: var(--green); font-size: .79rem; font-weight: 600; line-height: 1.5; }
.project-context span { padding-inline: .18em; }
.feature h3 { margin: .48rem 0 .84rem; color: var(--ink); font-size: clamp(2.05rem, 3.4vw, 3rem); line-height: 1.09; letter-spacing: -.043em; }
.feature-copy > p:not(.project-context), .about-copy { color: var(--text); font-size: 1rem; line-height: 1.68; }
.methods { display: flex; flex-wrap: wrap; gap: .42rem; list-style: none; padding: 0; margin: 1.05rem 0 1.35rem; }
.methods li { padding: .18rem .69rem .22rem; border-radius: 2rem; background: var(--pale); color: #365443; font-size: .73rem; line-height: 1.6; }
.file-type { color: #5c6e60; font-size: .63rem; letter-spacing: .065em; }
.dining-art, .guitar-frame { width: 100%; aspect-ratio: 1.59; border: 1px solid #acbeb0; border-radius: 12px; overflow: hidden; }
.dining-art { display: flex; align-items: center; justify-content: center; gap: clamp(.9rem, 2.8vw, 2.7rem); background: var(--mint); padding: .7rem 1rem; }
.app-example { display: flex; flex-direction: column; align-items: center; width: 24%; min-width: 0; }
.example-label { flex: none; padding-bottom: .34rem; color: #2e4939; font-size: .69rem; font-weight: 600; line-height: 1.3; }
.phone { display: block; width: 100%; aspect-ratio: 1280 / 2781; overflow: hidden; border: clamp(2px, .29vw, 4px) solid #35443d; border-radius: clamp(11px, 1.25vw, 20px); background: #fff; box-shadow: 0 3px 9px rgb(30 53 38 / .14); }
.phone img { width: 100%; height: 100%; object-fit: contain; }
.guitar-frame { display: block; padding: .55rem; background: #d7ddd2; }
.guitar-frame img { width: 100%; height: 100%; border-radius: 6px; object-fit: cover; object-position: 50% 49%; }
.more-work { margin-top: clamp(4rem, 7.5vw, 6.4rem); }
.list-title { padding-bottom: 1rem; font-size: 1.9rem; line-height: 1.2; letter-spacing: -.036em; }
.project-row { display: grid; grid-template-columns: minmax(0,1fr) 11.5rem 1.6rem; column-gap: 1rem; align-items: center; padding: 1.3rem .08rem 1.4rem; border-top: 1px solid var(--line); }
.project-row:last-child { border-bottom: 1px solid var(--line); }
.row-copy, .row-title, .row-note { display: block; }
.row-title { font-size: clamp(1.35rem, 2.1vw, 1.7rem); line-height: 1.2; letter-spacing: -.028em; }
.row-note { max-width: 64ch; margin-top: .32rem; color: var(--text); font-size: .86rem; }
.row-type { color: var(--green); font-size: .76rem; }
.row-arrow { justify-self: end; font-size: 1.35rem; color: var(--green); }
.project-row:hover .row-title, .writing-entry:hover .writing-title, .writing-entry:focus-visible .writing-title { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.writing-section { background: #edf1eb; border-block: 1px solid var(--line); padding-block: clamp(2.7rem, 5.7vw, 5rem); }
.writing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: clamp(1.6rem, 3.3vw, 3.25rem); margin-top: 1.85rem; }
.writing-entry { display: block; min-width: 0; padding-block: 1rem .3rem; border-top: 1px solid #a8baab; }
.writing-entry .project-context { display: flex; justify-content: space-between; gap: .75rem; align-items: baseline; }
.writing-entry .writing-arrow { padding: 0; font-size: 1rem; line-height: 1; }
.writing-title { margin-top: .55rem; font-size: clamp(1.55rem, 2.5vw, 2.15rem); line-height: 1.13; letter-spacing: -.035em; text-wrap: balance; }
.writing-summary { margin-top: .65rem; color: var(--text); font-size: .95rem; line-height: 1.6; }
.writing-date { display: block; margin-top: .6rem; color: var(--text); font: 400 .76rem/1.5 var(--sans); }
.writing-archive-link { margin-top: clamp(1.65rem, 3vw, 2.25rem); padding-bottom: .12rem; border-bottom: 1px solid #7b9684; }
.about, .contact-section { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1fr); gap: clamp(2.5rem, 8vw, 7rem); padding-block: clamp(3.4rem, 7vw, 6.4rem); }
.about h1 { margin: 1.15rem 0 0; font-size: clamp(2.25rem, 3.4vw, 3rem); line-height: 1.14; letter-spacing: -.04em; }
.about-name { color: var(--green); margin-top: .5rem; }
.about-portrait { width: min(100%, 13.75rem); aspect-ratio: 4 / 5; margin-top: 1.3rem; overflow: hidden; border-radius: 4px; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; transform: scale(1.22); transform-origin: 50% 10%; }
.about-copy p + p { margin-top: .85rem; }
.contact-section { align-items: start; border-top: 1px solid var(--line); padding-block: clamp(2.4rem, 5vw, 4.2rem); }
.contact-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.75rem; margin-top: 1rem; }
.contact-links a { overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: #789781; text-underline-offset: .25em; }
footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 77px; justify-content: space-between; color: var(--text); font-size: .78rem; }
@media (max-width: 800px) {
  .shell { width: min(100% - 2.7rem, 700px); }
  h1 { font-size: clamp(2.65rem, 5.6vw, 3.4rem); }
  .hero-copy > p { font-size: 1rem; }
  .feature, .feature.reversed { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.8rem; }
  .feature h3 { font-size: 2.08rem; }
  .dining-art, .guitar-frame { aspect-ratio: 1.26; }
  .project-row { grid-template-columns: minmax(0,1fr) 8rem 1.5rem; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 4.7rem; }
  .shell { width: calc(100% - 2.35rem); }
  nav { gap: clamp(.7rem, 3.3vw, 1.3rem); }
  nav a { font-size: .81rem; }
  .hero { padding-block: 1.75rem 3.3rem; }
  h1 { font-size: clamp(2.8rem, 9.8vw, 3.65rem); margin-bottom: .82rem; }
  .hero-link { margin-top: 1.12rem; }
  .feature, .feature.reversed { grid-template-columns: 1fr; gap: 1.2rem; margin-top: 1.8rem; }
  .feature-copy, .reversed .feature-copy { grid-area: 2 / 1; }
  .feature-figure, .reversed .feature-figure { grid-area: 1 / 1; }
  .feature + .feature { margin-top: 3.2rem; }
  .dining-art, .guitar-frame { aspect-ratio: 1.5; }
  .feature h3 { margin-block: .34rem .62rem; }
  .methods { margin-block: .85rem 1rem; }
  .list-title { font-size: 1.75rem; }
  .project-row { grid-template-columns: minmax(0,1fr) 1.5rem; row-gap: .45rem; }
  .row-type { grid-row: 2; font-size: .7rem; }
  .row-arrow { grid-area: 1 / 2; }
  .writing-grid, .about, .contact-section { grid-template-columns: 1fr; gap: 1.8rem; }
  .about, .contact-section { gap: 1.3rem; }
  .about h1 { margin-top: .85rem; }
  .about-portrait { width: min(11rem, 56vw); margin-top: 1rem; }
  .footer-inner { min-height: 64px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.contact-intro > p { margin-top: 1.1rem; color: var(--text); }
.contact-form, .contact-form label { display: grid; }
.contact-form { gap: 1rem; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-form label { gap: .4rem; font-size: .92rem; font-weight: 600; }
.contact-form input:not([hidden]), .contact-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #8d9b92;
  border-radius: 4px;
  padding: .65rem .8rem;
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.5 var(--sans);
}
.contact-form textarea { min-height: 7.5rem; resize: vertical; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem 1rem; }
.contact-form button {
  padding: .7rem 1.2rem;
  border: 0;
  border-radius: 4px;
  background: var(--green);
  color: white;
  font: 600 .95rem/1.5 var(--sans);
  cursor: pointer;
}
.contact-form button:hover { background: #35523f; }
.contact-form button:disabled { cursor: wait; opacity: .75; }
.contact-service { color: var(--text); font-size: .8rem; }
#contact-status { margin: 0; color: var(--ink); font-size: .92rem; }
#contact-status:empty { margin-top: -1rem; }
@media (max-width: 720px) { .contact-fields { grid-template-columns: 1fr; } }
