:root {
    --paper: #f3efe6;
    --paper-deep: #e8e0d2;
    --ink: #17211f;
    --muted: #59635e;
    --green: #1e463d;
    --mint: #cce0d4;
    --coral: #e96c57;
    --line: rgba(23, 33, 31, 0.18);
    --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
    position: fixed;
    z-index: 100;
    top: 1rem;
    left: 1rem;
    padding: .65rem 1rem;
    background: var(--ink);
    color: #fff;
    transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 50%;
    display: flex;
    width: min(calc(100% - 80px), var(--max-width));
    height: 104px;
    align-items: center;
    justify-content: space-between;
    transform: translateX(-50%);
    border-bottom: 1px solid var(--line);
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-decoration: none;
}

.wordmark-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--ink);
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 1rem;
    font-style: italic;
}

.nav { display: flex; gap: 2.25rem; }
.nav a {
    position: relative;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-decoration: none;
    text-transform: uppercase;
}
.nav a::after {
    position: absolute;
    bottom: -.35rem;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}
.nav a:hover::after,
.nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.hero {
    position: relative;
    display: grid;
    min-height: 760px;
    grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
    align-items: center;
    gap: 4rem;
    padding: 150px max(40px, calc((100vw - var(--max-width)) / 2)) 80px;
    overflow: hidden;
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(23, 33, 31, .16) .8px, transparent .8px);
    background-size: 25px 25px;
    content: "";
    mask-image: linear-gradient(to right, transparent 7%, black 46%, transparent 84%);
    opacity: .45;
}

.eyebrow,
.section-number,
.project-kicker {
    margin: 0;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: .7rem; margin-bottom: 2rem; }
.eyebrow span { width: 34px; height: 1px; background: currentColor; }

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-family: Georgia, "Yu Mincho", YuMincho, serif;
    font-size: clamp(3.4rem, 6.2vw, 6.6rem);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: 1.12;
}

.hero h1 em { position: relative; color: var(--coral); font-weight: inherit; }
.hero h1 em::after {
    position: absolute;
    right: -.04em;
    bottom: .02em;
    left: 0;
    height: .1em;
    border-radius: 50%;
    background: currentColor;
    content: "";
    opacity: .35;
    transform: rotate(-2deg);
}

.hero-lead { margin: 2.25rem 0; color: var(--muted); font-size: 1rem; line-height: 2; }
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 1.1rem;
    padding-bottom: .35rem;
    border-bottom: 1px solid var(--ink);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
}
.text-link span { font-size: 1.1rem; transition: transform 180ms ease; }
.text-link:hover span { transform: translate(4px, 4px); }

.hero-art { position: relative; min-height: 480px; }
.orbit { position: absolute; border: 1px solid var(--ink); border-radius: 50%; }
.orbit-large { inset: 7% 3% 2% 6%; }
.orbit-small { top: 23%; right: 18%; bottom: 18%; left: 22%; border-color: var(--coral); transform: rotate(-22deg); }
.hero-art::before,
.hero-art::after { position: absolute; border-radius: 50%; content: ""; }
.hero-art::before { top: 4%; right: 14%; width: 22px; height: 22px; background: var(--coral); box-shadow: -295px 350px 0 10px var(--green); }
.hero-art::after { top: 35%; left: 12%; width: 190px; height: 190px; background: var(--mint); filter: blur(1px); }

.hero-stamp {
    position: absolute;
    z-index: 1;
    top: 28%;
    right: 4%;
    display: grid;
    width: 170px;
    height: 170px;
    place-content: center;
    justify-items: center;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: .65rem;
    letter-spacing: .2em;
    transform: rotate(9deg);
}
.hero-stamp strong { margin: -.15rem 0; color: var(--mint); font-family: Georgia, serif; font-size: 4.2rem; font-weight: 400; line-height: 1; }
.hero-note { position: absolute; z-index: 1; bottom: 2%; left: 6%; font-size: .68rem; font-weight: 700; letter-spacing: .14em; line-height: 1.55; transform: rotate(-7deg); }
.hero-index { position: absolute; right: max(40px, calc((100vw - var(--max-width)) / 2)); bottom: 24px; margin: 0; font-size: .65rem; letter-spacing: .14em; }

