/* ============================================================
   Marlowe Interiors — site styles
   Editorial Classic. Warm cream paper, ink, single clay accent.
   ============================================================ */

:root {
  --cream:    #F4EEE3;
  --paper:    #FBF7F0;
  --warm-bg:  #EFE6D6;
  --ink:      #211C15;
  --ink-soft: #6E6456;
  --line:     #DBD1C0;
  --clay:     #9A6A50;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  --pad: 110px;          /* page side padding (desktop) */
  --maxw: 1440px;        /* content max width */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, blockquote, figure, ul { margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* Center every page's content within a max width */
.wrap { max-width: var(--maxw); margin: 0 auto; }

/* ---- shared type helpers ---- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--clay);
}
.serif { font-family: var(--serif); }
.italic { font-style: italic; }
.ink-soft { color: var(--ink-soft); }
.rule { height: 1px; background: var(--line); width: 100%; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 15px 30px;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid var(--ink);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); }

/* ============================================================
   Masthead (shared across pages)
   ============================================================ */
.masthead { padding: 26px var(--pad) 0; }
.masthead__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.masthead__nav { display: flex; gap: 30px; }
.masthead__nav--right { justify-content: flex-end; }
.navlink {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  font-weight: 400;
  position: relative;
  padding-bottom: 3px;
  white-space: nowrap;
}
.navlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .28s ease;
}
.navlink:hover::after { width: 100%; }
.navlink.is-active { color: var(--clay); }
.navlink.is-active::after { width: 100%; background: var(--clay); }
.navlink--clay { color: var(--clay); }

.wordmark { text-align: center; line-height: 1; }
.wordmark__name {
  font-family: var(--sans);
  font-size: 21px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  padding-left: 0.4em;
  white-space: nowrap;
}
.wordmark__sub {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 8px;
  padding-left: 0.55em;
}
.masthead__rule { margin-top: 24px; }

/* ============================================================
   Footer (shared)
   ============================================================ */
.foot { background: var(--cream); padding: 52px var(--pad) 44px; }
.foot__top {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.foot__name { font-family: var(--sans); font-size: 16px; letter-spacing: 0.34em; text-transform: uppercase; }
.foot__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.foot__contact { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
.foot__mail { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); letter-spacing: 0.04em; text-decoration: none; }
.foot__legal { font-family: var(--sans); font-size: 11px; color: var(--ink-soft); letter-spacing: 0.06em; }
.foot__rule { margin: 28px 0 18px; }

/* ============================================================
   Section primitives
   ============================================================ */
.section { padding: 80px var(--pad); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--tight { padding-top: 4px; }

.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow { margin-bottom: 16px; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: 46px; line-height: 1.1; margin: 0; }

/* ============================================================
   Image placeholders (swapped for real photos later)
   Drop a real <img> in and it fills the same box.
   ============================================================ */
.ph {
  position: relative;
  width: 100%;
  background:
    repeating-linear-gradient(135deg,
      #E7DECF 0px, #E7DECF 11px,
      #EDE5D7 11px, #EDE5D7 22px);
  box-shadow: inset 0 0 0 1px rgba(33,28,21,0.06);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ph > img { width: 100%; height: 100%; object-fit: cover; }
.ph__tag {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8C8270;
  background: rgba(251,247,240,0.82);
  padding: 7px 12px;
  border-radius: 2px;
  display: inline-flex; align-items: center; gap: 7px;
  text-align: center; max-width: 80%;
}
.ph__tag::before { content: "▢"; font-size: 13px; line-height: 1; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  :root { --pad: 60px; }
  .wordmark__name { font-size: 17px; letter-spacing: 0.3em; }
}
@media (max-width: 820px) {
  :root { --pad: 28px; }
  .masthead { padding: 18px var(--pad) 0; }
  .masthead__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
  .masthead__grid > a { order: -1; }
  .masthead__nav, .masthead__nav--right { justify-content: center; flex-wrap: wrap; gap: 18px; }
  .section { padding: 56px var(--pad); }
  .h2 { font-size: 36px; }
  .foot__top { flex-direction: column; text-align: center; }
  .foot__contact { align-items: center; }
}
