/* Hedom Living — site styles */
:root {
  --oxblood: #52201A;
  --umber: #2E1310;
  --cream: #F2E7C7;
  --page: #E4DCCB;
  --slot: #CFC5AE;
  --hair: rgba(82, 32, 26, 0.4);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Helvetica Neue', Helvetica, sans-serif;
  --gutter: 28px;
  --section-y: clamp(48px, 7vw, 96px);
}

html { background: var(--umber); }
html, body { margin: 0; padding: 0; }
body { background: var(--page); font-family: var(--sans); color: var(--oxblood); -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
i { font-style: italic; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.75; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }

*, a, a:hover, button {
  cursor: url("cursor/cursor-clover-v2.png") 6 6, auto !important;
  cursor: -webkit-image-set(url("cursor/cursor-clover-v2.png") 1x, url("cursor/cursor-clover-64.png") 2x) 6 6, auto !important;
}
[data-cursor-cream], [data-cursor-cream] * {
  cursor: url("cursor/cursor-clover-cream-32.png") 6 6, auto !important;
  cursor: -webkit-image-set(url("cursor/cursor-clover-cream-32.png") 1x, url("cursor/cursor-clover-cream-64.png") 2x) 6 6, auto !important;
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 500; background: var(--cream); padding: 8px 14px; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.serif { font-family: var(--serif); font-weight: 400; }
.eyebrow { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.body-copy { font-size: 14px; line-height: 1.75; max-width: 52ch; }

/* Grain over oxblood surfaces */
.grain {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("grain.svg");
  mix-blend-mode: overlay; opacity: 0.45;
}

/* Buttons */
.btn {
  display: inline-block; border: 1px solid var(--oxblood); color: var(--oxblood);
  padding: 12px 30px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
}
.btn:hover { opacity: 1; background: var(--oxblood); color: var(--cream); }
.btn--cream { border-color: var(--cream); color: var(--cream); }
.btn--cream:hover { background: var(--cream); color: var(--oxblood); }

/* ---------- Nav ---------- */
.nav {
  display: flex; align-items: center; gap: 16px 24px; padding: 20px var(--gutter);
  border-bottom: 1px solid var(--oxblood);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; flex-wrap: wrap;
}
.nav--hero {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px var(--gutter); border-bottom: 0; color: var(--cream);
  background: rgba(46, 19, 16, 0.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.wordmark { font-family: var(--serif); font-size: 28px; letter-spacing: 0.01em; text-transform: none; white-space: nowrap; }
.nav-links { flex: 1; display: flex; gap: clamp(14px, 2.5vw, 26px); justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.burger { display: none; margin-left: auto; flex-direction: column; gap: 5px; padding: 8px 2px; }
.burger span { display: block; width: 24px; height: 1.5px; background: currentColor; }

.menu {
  position: fixed; inset: 0; z-index: 300; overflow: hidden;
  background: var(--oxblood); color: var(--cream);
  display: flex; flex-direction: column; padding: 14px 18px 32px;
}
.menu > :not(.grain) { position: relative; }
.menu-top { display: flex; align-items: center; justify-content: space-between; }
.menu-top .wordmark { font-size: 22px; }
.menu-close { font-size: 26px; line-height: 1; padding: 6px 10px; }
.menu-links { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.menu-links a { font-family: var(--serif); font-size: 44px; line-height: 1; }
.menu-foot { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }

@media (max-width: 700px) {
  .nav { padding: 14px 18px; flex-wrap: nowrap; }
  .nav .wordmark { font-size: 22px; }
  .nav-links { display: none; }
  .burger { display: flex; }
}

/* ---------- Project card ---------- */
.card { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.card:hover { opacity: 1; }
.card-frame { aspect-ratio: 4 / 5; background: var(--slot); overflow: hidden; }
.card-img { width: 100%; height: 100%; position: relative; transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card-img { transform: scale(1.045); }
.card-title { font-family: var(--serif); font-size: 26px; line-height: 1; transition: letter-spacing 0.4s; }
.card:hover .card-title { font-style: italic; letter-spacing: 0.02em; }
.card--warm .card-img { filter: sepia(0.35) saturate(0.85) contrast(0.96) brightness(0.96); }
.card--warm .card-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--oxblood); mix-blend-mode: soft-light; opacity: 0.55;
}

/* ---------- Page title block (inner pages) ---------- */
.title-block {
  padding: clamp(48px, 7vw, 100px) var(--gutter) clamp(32px, 5vw, 64px);
  display: flex; flex-direction: column; gap: 22px; align-items: flex-start;
}
.page-h1 { font-family: var(--serif); font-size: clamp(52px, 8vw, 120px); line-height: 0.95; }
.section-title { font-family: var(--serif); font-size: clamp(38px, 4.5vw, 68px); line-height: 1; }

/* ---------- Home ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  background: var(--oxblood); color: var(--cream);
  display: flex; flex-direction: column;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(46,19,16,0.25), rgba(46,19,16,0.1) 45%, rgba(46,19,16,0.45));
}
.hero-shade-top { position: absolute; top: 0; left: 0; right: 0; height: 130px; background: linear-gradient(rgba(30,10,8,0.55), rgba(30,10,8,0)); pointer-events: none; }
.hero-shade-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 45%; background: linear-gradient(rgba(30,10,8,0), rgba(30,10,8,0.6)); pointer-events: none; }
.hero-copy {
  position: relative; margin-top: auto;
  display: flex; flex-direction: column; align-items: center; gap: 30px;
  padding: 0 var(--gutter) 9vh; text-align: center;
}
.hero-copy h1 { font-family: var(--serif); font-size: clamp(44px, 6.5vw, 96px); line-height: 1; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 700px) {
  .hero-copy { padding-bottom: 20vh; gap: 22px; }
}

.intro { padding: clamp(56px, 8vw, 110px) var(--gutter); }
.intro-head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.intro-head .eyebrow { letter-spacing: 0.26em; }
.intro-statement { margin: 0 auto; font-family: var(--serif); font-size: clamp(19px, 2.2vw, 30px); line-height: 1.4; max-width: 760px; text-wrap: pretty; }
.intro-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(28px, 5vw, 72px); margin-top: clamp(40px, 6vw, 80px); align-items: start;
}

.home-services {
  border-top: 1px solid var(--oxblood); padding: var(--section-y) var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.photo-slot { background: var(--slot); overflow: hidden; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot--portrait { aspect-ratio: 4 / 5; }
.home-services-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.home-services-copy .eyebrow { min-height: 1.2em; }
.home-services-copy .body-copy { max-width: 48ch; }
.home-services-copy .btn { margin-top: 6px; }

.home-projects {
  border-top: 1px solid var(--oxblood); padding: var(--section-y) var(--gutter);
  display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px);
}
.home-projects-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.home-projects-head .aside { font-family: var(--serif); font-size: 20px; font-style: italic; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

/* ---------- Projects ---------- */
.projects-title { padding-bottom: clamp(28px, 4vw, 56px); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.chip {
  border: 1px solid var(--oxblood); padding: 8px 18px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
}
.chip:hover { opacity: 0.75; }
.chip[aria-pressed="true"] { background: var(--oxblood); color: var(--cream); }
.projects-grid-wrap { padding: 0 var(--gutter) clamp(64px, 8vw, 110px); }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 24px 20px; }
.projects-grid .card { gap: 14px; }

/* ---------- Services ---------- */
.services-grid-wrap { padding: 0 var(--gutter) clamp(64px, 8vw, 120px); }
.hair-grid {
  display: grid; border-top: 1px solid var(--hair); border-left: 1px solid var(--hair);
}
.hair-grid > * { border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.tile {
  aspect-ratio: 1 / 1; background: var(--page); padding: clamp(20px, 2.5vw, 32px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  transition: background 0.35s, color 0.35s;
}
.tile:hover { background: var(--oxblood); color: var(--cream); }
.tile-top { display: flex; justify-content: space-between; align-items: baseline; }
.num { font-size: 12px; letter-spacing: 0.16em; }
.tile-bottom { display: flex; flex-direction: column; gap: 14px; }
.tile-title { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.05; text-wrap: pretty; }
.tile p, .step p { font-size: 13px; line-height: 1.65; max-width: 42ch; }

.cta-band {
  position: relative; overflow: hidden; background: var(--oxblood); color: var(--cream);
  padding: var(--section-y) var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center;
}
.cta-band > :not(.grain) { position: relative; }
.cta-band .serif { font-size: clamp(34px, 5vw, 64px); line-height: 1; }
.cta-band .btn { padding: 12px 32px; }

.mini-footer {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  padding: 14px var(--gutter); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
}
.mini-footer .serif { font-size: 16px; font-style: italic; text-transform: none; letter-spacing: 0; }

/* ---------- Who we are ---------- */
.about-title { gap: 26px; }
.about-statement { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.35; max-width: 30ch; text-wrap: pretty; }
.band-wrap { padding: 0 var(--gutter); }
.photo-slot--band { aspect-ratio: 21 / 9; }
.how { padding: var(--section-y) var(--gutter); }
.how-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: clamp(28px, 4vw, 44px); align-items: flex-start; }
.how-head .serif { font-size: clamp(32px, 4vw, 56px); line-height: 1; }
.steps { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.step { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; min-height: 200px; }
.step-title { font-family: var(--serif); font-size: 28px; line-height: 1.05; }
.step p { max-width: 40ch; }
.cta-inline { padding: 0 var(--gutter) clamp(64px, 8vw, 110px); display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.cta-inline .serif { font-size: clamp(30px, 4vw, 52px); line-height: 1.1; }
.cta-inline .btn { padding: 13px 34px; }

/* ---------- Contact ---------- */
.contact {
  flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(32px, 6vw, 96px); padding: clamp(48px, 7vw, 100px) var(--gutter) clamp(64px, 8vw, 110px);
  align-items: start;
}
.contact-intro { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.contact-intro .page-h1 { font-size: clamp(52px, 7vw, 110px); }
.contact-intro .body-copy { max-width: 44ch; }
.details {
  display: flex; flex-direction: column; gap: 14px; margin-top: 12px;
  border-top: 1px solid var(--hair); padding-top: 24px; width: 100%; max-width: 380px;
}
.detail { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.detail span { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.detail a { font-family: var(--serif); font-size: 17px; font-style: italic; }

.enquiry {
  display: flex; flex-direction: column; gap: 24px;
  border: 1px solid var(--hair); padding: clamp(24px, 3.5vw, 44px); background: rgba(242, 231, 199, 0.35);
}
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px; }
.field-row--wide { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid rgba(82, 32, 26, 0.5); border-radius: 0;
  padding: 8px 0; color: var(--oxblood); font-family: var(--sans); font-size: 14px; letter-spacing: normal; text-transform: none;
}
.field textarea { line-height: 1.6; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(82, 32, 26, 0.45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--oxblood); }
.enquiry-submit {
  align-self: flex-start; border: 1px solid var(--oxblood); padding: 13px 34px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
}
.enquiry-submit:hover, .is-sent .enquiry-submit { background: var(--oxblood); color: var(--cream); }
.form-note { font-size: 12px; line-height: 1.6; }

/* ---------- Footer ---------- */
.footer {
  position: relative; display: flex; flex-direction: column; min-height: 88vh; margin-top: auto;
  background: var(--oxblood); color: var(--cream);
}
.footer--full { min-height: 100vh; }
.footer-bar {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  gap: clamp(16px, 3vw, 32px); padding: 20px 32px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; flex-wrap: wrap;
}
.footer-tag { white-space: nowrap; }
.subscribe {
  display: flex; gap: 16px; align-items: baseline; flex: 1 1 240px; max-width: 420px;
  border-bottom: 1px solid rgba(242, 231, 199, 0.7); padding-bottom: 6px; margin: 0;
}
.subscribe input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--cream);
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em;
}
.subscribe input::placeholder { color: rgba(242, 231, 199, 0.6); }
.subscribe button {
  font-family: var(--serif); font-size: 16px; font-style: italic; text-decoration: underline;
  text-underline-offset: 3px; white-space: nowrap; letter-spacing: 0;
}
.subscribe button:hover { opacity: 0.75; }
.ig {
  width: 34px; height: 34px; border: 1px solid rgba(242, 231, 199, 0.8); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.footer-mark-wrap { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; position: relative; min-height: 0; }
.footer-mark {
  position: sticky; bottom: 0; width: 100%; overflow: hidden;
  display: flex; justify-content: space-between; align-items: flex-end;
  line-height: 0.78; font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 12.5vw, 320px); letter-spacing: -0.02em;
  user-select: none; pointer-events: none;
}
.footer-mark span { display: block; transform: translateY(0.06em); }
.footer-mark span:first-child { margin-left: -0.03em; }
.footer-mark span:last-child { margin-right: -0.03em; }
