:root {
  --bg:     #f8f6f1;
  --bg2:    #f0ede6;
  --ink:    #181614;
  --ink2:   #2a2723;
  --mid:    #6b6560;
  --rule:   #ddd9d0;
  --acc:    #c4622a;
  --white:  #fffef9;
  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Jost', system-ui, sans-serif;
}

*  { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-weight: 300; background: var(--bg); color: var(--ink); line-height: 1.7; font-size: 16px; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ─── LABEL ─── */
.section-label {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .3em; color: var(--acc); display: block; margin-bottom: 16px;
}

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(248,246,241,.97); backdrop-filter: blur(8px); border-color: var(--rule); }
.nav__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; height: 68px;
}
.logo {
  font-family: var(--serif); font-size: .95rem; line-height: 1.2;
  font-weight: 400; color: var(--ink);
}
.logo em { font-style: italic; color: var(--mid); }
.nav__links { display: flex; gap: 32px; }
.nav__links a { font-size: 12px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--mid); transition: color .15s; }
.nav__links a:hover { color: var(--ink); }
.nav__location { font-size: 11px; color: var(--rule); text-align: right; letter-spacing: .08em; }
.nav.scrolled .nav__location { color: var(--mid); }
@media (max-width: 800px) { .nav__links { display: none; } .nav__location { display: none; } .nav__inner { grid-template-columns: 1fr; justify-items: start; } }

/* ─── HERO ─── */
.hero {
  min-height: 100vh; display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  padding-top: 68px;
  background: var(--ink2);
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; top: 0; right: 50%;
  width: 1px; height: 100%;
  background: rgba(255,255,255,.07);
}
.hero__left {
  padding: 80px 60px 80px 40px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-right: 1px solid rgba(255,255,255,.07);
}
.hero__index {
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.22); margin-bottom: 40px; display: block;
  font-weight: 500;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: .95; letter-spacing: -.02em;
  color: var(--white);
}
.hero h1 em { color: rgba(255,255,255,.38); font-style: italic; display: block; margin-top: 8px; }
.hero__right {
  padding: 80px 40px 80px 60px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__sub {
  font-size: 1rem; color: rgba(255,255,255,.5); line-height: 1.85;
  margin-bottom: 40px; max-width: 420px; font-weight: 300;
}
.hero__actions { display: flex; flex-direction: column; gap: 14px; margin-bottom: 56px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  transition: color .15s;
}
.link-arrow:hover { color: var(--white); }
.link-arrow svg { flex-shrink: 0; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(4px); }
.hero__stat-row { display: flex; gap: 0; border-top: 1px solid rgba(255,255,255,.07); }
.hero__stat { flex: 1; padding: 20px 0; border-right: 1px solid rgba(255,255,255,.07); }
.hero__stat:last-child { border-right: none; padding-left: 20px; }
.hero__stat span { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: var(--white); line-height: 1; margin-bottom: 5px; }
.hero__stat small { font-size: 10px; text-transform: uppercase; letter-spacing: .18em; color: rgba(255,255,255,.3); font-weight: 500; }
.hero__rule { grid-column: span 2; height: 1px; background: rgba(255,255,255,.06); }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero::after { display: none; }
  .hero__left { padding: 60px 28px 40px; border-right: none; justify-content: flex-start; }
  .hero__right { padding: 0 28px 60px; }
  .hero__rule { grid-column: span 1; }
}

/* ─── WORK ─── */
.work { background: var(--bg); }
.work__header {
  max-width: 1280px; margin: 0 auto; padding: 80px 40px 48px;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: end; gap: 28px;
  border-bottom: 1px solid var(--rule);
}
.work__header h2 {
  font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 400; letter-spacing: -.02em; color: var(--ink);
}
.work__note-top { font-size: 12px; color: var(--mid); text-align: right; max-width: 200px; line-height: 1.6; align-self: end; }
@media (max-width: 700px) { .work__header { grid-template-columns: 1fr; padding: 60px 28px 32px; } .work__note-top { text-align: left; max-width: none; } }

