@font-face {
    font-family: Studio Roboto;
    src: url('../font/roboto-regular-webfont.woff') format('woff');
    font-display: swap;
}
@font-face {
    font-family: Studio Roboto;
    src: url('../font/roboto-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: Studio Aleo;
    src: url('../font/aleo-italic-webfont.woff') format('woff');
    font-style: italic;
    font-display: swap;
}

:root {
    --green: #182c27;
    --paper: #f5f4ef;
    --ink: #202427;
    --yellow: #ffbf00;
    --sage: #a3ada8;
    --muted: #4d5a53;
    --line: #cbd1c8;
    --work: #e9ece4;
    --white: #fff;
    --sans: 'Studio Roboto', system-ui, sans-serif;
    --serif: 'Studio Aleo', Georgia, serif;
    --content: 1360px;
    --gutter: clamp(20px, 5vw, 80px);
    --section: clamp(58px, 8vw, 118px);
    --gap: clamp(24px, 3vw, 48px);
    --header: 78px;
    --ease: 220ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 15px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.6vw, 4.6rem); }
ul { list-style: none; padding: 0; margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #926200; outline-offset: 4px; }
.studio-hero :focus-visible, .studio-contact :focus-visible { outline-color: var(--yellow); }
.studio-wrap { width: min(calc(100% - 2 * var(--gutter)), var(--content)); margin-inline: auto; }
.studio-section { padding-block: var(--section); }
.studio-label { font: 700 .75rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.studio-skip { position: fixed; top: 10px; left: 10px; z-index: 10; background: var(--yellow); padding: .7rem 1rem; transform: translateY(-160%); }
.studio-skip:focus { transform: none; }

.studio-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.studio-header-row { min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.studio-logo { display: inline-block; width: 110px; flex: none; }
.studio-nav ul { display: flex; gap: clamp(12px, 2vw, 34px); align-items: center; }
.studio-nav a { display: block; padding-block: 10px; font-size: .9rem; white-space: nowrap; border-bottom: 2px solid transparent; transition: border-color var(--ease); }
.studio-nav a:hover, .studio-nav a[aria-current] { border-color: var(--yellow); }
.studio-nav a[aria-current] { font-weight: 700; }
.studio-menu { background: none; border: 1px solid var(--line); color: var(--green); min-height: 44px; padding: .5rem .8rem; font: 700 .9rem var(--sans); cursor: pointer; align-items: center; gap: 10px; }
.studio-menu span { display: inline-block; width: 14px; height: 8px; border-block: 1px solid currentColor; }
.studio-menu[aria-expanded="true"] span { height: 1px; border-bottom: 0; }

.studio-hero, .studio-contact { background: var(--green); color: var(--paper); }
.studio-hero-grid { display: grid; grid-template-columns: 1fr .86fr; gap: var(--gap); align-items: center; min-height: min(720px, 76svh); padding-block: clamp(44px, 6vw, 92px); }
.studio-greeting { min-height: 4.55rem; color: var(--sage); animation: studio-enter 550ms ease both; }
.studio-greeting p { color: var(--yellow); font-size: clamp(1.1rem, 2.4vw, 1.6rem); font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.studio-greeting span { font-size: .82rem; }
.studio-author { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #d9ded4; }
.studio-author::before { content: ''; width: 19px; height: 1px; background: var(--yellow); }
.studio-hero h1 { font-size: clamp(3.15rem, 7.8vw, 8.05rem); line-height: .94; letter-spacing: -.068em; }
.studio-hero h1 em { font: italic 1em/.94 var(--serif); letter-spacing: -.065em; color: #c3d0b7; }
.studio-lead { max-width: 46ch; margin-top: 24px; color: #d9ded4; font-size: clamp(1rem, 1.4vw, 1.17rem); }
.studio-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.studio-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; padding: .75rem 1rem; border: 1px solid var(--yellow); background: var(--yellow); color: var(--green); font-size: .9rem; font-weight: 700; transition: background var(--ease), color var(--ease), border-color var(--ease); }
.studio-button:hover { background: #ffda63; border-color: #ffda63; }
.studio-button-outline { background: transparent; color: var(--paper); border-color: var(--sage); }
.studio-button-outline:hover { color: var(--green); }
.studio-tree { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 1; border: 1px solid #566b60; }
.studio-tree::before, .studio-tree::after { content: ''; position: absolute; z-index: -1; border: 1px solid #52685e; border-radius: 50%; inset: 8%; }
.studio-tree::after { inset: 18%; }
.studio-tree img { width: 73%; }
.studio-tree { background-image: linear-gradient(#52685e, #52685e), linear-gradient(90deg, #52685e, #52685e); background-size: 1px 100%, 100% 1px; background-repeat: no-repeat; background-position: center; }

.studio-quote { background: var(--work); padding-block: clamp(46px, 6.8vw, 96px); }
.studio-quote-grid { display: grid; grid-template-columns: auto 1fr; gap: 20px clamp(12px, 4vw, 70px); max-width: 1020px; }
.studio-quote-mark { font: 6rem/.85 Georgia, serif; color: var(--green); }
.studio-quote blockquote { font: italic clamp(1.5rem, 3.4vw, 3.15rem)/1.2 var(--serif); color: var(--green); }
.studio-quote figcaption { grid-column: 2; color: var(--muted); font-weight: 700; }
.studio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.studio-intro { border-top: 1px solid var(--line); padding-top: 25px; display: flex; align-items: flex-start; flex-direction: column; }
.studio-intro h2 { font-size: clamp(1.5rem, 2.6vw, 2.5rem); }
.studio-intro h2::before { content: ''; display: block; width: 22px; height: 3px; margin-bottom: 18px; background: var(--yellow); }
.studio-intro p { color: var(--muted); margin: 14px 0 22px; }
.studio-intro a { margin-top: auto; }
.studio-text-link { display: inline-flex; align-items: baseline; gap: 9px; width: fit-content; color: var(--green); font-size: .94rem; font-weight: 700; border-bottom: 1px solid currentColor; transition: border-color var(--ease); }
.studio-text-link:hover { border-color: #926200; }
.studio-text-link span { transition: transform var(--ease); }
.studio-text-link:hover span { transform: translate(2px, -2px); }

.studio-work { background: var(--work); }
.studio-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px var(--gap); margin-bottom: clamp(24px, 4vw, 54px); }
.studio-section-heading h2 span { color: #926200; }
.studio-project { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.studio-project-image { display: block; overflow: hidden; aspect-ratio: 1.8; background: var(--paper); }
.studio-project-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform var(--ease); }
.studio-project:hover img { transform: scale(1.035); }
.studio-project .studio-label { margin-top: 18px; color: var(--muted); }
.studio-project h3 { margin-block: 7px 10px; font-size: clamp(1.35rem, 2.3vw, 2rem); }
.studio-project h3 a:hover { text-decoration: underline; text-underline-offset: .15em; }
.studio-project h3 span { font-size: .7em; }
.studio-project > p:not(.studio-label) { color: var(--muted); }
.studio-project-tech { margin-top: 12px; font-size: .85rem; font-weight: 700; }

.studio-credentials h2 { font-size: clamp(1.7rem, 3.6vw, 3.4rem); margin-bottom: 28px; }
.studio-seals { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 18px 28px; border-block: 1px solid var(--line); padding: 22px 10px; }
.studio-seals img { width: auto; height: clamp(62px, 7.6vw, 100px); }

.studio-contact-grid { padding-block: clamp(44px, 7vw, 102px); display: flex; gap: 24px var(--gap); justify-content: space-between; align-items: center; }
.studio-contact h2 { max-width: 19ch; }
.studio-contact p { color: #d9ded4; margin-top: 15px; }
.studio-contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.studio-contact .studio-button { flex: none; }

.studio-footer { padding-block: 48px 20px; }
.studio-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: start; gap: var(--gap); }
.studio-footer-grid p { margin-top: 10px; max-width: 36ch; color: var(--muted); }
.studio-footer nav ul { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.studio-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.studio-social { display: flex; gap: 8px; }
.studio-social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--green); transition: background var(--ease); }
.studio-social a:hover { background: #355449; }
.studio-social img { width: 30px; }
.studio-copyright { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

@keyframes studio-enter {
    from { opacity: 0; transform: translateY(9px); }
    to { opacity: 1; transform: translateY(0); }
}
.studio-revealed { animation: studio-enter 480ms ease both; }

@media (max-width: 920px) {
    :root { --header: 64px; }
    .studio-header-row { flex-wrap: wrap; gap: 0 10px; }
    .studio-logo { width: 92px; }
    .studio-menu { display: inline-flex; }
    .studio-nav { width: 100%; padding-bottom: 12px; }
    .studio-header:has(.studio-menu:not([hidden])) .studio-nav {
        position: absolute; top: 100%; left: 0; padding: 8px var(--gutter) 15px;
        background: var(--paper); border-bottom: 1px solid var(--line);
        max-height: calc(100dvh - var(--header)); overflow-y: auto;
    }
    .studio-nav.studio-nav-open { animation: studio-enter 180ms ease both; }
    .studio-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 15px; }
    .studio-nav a { min-height: 44px; }
    .studio-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
    .studio-hero-grid { grid-template-columns: 1fr; min-height: auto; }
    .studio-hero h1 { font-size: clamp(3.15rem, 12vw, 5.8rem); }
    .studio-tree { width: min(100%, 360px); margin-inline: auto; }
    .studio-grid, .studio-footer-grid { grid-template-columns: 1fr; }
    .studio-section-heading, .studio-contact-grid { flex-direction: column; align-items: flex-start; }
    .studio-quote-mark { font-size: 3.25rem; }
}
@media (max-width: 390px) {
    .studio-actions { align-items: flex-start; flex-direction: column; }
    .studio-greeting { min-height: 4.25rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
