:root {
  --paper: #f7f2ea;     /* vanilla wall */
  --paper-2: #efe6d9;
  --ink: #2a221c;       /* brown ceiling */
  --muted: #6d6157;
  --trim: #5f6f76;      /* grey-blue door trim */
  --line: #ddd2c3;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.logo { font-family: var(--serif); font-size: 1.25rem; text-decoration: none; }
.top__call { font-size: .95rem; font-weight: 600; text-decoration: none; color: var(--trim); white-space: nowrap; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(32px, 6vw, 80px); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--trim); margin-bottom: 1rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 32ch; }
.hero__img { margin: 0; }
.hero__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-block; padding: 13px 22px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--trim); border-color: var(--trim); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 88px); border-top: 1px solid var(--line); }
.about__img { margin: 0; }
.about__img img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 30% 50%; border-radius: 4px; }
.about__text p { max-width: 52ch; }
.services { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.services li { padding: 10px 0; border-top: 1px solid var(--line); }

/* Work */
.work { background: var(--paper-2); padding-block: clamp(48px, 7vw, 96px); }
.work__intro { color: var(--muted); max-width: 60ch; margin-bottom: 32px; }
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid li { margin: 0; }
.grid a { display: block; overflow: hidden; border-radius: 4px; }
.grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .3s; }
.grid a:hover img { transform: scale(1.03); }
.grid span { display: block; font-size: .88rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }

/* Contact */
.contact { padding-block: clamp(48px, 7vw, 96px); }
.contact__lead { color: var(--muted); }
.contact__list { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 16px 56px; margin: 28px 0 0; }
.contact__list dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.contact__list dd { margin: 0; font-size: 1.1rem; }
.contact__list a { text-decoration-color: var(--line); text-underline-offset: 4px; }
.contact__list a:hover { text-decoration-color: currentColor; }

.foot { padding-block: 28px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

/* Small screens */
@media (max-width: 860px) {
  .hero, .about { grid-template-columns: 1fr; }
  .hero__img img { aspect-ratio: 4 / 3; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .contact__list { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .services { grid-template-columns: 1fr; }
}