.section { padding: 120px max(40px, calc((100vw - var(--max-width)) / 2)); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 4rem; border-bottom: 1px solid var(--line); padding-bottom: 1.4rem; }
.section-heading h2,
.about h2 { margin: 0; font-family: Georgia, "Yu Mincho", YuMincho, serif; font-size: clamp(2.6rem, 5vw, 5rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.15; }

.work { background: #fbf8f2; }
.project { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.project-visual { position: relative; display: flex; min-height: 620px; align-items: center; justify-content: center; border-radius: 2px; background: #dce8e0; overflow: hidden; }
.project-visual::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px); background-size: 48px 48px; content: ""; opacity: .55; }
.project-glow { position: absolute; width: 450px; height: 450px; border-radius: 50%; background: rgba(255,255,255,.6); filter: blur(2px); }
.phone { position: absolute; z-index: 1; width: 32%; border-radius: 7% / 3.3%; box-shadow: 0 35px 55px rgba(21,49,40,.22); }
.phone-left { left: 7%; transform: translateY(30px) rotate(-8deg); }
.phone-center { z-index: 2; width: 35%; }
.phone-right { right: 7%; transform: translateY(30px) rotate(8deg); }

.project-title-row { display: flex; align-items: center; gap: 1.15rem; }
.project-icon { width: 66px; height: 66px; border-radius: 16px; }
.project-kicker { margin-bottom: .3rem; color: var(--muted); }
.project h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(3.2rem, 5vw, 5.2rem); font-weight: 400; letter-spacing: -.05em; line-height: 1; }
.project-summary { margin: 2.3rem 0; font-size: 1rem; line-height: 2.05; }
.project-facts { margin: 0; border-top: 1px solid var(--line); }
.project-facts div { display: grid; grid-template-columns: 70px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.project-facts dt { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.project-facts dd { margin: 0; font-size: .84rem; line-height: 1.7; }
.project-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.project-tags span { padding: .35rem .75rem; border: 1px solid var(--line); border-radius: 999px; font-size: .68rem; font-weight: 600; letter-spacing: .06em; }

.approach { background: var(--green); color: #f5f1e8; }
.section-heading-light { border-color: rgba(255,255,255,.22); }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.approach-grid article { min-height: 350px; padding: 2rem; border-right: 1px solid rgba(255,255,255,.22); }
.approach-grid article:first-child { padding-left: 0; }
.approach-grid article:last-child { border-right: 0; }
.approach-number { margin: 0 0 5rem; color: var(--mint); font-family: Georgia, serif; font-size: 1.35rem; font-style: italic; }
.approach-grid h3 { margin: 0 0 1rem; font-family: Georgia, "Yu Mincho", YuMincho, serif; font-size: 1.55rem; font-weight: 400; }
.approach-grid article > p:last-child { max-width: 320px; margin: 0; color: rgba(245,241,232,.72); font-size: .87rem; line-height: 2; }

.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: 8vw; align-items: end; }
.about .section-number { margin-bottom: 2rem; }
.about-body { margin: 0; color: var(--muted); line-height: 2.2; }

footer { display: grid; min-height: 320px; grid-template-columns: auto 1fr auto; align-items: end; gap: 2rem; margin: 0 40px; padding: 60px max(0px, calc((100vw - var(--max-width)) / 2 - 40px)); border-top: 1px solid var(--line); }
.footer-mark { font-family: Georgia, serif; font-size: 8rem; font-style: italic; line-height: .72; }
.footer-copy p,
.copyright { margin: 0; font-size: .66rem; font-weight: 700; letter-spacing: .14em; }
.footer-copy p:last-child { color: var(--muted); }

@media (max-width: 900px) {
    .hero { min-height: 720px; grid-template-columns: 1fr; }
    .hero-art { position: absolute; z-index: -1; right: -100px; bottom: -40px; width: 440px; opacity: .52; }
    .project { grid-template-columns: 1fr; }
    .project-visual { min-height: min(70vw, 620px); }
    .approach-grid { grid-template-columns: 1fr; }
    .approach-grid article,
    .approach-grid article:first-child { min-height: auto; padding: 2rem 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
    .approach-grid article:last-child { border-bottom: 0; }
    .approach-number { margin-bottom: 2.5rem; }
    .about { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .site-header { width: calc(100% - 40px); height: 78px; }
    .wordmark { font-size: .66rem; }
    .wordmark-mark { width: 30px; height: 30px; }
    .nav { gap: 1rem; }
    .nav a { font-size: .6rem; }
    .nav a:last-child { display: none; }
    .hero { min-height: 690px; padding: 120px 20px 64px; }
    .hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
    .hero-lead br { display: none; }
    .hero-art { right: -180px; bottom: -115px; }
    .hero-index { right: 20px; }
    .section { padding: 80px 20px; }
    .section-heading { align-items: start; flex-direction: column; gap: .75rem; margin-bottom: 2.5rem; }
    .project-visual { min-height: 440px; }
    .phone { width: 39%; }
    .phone-center { width: 43%; }
    .phone-left { left: -1%; }
    .phone-right { right: -1%; }
    .project h3 { font-size: 3.7rem; }
    .project-facts div { grid-template-columns: 58px 1fr; }
    .about { gap: 2.5rem; }
    footer { min-height: 270px; grid-template-columns: 1fr; gap: 1.2rem; margin: 0 20px; padding: 50px 0; }
    .footer-mark { font-size: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
