/* Design 1 — Monochrome Editorial: pure black & white, oversized type, serif italics. */
:root {
  --black: #0a0a0a;
  --white: #fafafa;
  --grey: #6b6b6b;
  --line: rgba(10, 10, 10, .14);
  --pad: clamp(20px, 4vw, 56px);
  --sans: "Inter Tight", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ok: #fafafa;
  --err: #ff8a80;
}

body { font-family: var(--sans); background: var(--white); color: var(--black); font-size: 17px; line-height: 1.6; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
::selection { background: var(--black); color: var(--white); }

.label { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 45;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  color: var(--black); background: rgba(250, 250, 250, .86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, padding .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); padding-block: 12px; }
body.menu-open .site-header { background: transparent; color: var(--white); border-color: transparent; }
.brand { font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.brand sup { font-size: 10px; }
.desktop-nav { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px; background: currentColor; transition: right .3s ease; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { right: 0; }
.header-cta { padding: 9px 18px; border: 1px solid currentColor; border-radius: 99px; font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.header-cta:hover { background: var(--black); color: var(--white); }
.mobile-nav { background: var(--black); color: var(--white); }
.mobile-nav a { font-size: clamp(36px, 10vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
@media (max-width: 960px) { .header-cta { display: none; } }

/* Hero */
.hero { min-height: 100vh; padding: 110px var(--pad) 48px; display: flex; flex-direction: column; }
.hero-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--black); }
.hero-name {
  margin: clamp(24px, 4vh, 48px) 0 clamp(24px, 4vh, 48px);
  font-size: clamp(64px, 12.4vw, 240px); font-weight: 800; line-height: .84; letter-spacing: -.065em;
  text-transform: uppercase; white-space: nowrap;
}
.hero-name em { text-transform: none; letter-spacing: -.03em; font-size: 1.05em; }
.hero-bottom { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: end; margin-top: auto; }
.hero-photo { margin: 0; aspect-ratio: 4/5; overflow: hidden; max-height: 380px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: grayscale(1) contrast(1.1); transition: filter .6s ease, transform .8s ease; }
.hero-photo:hover img { filter: grayscale(0); transform: scale(1.03); }
.lead { font-size: clamp(20px, 2vw, 28px); line-height: 1.3; letter-spacing: -.01em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stats { display: grid; gap: 14px; }
.stats li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.stats strong { font-size: clamp(32px, 3.2vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stats span { font-size: 13px; color: var(--grey); text-align: right; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 99px; font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid var(--black); transition: transform .2s ease, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--black); color: var(--white); }
.btn-solid:hover { background: var(--white); color: var(--black); }
.btn-line { background: transparent; }
.btn-line:hover { background: var(--black); color: var(--white); }
.btn-white { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-white:hover { background: transparent; color: var(--white); }

/* Marquee */
.marquee { overflow: hidden; background: var(--black); color: var(--white); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-size: clamp(22px, 3vw, 40px); font-weight: 600; letter-spacing: -.02em; padding: 0 28px; white-space: nowrap; }
.marquee span::after { content: "✦"; margin-left: 56px; font-size: .6em; vertical-align: middle; }

/* Sections */
.section { padding: clamp(80px, 11vw, 160px) var(--pad); }
.section.invert { background: var(--black); color: var(--white); --line: rgba(250, 250, 250, .16); --grey: #9a9a9a; }
.section-head { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; margin-bottom: clamp(40px, 6vw, 80px); align-items: start; }
.section-head h2 { font-size: clamp(40px, 6.5vw, 104px); font-weight: 700; line-height: .95; letter-spacing: -.045em; }

/* Services */
.service-list { border-top: 1px solid var(--black); }
.service-list li {
  position: relative; display: grid; grid-template-columns: 1fr 1.6fr 1.4fr; gap: 24px; align-items: center;
  padding: 30px 16px; border-bottom: 1px solid var(--black); overflow: hidden; isolation: isolate;
  transition: color .35s ease, padding .35s ease;
}
.service-list li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--black); transform: scaleY(0); transform-origin: bottom; transition: transform .4s cubic-bezier(.7,0,.2,1); }
.service-list li:hover { color: var(--white); padding-left: 32px; }
.service-list li:hover::before { transform: scaleY(1); }
.service-list .num { font-family: var(--serif); font-style: italic; font-size: 28px; }
.service-list h3 { font-size: clamp(24px, 2.8vw, 40px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.service-list p { color: inherit; opacity: .7; font-size: 15px; }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 5vw, 72px) clamp(20px, 3vw, 40px); }
.work:nth-child(even) { margin-top: clamp(0px, 8vw, 120px); }
.work-img { aspect-ratio: 4/3; overflow: hidden; background: #1a1a1a; }
.work-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1); transition: filter .5s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.work:hover .work-img img { filter: grayscale(0); transform: scale(1.05); }
.work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.work-meta h3 { font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.03em; }
.work-meta span { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.work p { margin-top: 10px; color: var(--grey); }

/* Resume */
.tab-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tab-button { padding: 12px 24px; border: 1px solid var(--black); border-radius: 99px; background: none; cursor: pointer; font-weight: 500; transition: background .2s, color .2s; }
.tab-button:hover, .tab-button.active { background: var(--black); color: var(--white); }
.row { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--black); }
.row:last-child { border-bottom: 1px solid var(--black); }
.when { font-family: var(--serif); font-style: italic; font-size: 24px; }
.row h3 { font-size: clamp(26px, 3vw, 44px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.role { margin: 6px 0 12px; font-weight: 600; }
.row p:not(.role) { color: var(--grey); max-width: 680px; }
.skill-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.skill-cols h3 { font-size: 22px; font-weight: 700; padding-bottom: 12px; border-bottom: 2px solid var(--black); margin-bottom: 8px; }
.skill-cols li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); }
.skill-cols b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 20px; line-height: 1; }

/* Testimonials */
.quotes { position: relative; }
.quotes blockquote { margin: 0; font-size: clamp(30px, 4.6vw, 72px); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; max-width: 1200px; }
.cite { margin-top: 32px; color: var(--grey); }
.cite b { color: var(--black); }
.quote-nav { display: flex; gap: 10px; margin-top: 40px; }
.quote-nav button { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--black); background: none; cursor: pointer; font-size: 20px; transition: background .2s, color .2s; }
.quote-nav button:hover { background: var(--black); color: var(--white); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.contact-title { margin: 24px 0 36px; font-size: clamp(48px, 7vw, 120px); font-weight: 800; line-height: .92; letter-spacing: -.05em; }
.mail-link { display: inline-block; font-size: clamp(20px, 2.2vw, 32px); border-bottom: 1px solid; padding-bottom: 4px; transition: opacity .2s; }
.mail-link:hover { opacity: .6; }
.muted { margin-top: 20px; color: var(--grey); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; align-content: start; }
.field { position: relative; }
.full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; padding: 26px 0 10px; border: 0; border-bottom: 1px solid rgba(250,250,250,.35);
  background: transparent; outline: none; resize: vertical; transition: border-color .2s;
}
.field textarea { min-height: 120px; }
.field input:focus, .field textarea:focus { border-color: var(--white); }
.field label { position: absolute; left: 0; top: 24px; color: #9a9a9a; pointer-events: none; transition: all .2s ease; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--white); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }

/* Footer */
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 28px var(--pad); background: var(--black); color: #9a9a9a; border-top: 1px solid rgba(250,250,250,.16); font-size: 14px; }
.site-footer a:hover { color: var(--white); }

/* Responsive */
@media (max-width: 960px) {
  .hero-bottom { grid-template-columns: 1fr 1fr; }
  .hero-intro { grid-column: 1 / -1; order: -1; }
  .section-head { grid-template-columns: 1fr; }
  .service-list li { grid-template-columns: 60px 1fr; }
  .service-list p { grid-column: 2; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-photo { max-height: 420px; }
  .hero-name { white-space: normal; font-size: clamp(64px, 24vw, 140px); }
  .hero-name em { display: block; }
  .work-grid { grid-template-columns: 1fr; }
  .work:nth-child(even) { margin-top: 0; }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .contact-form { grid-template-columns: 1fr; }
}