.project-list { max-width: 1280px; margin: 0 auto; }

.pj {
  display: grid;
  grid-template-columns: 64px 260px 1fr 200px;
  gap: 0;
  border-bottom: 1px solid var(--rule);
  padding: 0;
  align-items: start;
  transition: background .18s;
}
.pj:hover { background: var(--white); }
.pj--alt { background: var(--bg2); }
.pj--alt:hover { background: var(--white); }

.pj__num {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 700; font-style: italic;
  color: var(--rule); line-height: 1; padding: 40px 0 40px 40px;
  align-self: start;
}
.pj__name { padding: 40px 32px; border-right: 1px solid var(--rule); align-self: start; }
.pj__name h3 {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 400;
  color: var(--ink); line-height: 1.15; margin-bottom: 16px; letter-spacing: -.01em;
}
.pj__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pj__tags span {
  font-size: 9px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--mid); border: 1px solid var(--rule); padding: 3px 10px;
}
.pj__body { padding: 40px 40px 40px 36px; border-right: 1px solid var(--rule); }
.pj__body p { font-size: 14px; color: var(--mid); line-height: 1.8; margin-bottom: 12px; }
.pj__body p:last-child { margin-bottom: 0; }
.pj__meta { padding: 40px 40px 40px 28px; display: flex; flex-direction: column; gap: 14px; }
.pj__meta > div { display: flex; flex-direction: column; gap: 2px; }
.pj__meta span { font-size: 9px; text-transform: uppercase; letter-spacing: .2em; color: var(--mid); font-weight: 600; }
.pj__meta strong { font-size: 13px; font-weight: 500; color: var(--ink); }

@media (max-width: 960px) {
  .pj { grid-template-columns: 48px 1fr; }
  .pj__num { padding: 28px 0 28px 28px; font-size: 2rem; }
  .pj__name { border-right: none; padding: 28px 28px 0; grid-column: 2; }
  .pj__body { grid-column: span 2; padding: 16px 28px 24px; border-right: none; }
  .pj__meta { grid-column: span 2; flex-direction: row; gap: 20px; padding: 0 28px 28px; border-top: 1px solid var(--rule); padding-top: 16px; }
}

.work__footer {
  max-width: 1280px; margin: 0 auto; padding: 28px 40px;
  border-top: none;
}
.work__footer p { font-size: 13px; color: var(--mid); }
.work__footer a { color: var(--acc); border-bottom: 1px solid rgba(196,98,42,.3); transition: border-color .15s; }
.work__footer a:hover { border-color: var(--acc); }

/* ─── PRACTICE ─── */
.practice { background: var(--ink); }
.practice__inner {
  max-width: 1280px; margin: 0 auto; padding: 100px 40px;
  display: grid; grid-template-columns: 280px 1fr 240px;
  gap: 64px; align-items: start;
}
.practice__head h2 {
  font-family: var(--serif); font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  font-weight: 400; color: var(--white); line-height: 1.05; letter-spacing: -.02em;
}
.practice__head h2 em { font-style: italic; color: rgba(255,255,255,.35); }
.practice__head .section-label { color: rgba(255,255,255,.28); }
.practice__bio p { font-size: .97rem; color: rgba(255,255,255,.5); line-height: 1.85; margin-bottom: 20px; font-weight: 300; }
.practice__bio p:last-child { margin-bottom: 0; }
.practice__data { display: flex; flex-direction: column; gap: 32px; }
.pd-block {}
.pd-label { font-size: 9px; text-transform: uppercase; letter-spacing: .25em; color: rgba(255,255,255,.22); font-weight: 600; display: block; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.07); }
.pd-row { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.pd-row:last-child { border-bottom: none; }
.pd-row strong { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.75); }
.pd-row span { font-size: 12px; color: rgba(255,255,255,.35); text-align: right; }
@media (max-width: 960px) { .practice__inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 28px; } }

