:root {
  --bg: #f6f2ea;
  --bg-alt: #ebe3d7;
  --surface: #fffdf9;
  --text: #24211e;
  --muted: #625d56;
  --dark: #24211e;
  --border: #d8d0c4;
  --accent: #9b7449;
  --accent-dark: #6f5133;
  --accent-light: #ead8bc;
  --white: #fff;
  --container: 1180px;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(38, 32, 25, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.container { 
  width: min(calc(100% - 48px), 
  var(--container)); 
  margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 242, 234, .96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  position: relative;
  color: #4d4842;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1px;
  height: 2px;
  background: var(--accent);
  transition: right .2s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
}
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--text); }

/* Type */
h1, h2, h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
  color: var(--text);
}
h1 { margin-bottom: 24px; font-size: clamp(46px, 6vw, 80px); letter-spacing: -.045em; }
h2 { margin-bottom: 20px; font-size: clamp(34px, 4vw, 56px); letter-spacing: -.035em; }
h3 { margin-bottom: 12px; font-size: 25px; }
p { margin-top: 0; }
.lead { max-width: 700px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.eyebrow {
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.4;
  text-transform: uppercase;
}
.light-eyebrow { color: var(--accent-light); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 23px;
  border: 1px solid #b8afa3;
  border-radius: 4px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .015em;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--text); }
.btn.primary { background: var(--dark); border-color: var(--dark); color: var(--white); }
.btn.primary:hover { background: #3b3530; border-color: #3b3530; }

/* Hero */
.hero { padding: 50px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 56px;
}
.hero-grid > div:first-child { min-width: 0; }
.hero-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: #d9d0c1;
  box-shadow: var(--shadow);
}
.hero-arch { position: absolute; inset: 0; overflow: hidden; }
.hero-image { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.hero-sofa, .hero-table { display: none; }
.caption {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  padding: 88px 38px 32px;
  color: var(--white);
  background: linear-gradient(to top, rgba(18,16,14,.84), rgba(18,16,14,0));
}
.caption h3 { max-width: 570px; margin-bottom: 0; color: var(--white); font-size: clamp(24px, 3vw, 37px); }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section-intro { margin-bottom: 42px; }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
.kicker { max-width: 520px; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card {
  min-height: 180px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.48);
}
.card .eyebrow { margin-bottom: 18px; }
.card h3 { font-size: 23px; }
.card p { margin-bottom: 0; color: var(--muted); font-size: 15px; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 1 / -1;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat { min-height: 116px; display: flex; flex-direction: column; justify-content: center; padding: 18px; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat strong { margin-bottom: 4px; font-family: Georgia, "Times New Roman", serif; font-size: 31px; font-weight: 400; }
.stat span { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }

/* Portfolio grid: fixed aspect ratio prevents image fluctuation */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.project {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: 4px;
  background: #c9c0b3;
}
.project-bg {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #c9c0b3;
}
.project-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform .6s cubic-bezier(.2,.65,.25,1);
}
.project:hover .project-bg img { transform: scale(1.035); }
.project::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(16,15,13,.82) 0%, rgba(16,15,13,.22) 42%, rgba(16,15,13,0) 70%);
}
.project-copy {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  padding: 38px 30px 27px;
  color: var(--white);
}
.project-copy span {
  display: block;
  margin-bottom: 7px;
  color: #f1dfc5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.project-copy h3 { margin-bottom: 0; color: var(--white); font-size: clamp(23px, 2.4vw, 33px); }
.project-copy p { margin: 5px 0 0; color: rgba(255,255,255,.82); }

/* Page head */
.page-head { padding: 78px 0 64px; border-bottom: 1px solid var(--border); }
.page-head .lead { max-width: 780px; }

/* Contact */
.contact-section { padding-top: 28px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.contact-panel {
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.48);
}
.contact-panel h2 { font-size: clamp(31px, 4vw, 48px); }
.contact-panel p { color: var(--muted); }
.info-row { padding: 18px 0; border-top: 1px solid var(--border); }
.info-row small { display: block; margin-bottom: 4px; color: var(--accent-dark); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.info-row a { color: var(--text); font-weight: 700; overflow-wrap: anywhere; }
.enquiry-btn { width: 100%; min-height: 58px; justify-content: space-between; padding-inline: 22px; font-size: 14px; }
.btn-arrow { font-size: 20px; line-height: 1; }
.form-note { margin: 14px 0 0; font-size: 12px; color: var(--muted) !important; }

/* Footer */
.footer { padding: 28px 0; border-top: 1px solid var(--border); background: var(--dark); color: rgba(255,255,255,.74); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

/* Tablet */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { width: min(100%, 720px); margin-inline: auto; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
}

/* Mobile */
@media (max-width: 760px) {
  .container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
  .header-inner { min-height: 68px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 12px; }
  .nav a::after { display: none; }
  .hero { padding: 58px 0 70px; }
  h1 { font-size: clamp(42px, 13vw, 64px); }
  h2 { font-size: clamp(34px, 10vw, 49px); }
  .lead { font-size: 16px; line-height: 1.7; }
  .hero-card { aspect-ratio: 4 / 5; }
  .caption { padding: 72px 24px 24px; }
  .caption h3 { font-size: 26px; }
  .section { padding: 72px 0; }
  .cards, .work-grid { grid-template-columns: 1fr; }
  .project-bg { aspect-ratio: 4 / 3; }
  .project-copy { padding: 32px 23px 23px; }
  .project-copy h3 { font-size: 26px; }
  .stats { grid-template-columns: 1fr; }
  .stat { min-height: 88px; }
  .stat + .stat { border-top: 1px solid var(--border); border-left: 0; }
  .contact-panel { padding: 29px 23px; }
  .page-head { padding: 58px 0 48px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 7px; }
}

@media (max-width: 480px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .brand { font-size: 18px; max-width: 245px; white-space: normal; line-height: 1.15; }
  .actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero-card { aspect-ratio: 3 / 4; }
  .project-bg { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
