:root {
  --paper: #f6f0e6;
  --sand: #ece3d3;
  --ink: #1c1915;
  --muted: #5b5348;
  --tomato: #e2552b;
  --butter: #f3d58b;
  --teal: #1d4b47;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1100px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
::selection { background: var(--butter); }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(8px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 19px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); }
.nav { display: flex; align-items: center; gap: 22px; font-size: 16px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.lang { border: 1.5px solid var(--ink); background: transparent; color: var(--ink); border-radius: 999px; padding: 3px 12px; font: inherit; font-size: 14px; cursor: pointer; }
.lang:hover { background: var(--ink); color: var(--paper); }

/* hero */
.hero { padding: 40px 0 64px; overflow-x: clip; }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hello { margin: 0 0 8px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--tomato); }
h1 { margin: 0 0 34px; font-family: var(--serif); font-weight: 600; font-size: clamp(46px, 9vw, 92px); line-height: 1; letter-spacing: -.03em; }
h1 em { font-style: italic; font-weight: 500; position: relative; white-space: nowrap; color: var(--tomato); }
h1 em::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .22em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9c20-8 30 6 50-1s30-6 50 0 30 6 50-1 30-4 46 0' fill='none' stroke='%23e2552b' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.lead { margin: 0 0 30px; max-width: 34em; font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 700; transition: transform .2s, background .2s; }
.btn:hover { background: var(--tomato); transform: rotate(-2deg) scale(1.03); }
.link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--tomato); padding-bottom: 2px; }
.link:hover { color: var(--tomato); }

.photo { position: relative; margin: 0; width: min(78vw, 340px); justify-self: center; }
.photo img { position: relative; z-index: 2; width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 4px solid var(--ink); transform: rotate(-3deg); }
.blob { position: absolute; z-index: 1; inset: -7% -9% -4% 10%; background: var(--butter); border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; transform: rotate(8deg); }
.dot { position: absolute; z-index: 3; width: 56px; height: 56px; border-radius: 50%; background: var(--tomato); right: -4%; top: 4%; }
.photo figcaption { position: absolute; z-index: 4; left: -4%; bottom: 2%; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 16px; font-size: 15px; font-weight: 700; transform: rotate(-5deg); }

/* waves */
.wave { display: block; width: 100%; height: 56px; margin-bottom: -1px; }
.to-sand { fill: var(--sand); background: var(--paper); }
.to-paper { fill: var(--paper); background: var(--sand); }

h2 { margin: 0 0 36px; font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 5.5vw, 54px); line-height: 1.05; letter-spacing: -.02em; }
h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }

/* what I make */
.sand { background: var(--sand); padding: 24px 0 40px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; gap: 4px 28px; padding: 28px 0; border-top: 2px solid var(--ink); transition: padding-left .25s; }
.rows li:last-child { border-bottom: 2px solid var(--ink); }
.rows li:hover { padding-left: 14px; }
.num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--tomato); }
.rows p { color: var(--muted); max-width: 36em; }