/* ─── SERVICES ─── */
.services { background: var(--bg2); }
.services__inner { max-width: 1280px; margin: 0 auto; padding: 100px 40px; }
.services__head { margin-bottom: 56px; border-bottom: 1px solid var(--rule); padding-bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; }
.services__head h2 { font-family: var(--serif); font-size: clamp(2.4rem, 3.5vw, 3.6rem); font-weight: 400; letter-spacing: -.02em; }
.svc-list { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
@media (max-width: 900px) { .svc-list { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .svc-list { grid-template-columns: 1fr; } }
.svc { padding: 36px 28px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.svc:nth-child(4n) { border-right: none; }
.svc:nth-child(n+3) { border-bottom: none; }
@media (max-width: 900px) { .svc:nth-child(2n) { border-right: none; } .svc:nth-child(n+3) { border-bottom: 1px solid var(--rule); } .svc:nth-child(n+4) { border-bottom: none; } }
.svc__n { font-family: var(--serif); font-style: italic; font-size: .85rem; color: var(--mid); display: block; margin-bottom: 12px; }
.svc h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; color: var(--ink); margin-bottom: 12px; }
.svc p { font-size: 13px; color: var(--mid); line-height: 1.75; margin-bottom: 18px; }
.svc ul li { font-size: 12px; color: var(--mid); padding: 7px 0; border-top: 1px solid var(--rule); display: flex; align-items: center; gap: 10px; }
.svc ul li::before { content: '—'; color: var(--acc); font-size: 11px; flex-shrink: 0; }
@media (max-width: 540px) { .svc { border-right: none; } }

/* ─── CONTACT ─── */
.contact { background: var(--bg); }
.contact__inner {
  max-width: 1280px; margin: 0 auto; padding: 100px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
@media (max-width: 860px) { .contact__inner { grid-template-columns: 1fr; gap: 48px; padding: 64px 28px; } }
.contact h2 {
  font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 400; color: var(--ink); margin-bottom: 16px; line-height: 1.05; letter-spacing: -.02em;
}
.contact > .contact__inner > div > p { font-size: .95rem; color: var(--mid); margin-bottom: 36px; }
.contact__details { display: flex; flex-direction: column; }
.cd { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--rule); }
.cd:last-child { border-bottom: 1px solid var(--rule); }
.cd > span:first-child { font-size: 10px; text-transform: uppercase; letter-spacing: .18em; color: var(--mid); font-weight: 600; }
.cd > span:last-child, .cd a { font-size: 15px; font-weight: 400; color: var(--ink); }
.cd a:hover { color: var(--acc); }

.contact__form { background: var(--white); border: 1px solid var(--rule); padding: 40px; }
.fg { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.fg label { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: var(--mid); }
.fg input, .fg select, .fg textarea {
  background: var(--bg); border: 1px solid var(--rule);
  padding: 11px 14px; font-size: 14px; font-family: var(--sans); font-weight: 300;
  color: var(--ink); transition: border-color .15s; resize: vertical;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--ink); }
.fg input::placeholder, .fg textarea::placeholder { color: var(--mid); }
.btn-submit {
  width: 100%; padding: 14px; background: var(--ink); color: var(--white);
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; border: none; cursor: pointer;
  transition: background .15s;
}
.btn-submit:hover { background: var(--acc); }
.form__sent { display: none; margin-top: 14px; font-size: 14px; color: var(--acc); font-weight: 400; }

/* ─── FOOTER ─── */
.footer { background: var(--ink2); padding: 28px 40px; border-top: 1px solid rgba(255,255,255,.05); }
.footer__inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__name { font-family: var(--serif); font-size: 14px; color: rgba(255,255,255,.6); }
.footer__loc { font-size: 11px; color: rgba(255,255,255,.25); letter-spacing: .08em; }
.footer__copy { font-size: 11px; color: rgba(255,255,255,.2); }
