/* =========================================================
   Interiors by Dini — ALT DESIGN: "Atelier Ledger"
   Palette:
     --ink       #15130F  full-bleed dark sections
     --parchment #F6F1E4  full-bleed light sections
     --moss      #333F31  contact section (deep green, not brass)
     --ember     #8C4A2F  rare accent (underlines, numerals) — used sparingly
     --pewter    #8B8676  muted text / hairlines
     --line      #DAD2BE  hairline on light bg
   Type:
     Display : "Newsreader" (serif, italic used for emphasis)
     Utility : "IBM Plex Mono" (eyebrows, numbers, nav — ledger/spec-sheet feel)
     Body    : "Work Sans"
   ========================================================= */

:root {
  --ink: #15130F;
  --ink-soft: #201D17;
  --parchment: #F6F1E4;
  --parchment-soft: #EFE9D8;
  --moss: #333F31;
  --ember: #8C4A2F;
  --pewter: #8B8676;
  --line: #DAD2BE;
  --cream-text: #EDE7D8;

  --serif: 'Newsreader', serif;
  --mono: 'IBM Plex Mono', monospace;
  --sans: 'Work Sans', sans-serif;

  --max: 1240px;
  --gutter: clamp(1.5rem, 5vw, 5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
em { font-style: italic; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pewter);
  margin: 0 0 1.1em;
}
.tag-dark { color: var(--ember); }

/* =========================================================
   HEADER
   ========================================================= */
.bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 0;
}
.bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mark {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--cream-text);
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
.mark span { color: var(--ember); }

.links { display: flex; gap: clamp(1rem, 3vw, 2.2rem); }
.links a {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--cream-text);
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: border-color 0.3s ease;
}
.links a:hover { border-color: var(--ember); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.burger span { width: 22px; height: 1px; background: var(--cream-text); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-img { position: absolute; inset: 0; }
.hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 65% 40%;
  filter: grayscale(0.55) contrast(1.05);
}
/* duotone: warm-dark tint over the desaturated photo, giving a printed/etched look
   rather than a plain dark scrim — this is the biggest visual departure from
   the brighter, full-color version */
.hero-duotone {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(21,19,15,0.55) 0%, rgba(21,19,15,0.35) 45%, rgba(21,19,15,0.92) 100%),
    linear-gradient(65deg, rgba(140,74,47,0.28), rgba(21,19,15,0.05) 55%);
  mix-blend-mode: multiply;
}
.hero-text {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  padding-top: 5rem;
  color: var(--cream-text);
}
.hero-text .tag { color: #C79A78; }
.hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  line-height: 1.08;
  font-weight: 300;
  color: var(--cream-text);
  max-width: 16ch;
  margin-bottom: 1.3rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.hero h1 em { color: #C79A78; }
.hero-note {
  max-width: 38ch;
  font-size: 1rem;
  color: rgba(237,231,216,0.82);
}

.hero-index {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.4rem;
  max-width: var(--max);
  margin: 3rem auto 0;
  padding: 1.2rem var(--gutter) 2.4rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(237,231,216,0.5);
  border-top: 1px solid rgba(237,231,216,0.16);
}

/* =========================================================
   STATEMENT (light section)
   ========================================================= */
.statement {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(4.5rem, 11vw, 8rem) var(--gutter);
  text-align: center;
}
.statement blockquote {
  margin: 0 0 1.8rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--ink);
}
.statement blockquote em { color: var(--ember); }
.statement-sub {
  max-width: 56ch;
  margin: 0 auto;
  color: var(--pewter);
  font-size: 0.98rem;
}

/* =========================================================
   LEDGER (dark section) — signature portfolio treatment
   ========================================================= */
.ledger { background: var(--ink); color: var(--cream-text); padding: clamp(4.5rem, 10vw, 8rem) var(--gutter); }
.ledger-head { max-width: var(--max); margin: 0 auto 3rem; }
.ledger-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--cream-text); font-weight: 300; }

