:root {
  --paper: #f7f4ef;
  --paper-2: #efeae2;
  --ink: #1a1714;
  --muted: #7a726a;
  --line: rgba(26, 23, 20, 0.12);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 300; margin: 0; letter-spacing: -0.01em; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--gutter);
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.wordmark { font-family: var(--serif); font-size: 22px; }
.wordmark em { font-style: italic; color: var(--muted); }
.nav nav { display: flex; gap: 28px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav nav a { opacity: 0.7; transition: opacity 0.2s; }
.nav nav a:hover { opacity: 1; }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--gutter);
  align-items: center;
  padding: clamp(48px, 8vw, 120px) var(--gutter);
  min-height: calc(100vh - 64px);
}
.eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 24px; }
.hero h1 { font-size: clamp(64px, 11vw, 168px); line-height: 0.9; }
.hero h1 span { font-style: italic; color: var(--muted); font-size: 0.55em; display: block; margin-top: 0.15em; }
.lede { font-size: 18px; max-width: 38ch; margin: 32px 0 40px; color: #3d3733; }
.button {
  display: inline-block; padding: 14px 28px; border: 1px solid var(--ink); border-radius: 999px;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}
.button:hover { background: var(--ink); color: var(--paper); }
.hero-image img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* sections */
section { padding: clamp(56px, 8vw, 120px) var(--gutter); }
.section-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(36px, 5vw, 64px); }
.section-head p { margin: 0; color: var(--muted); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }

/* portfolio */
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.grid figure { overflow: hidden; background: var(--paper-2); }
.grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.grid figure:hover img { transform: scale(1.04); }

/* about */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gutter); background: var(--paper-2); }
.about h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 24px; }
.about p { max-width: 52ch; font-size: 17px; }
.card { margin: 0; align-self: center; border-top: 1px solid var(--line); }
.card div { display: grid; grid-template-columns: 120px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
.card dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.card dd { margin: 0; font-family: var(--serif); font-size: 20px; }

/* contact */
.contact { text-align: center; }
.contact h2 { font-size: clamp(36px, 5vw, 64px); }
.contact > p { color: var(--muted); margin: 12px 0 32px; }
.email { font-family: var(--serif); font-size: clamp(24px, 4vw, 44px); border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.social { margin-top: 40px; display: flex; gap: 32px; justify-content: center; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.social a { opacity: 0.7; } .social a:hover { opacity: 1; }

footer {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 24px var(--gutter); border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}

/* motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { order: -1; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav nav { gap: 18px; font-size: 12px; }
  .wordmark { font-size: 19px; }
  .card div { grid-template-columns: 100px 1fr; }
}