/* examples */
.examples { padding: 56px 0 24px; }
.intro { max-width: 34em; margin: -18px 0 34px; color: var(--muted); }
.cases { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.cases li { background: #fff8ec; border: 2px solid var(--ink); border-radius: 22px 22px 22px 6px; padding: 24px 24px 26px; box-shadow: 5px 5px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
.cases li:nth-child(2) { border-radius: 22px 22px 6px 22px; }
.cases li:nth-child(3) { border-radius: 6px 22px 22px 22px; }
.cases li:hover { transform: translate(-2px, -2px) rotate(-.4deg); box-shadow: 8px 8px 0 var(--tomato); }
.cases p { color: var(--muted); }

.own { padding: 56px 0 20px; }
.tag { margin: 0 0 8px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--tomato); }
.own h3 { font-size: clamp(30px, 4.6vw, 44px); margin-bottom: 14px; }
.own p:not(.tag) { font-size: 20px; color: var(--muted); }

.experience { padding: 40px 0 8px; }
.names { font-family: var(--serif); font-weight: 600; font-size: clamp(11px, 3.1vw, 27px); letter-spacing: -.01em; white-space: nowrap; }
.names span { color: var(--tomato); margin: 0 .15em; }
.names .alt { color: inherit; margin: 0; font-weight: 400; font-size: .7em; opacity: .75; }

/* how I work */
.how { padding: 64px 0 72px; }
.flow { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 34px; }
.flow::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 160' preserveAspectRatio='none'%3E%3Cpath d='M15 0C0 40 30 120 15 160' fill='none' stroke='%231c1915' stroke-width='2.5' stroke-dasharray='2 7' stroke-linecap='round'/%3E%3C/svg%3E") center top / 30px 160px repeat-y; opacity: .7; }
.flow li { position: relative; padding-left: 64px; counter-increment: step; }
.flow li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--ink); display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 21px; }
.flow li:nth-child(1)::before { background: var(--butter); }
.flow li:nth-child(2)::before { background: var(--tomato); color: var(--paper); border-color: var(--tomato); }
.flow li:nth-child(3)::before { background: var(--teal); color: var(--paper); border-color: var(--teal); }
.flow li:nth-child(4)::before { background: var(--ink); color: var(--paper); }
.flow p { color: var(--muted); max-width: 30em; }

/* statement */
.statement { background: var(--teal); color: var(--paper); padding: 84px 0; text-align: center; }
.statement p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(30px, 5.4vw, 60px); line-height: 1.12; letter-spacing: -.02em; max-width: 18em; margin-inline: auto; }

/* about */
.about { padding: 84px 0 40px; }
.big { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 3.2vw, 31px); line-height: 1.38; letter-spacing: -.01em; }

/* contact */
.contact { padding: 40px 0 88px; }
.contact h2 { font-size: clamp(48px, 10vw, 110px); line-height: .95; margin-bottom: 18px; color: var(--tomato); }
.contact .wrap > p:not(.small) { color: var(--muted); margin-bottom: 26px; }
.mail { display: inline-block; font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 5vw, 44px); letter-spacing: -.02em; text-decoration: none; border-bottom: 4px solid var(--butter); line-height: 1.15; word-break: break-word; }
.mail:hover { border-color: var(--tomato); }
.small { margin-top: 22px; font-weight: 700; }
.small a { text-decoration: none; border-bottom: 2px solid var(--tomato); }

.foot { border-top: 2px solid var(--ink); padding: 22px 0 28px; font-size: 15px; color: var(--muted); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (min-width: 760px) {
  .cases { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  body { font-size: 19px; }
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .photo { width: min(100%, 380px); justify-self: end; }
  .rows li { grid-template-columns: 70px 1fr 1.2fr; align-items: baseline; padding: 34px 0; }
  .rows li .num { grid-row: 1; }
  .rows li h3 { grid-column: 2; }
  .rows li p { grid-column: 3; }
  .flow { gap: 0; max-width: 780px; margin-inline: auto; }
  .flow::before { left: 50%; margin-left: -15px; }
  .flow li { width: 50%; padding: 0 56px 56px 0; text-align: right; }
  .flow li::before { left: auto; right: -23px; }
  .flow li:nth-child(even) { margin-left: 50%; padding: 0 0 56px 56px; text-align: left; }
  .flow li:nth-child(even)::before { right: auto; left: -23px; }
  .flow p { margin-left: auto; }
  .flow li:nth-child(even) p { margin-left: 0; }
  .wave { height: 80px; }
}
@media (max-width: 600px) { .names { white-space: normal; font-size: clamp(15px, 4.2vw, 20px); line-height: 1.5; } .names .alt { font-size: .75em; } }
@media (max-width: 520px) {
  .brand span { font-size: 17px; }
  .nav { gap: 13px; font-size: 15px; }
  .nav a:nth-child(1), .nav a:nth-child(2) { display: none; }
  .brand { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .btn:hover { transform: none; } }