.ledger-list {
  max-width: var(--max);
  margin: 0 auto;
  list-style: none;
  padding: 0;
  border-top: 1px solid rgba(237,231,216,0.14);
}
.ledger-row {
  display: grid;
  grid-template-columns: 3.6rem 4.5rem 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(237,231,216,0.14);
  transition: background 0.3s ease;
}
.ledger-row:hover { background: rgba(237,231,216,0.04); }

.row-no {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ember);
}
.row-thumb {
  width: 4.5rem; height: 4.5rem;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}
.row-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ledger-row:hover .row-thumb img { transform: scale(1.08); }

.row-title {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* dotted leader between title and material tag — the spec-sheet signature motif */
.row-leader {
  border-bottom: 1px dotted rgba(237,231,216,0.3);
  height: 0.6em;
  margin: 0 0.4rem;
  display: none;
}

.row-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--pewter);
  white-space: nowrap;
}

@media (min-width: 720px) {
  .ledger-row { grid-template-columns: 3.6rem 5rem auto 1fr auto; }
  .row-leader { display: block; }
}

/* =========================================================
   STUDIO (light section)
   ========================================================= */
.studio { background: var(--parchment-soft); padding: clamp(4.5rem, 10vw, 8rem) var(--gutter); }
.studio-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.studio-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 1.3rem; }
.studio-text p { max-width: 48ch; color: var(--ink); }

.studio-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.studio-mark svg { width: 100%; max-width: 220px; height: auto; }
.mark-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--pewter);
}

/* =========================================================
   SERVICES (dark section) — furnishing + styling offering
   ========================================================= */
.services { background: var(--ink); color: var(--cream-text); padding: clamp(4.5rem, 10vw, 8rem) var(--gutter); }
.services-inner { max-width: var(--max); margin: 0 auto; }
.services-head { max-width: 62ch; margin-bottom: 3.5rem; }
.services-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--cream-text); font-weight: 300; margin-bottom: 1.1rem; }
.services-intro { color: rgba(237,231,216,0.78); font-size: 1rem; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.services-col .tag { color: var(--pewter); }

/* services list — reuses the ledger's spec-sheet numbering motif */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(237,231,216,0.14); }
.svc-list li {
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(237,231,216,0.14);
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.35;
}

/* how it works — steps */
.steps-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.9rem; }
.steps-list li { display: block; }
.steps-list h3 { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; color: var(--cream-text); margin: 0 0 0.35rem; }
.steps-list p { color: rgba(237,231,216,0.72); font-size: 0.93rem; margin: 0; }

.services-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3.2rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-text);
  border-bottom: 1px solid rgba(237,231,216,0.3);
  padding-bottom: 0.4rem;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.services-cta:hover { border-color: var(--ember); color: #C79A78; }

/* =========================================================
   CONTACT (moss section)
   ========================================================= */
.contact {
  background: var(--moss);
  color: var(--cream-text);
  text-align: center;
  padding: clamp(4.5rem, 10vw, 8rem) var(--gutter);
}
.contact .tag { color: #B7C4B0; }
.contact h2 { color: var(--cream-text); font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 300; margin-bottom: 1.1rem; }
.contact-sub { max-width: 44ch; margin: 0 auto 2.4rem; color: rgba(237,231,216,0.78); }

.contact-rows {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(237,231,216,0.3);
  transition: border-color 0.3s ease;
}
.contact-row:hover { border-color: var(--ember); }
.c-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237,231,216,0.6);
}
.c-value { font-family: var(--serif); font-size: 1.3rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  background: var(--ink);
  color: var(--pewter);
  padding: 1.6rem var(--gutter);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.72rem;
  border-top: 1px solid rgba(237,231,216,0.1);
}
.foot a:hover { color: var(--cream-text); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .studio-grid { grid-template-columns: 1fr; }
  .studio-mark { order: -1; }
  .services-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 720px) {
  .links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 300px);
    height: 100vh;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.8rem;
    padding: 2rem var(--gutter);
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .links.open { transform: translateX(0); }
  .burger { display: flex; }
  .ledger-row { grid-template-columns: 2.6rem 3.6rem 1fr; row-gap: 0.3rem; }
  .row-tag { grid-column: 2 / 4; font-size: 0.68rem; }
}
