/* LRS Interiors — earthy palette, modern editorial layout */
:root {
  --bg: #f4efe6;
  --bg-soft: #ebe4d6;
  --paper: #faf6ee;
  --ink: #2a261f;
  --ink-soft: #5a544a;
  --ink-faint: #8c8678;
  --line: #d9d1bf;
  --terracotta: #b8633e;
  --terracotta-dark: #964c2c;
  --olive: #6b6a3e;
  --olive-dark: #4d4d2c;
  --gold: #b08a4a;

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* TYPE */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--terracotta);
}
.eyebrow.olive { color: var(--olive); }
.eyebrow.muted { color: var(--ink-faint); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(48px, 7vw, 112px); }
h2 { font-size: clamp(36px, 4.6vw, 72px); }
h3 { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.15; }
h4 { font-size: clamp(20px, 1.6vw, 26px); line-height: 1.25; }
.italic { font-style: italic; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }

/* LAYOUT */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px var(--gutter);
  width: 100%; margin: 0;
  gap: 32px;
}
.brand {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.02em;
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px;
  margin-left: -8px; /* nudge optical edge of L flush to gutter */
}
.brand .mark { color: var(--terracotta); font-style: italic; }
.brand .sub { font-family: var(--sans); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-faint); }
/* Copper-metallic logo: PNG used as a CSS mask, filled with a multi-stop gradient that shifts on hover for a subtle "shine". */
.brand-logo {
  --copper-1: #6e3a1f;
  --copper-2: #b8633e;
  --copper-3: #f1c79a;
  --copper-4: #8a4a2a;
  --copper-5: #e0a577;
  width: 120px; height: 100px;
  display: inline-block;
  background:
    linear-gradient(135deg,
      var(--copper-1) 0%,
      var(--copper-2) 18%,
      var(--copper-5) 32%,
      var(--copper-3) 46%,
      var(--copper-2) 58%,
      var(--copper-4) 72%,
      var(--copper-2) 86%,
      var(--copper-1) 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  -webkit-mask: url("logo-ko.png") left center / contain no-repeat;
          mask: url("logo-ko.png") left center / contain no-repeat;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.18)) drop-shadow(0 1px 1px rgba(0,0,0,0.12));
  transition: background-position .9s ease;
}
.brand:hover .brand-logo { background-position: 100% 50%; }
.brand-logo.lg { width: 200px; height: 168px; }
.brand-logo.xl { width: 260px; height: 218px; }
@keyframes copper-shine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.brand-logo.shine { animation: copper-shine 8s ease-in-out infinite; }
/* Footer / dark variant — push gradient brighter for contrast */
.brand-logo.on-dark {
  --copper-1: #8a4a2a;
  --copper-2: #c97a4f;
  --copper-3: #f5d3aa;
  --copper-4: #a25a35;
  --copper-5: #ecb185;
}
.nav-links { display: flex; gap: 32px; align-items: center; font-size: 13px; letter-spacing: 0.06em; }
.nav-links a { color: var(--ink-soft); transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--terracotta); }
.nav-cta {
  border: 1px solid var(--ink);
  padding: 10px 18px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  transition: all .2s;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.nav-burger { display: none; width: 32px; height: 32px; flex-direction: column; gap: 5px; justify-content: center; align-items: center; }
.nav-burger span { display: block; width: 22px; height: 1px; background: var(--ink); transition: transform .3s; }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

/* MOBILE DRAWER */
.drawer { position: fixed; inset: 0; background: var(--bg); z-index: 100; transform: translateY(-100%); transition: transform .4s cubic-bezier(.4,0,.2,1); padding: 28px var(--gutter); }
.drawer.open { transform: translateY(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 60px; }
.drawer-close { width: 32px; height: 32px; position: relative; }
.drawer-close::before, .drawer-close::after { content: ""; position: absolute; top: 50%; left: 4px; right: 4px; height: 1px; background: var(--ink); }
.drawer-close::before { transform: rotate(45deg); }
.drawer-close::after { transform: rotate(-45deg); }
.drawer-links { display: flex; flex-direction: column; gap: 18px; }
.drawer-links a { font-family: var(--serif); font-size: 40px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: all .25s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn.filled { background: var(--terracotta); border-color: var(--terracotta); color: var(--paper); }
.btn.filled:hover { background: var(--terracotta-dark); border-color: var(--terracotta-dark); }
.btn.ghost { border-color: var(--line); color: var(--ink-soft); }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); background: transparent; }

/* TEXTLINK */
.tlink { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: gap .2s; }
.tlink:hover { gap: 14px; }

/* FOOTER */
.footer { background: #1f1c17; color: #d8cfbe; padding: 80px var(--gutter) 32px; margin-top: 80px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; padding-bottom: 64px; border-bottom: 1px solid #3a342a; }
.footer h4 { color: #faf6ee; font-family: var(--serif); font-size: 28px; margin-bottom: 16px; }
.footer .col-title { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #8a8170; margin-bottom: 18px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer ul a { color: #d8cfbe; transition: color .2s; }
.footer ul a:hover { color: var(--terracotta); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 12px; color: #8a8170; }
.footer-bottom .socials { display: flex; gap: 14px; }
.footer-bottom .socials a { width: 32px; height: 32px; border: 1px solid #3a342a; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s; }
.footer-bottom .socials a:hover { border-color: var(--terracotta); }
.footer-bottom .socials svg { width: 14px; height: 14px; fill: #d8cfbe; }
.newsletter { display: flex; gap: 8px; margin-top: 20px; max-width: 360px; }
.newsletter input { flex: 1; background: transparent; border: 0; border-bottom: 1px solid #3a342a; padding: 10px 0; color: #faf6ee; font-family: var(--sans); font-size: 14px; outline: none; }
.newsletter input:focus { border-bottom-color: var(--terracotta); }
.newsletter button { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #faf6ee; border-bottom: 1px solid #faf6ee; padding-bottom: 4px; }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* IMAGE UTILITIES */
.frame { overflow: hidden; background: var(--bg-soft); position: relative; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.frame:hover img { transform: scale(1.04); }
.aspect-3-4 { aspect-ratio: 3/4; }
.aspect-4-5 { aspect-ratio: 4/5; }
.aspect-1-1 { aspect-ratio: 1/1; }
.aspect-16-9 { aspect-ratio: 16/9; }
.aspect-3-2 { aspect-ratio: 3/2; }

/* PAGE HEADER (inner pages) */
.page-header { padding: 80px 0 60px; border-bottom: 1px solid var(--line); }
.page-header .crumb { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 18px; }
.page-header h1 { font-size: clamp(48px, 6vw, 88px); margin-bottom: 16px; }
.page-header p { color: var(--ink-soft); max-width: 640px; font-size: 17px; }

/* GALLERY GRID */
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(8px, 1vw, 16px); }
.g-tall { grid-column: span 4; aspect-ratio: 3/4; }
.g-wide { grid-column: span 8; aspect-ratio: 16/10; }
.g-half { grid-column: span 6; aspect-ratio: 4/3; }
.g-third { grid-column: span 4; aspect-ratio: 4/5; }
.g-full { grid-column: span 12; aspect-ratio: 21/9; }
@media (max-width: 880px) {
  .g-tall, .g-wide, .g-half, .g-third, .g-full { grid-column: span 12; aspect-ratio: 4/3; }
}

/* FORM */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.field label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); }
.field input, .field textarea, .field select {
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 12px 0; font-family: var(--sans); font-size: 16px; color: var(--ink); outline: none;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--terracotta); }
.field textarea { resize: vertical; min-height: 100px; }
.field.error input, .field.error textarea { border-bottom-color: #b8633e; }
.field .err { font-size: 12px; color: #b8633e; }

/* PROMO CARD */
.promo {
  background: var(--paper);
  padding: clamp(40px, 5vw, 80px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 880px) { .promo { grid-template-columns: 1fr; gap: 32px; } }

/* FULL-BLEED MOSAIC SYSTEM */
.mos { display: grid; gap: 6px; background: var(--bg); }
.mos.r37 { grid-template-columns: 3.2fr 6.8fr; }
.mos.r73 { grid-template-columns: 6.8fr 3.2fr; }
.mos.r64 { grid-template-columns: 6fr 4fr; }
.mos.r11 { grid-template-columns: 1fr 1fr; }
.mos > .tile { height: min(74vh, 760px); }
.mos.tall > .tile { height: min(88vh, 900px); }
.mos.short > .tile { height: min(54vh, 560px); }
.tile { position: relative; overflow: hidden; background: var(--bg-soft); display: block; }
.tile > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.6,.2,1); }
.tile:hover > img { transform: scale(1.05); }
.tile-cap { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; background: linear-gradient(rgba(28,22,17,.58), rgba(28,22,17,.74)); transition: background .6s ease; }
.tile:hover .tile-cap { background: linear-gradient(rgba(28,22,17,.5), rgba(28,22,17,.68)); }
.tile-cap .k { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.tile-cap .t { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 56px); line-height: 1.02; color: #fff; }
.tile-cap .go { margin-top: 22px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: #fff; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 5px; }

/* FLAT OVERLAY CARD */
.flat-card { background: rgba(92,82,74,.94); color: #f7f2ea; padding: clamp(28px, 3vw, 52px); display: flex; flex-direction: column; gap: 22px; }
.flat-card h1, .flat-card h2 { color: #fdfaf4; font-weight: 300; }
.flat-card p { color: #e3dacd; }
.flat-card .btn { border-color: rgba(255,255,255,.55); color: #fdfaf4; }
.flat-card .btn:hover { background: #fdfaf4; color: #2a261f; border-color: #fdfaf4; }
.flat-card .btn.solid { background: rgba(255,255,255,.92); color: #2a261f; border-color: transparent; }
.flat-card .btn.solid:hover { background: #fff; }

/* RULED TEXT BLOCKS */
.ruled > div { border-top: 1px solid rgba(42,38,31,.2); padding: 26px 0 34px; }
.ruled > div:last-child { border-bottom: 1px solid rgba(42,38,31,.2); padding-bottom: 26px; }
.ruled p { color: var(--ink-soft); font-size: 16px; line-height: 1.7; max-width: 52ch; }

/* STATEMENT BAND */
.statement { background: #eae6dd; display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
.statement-text { padding: clamp(72px, 10vw, 150px) clamp(24px, 5vw, 72px) clamp(56px, 7vw, 110px) clamp(24px, 9vw, 150px); }
.statement-photo { height: min(92vh, 940px); }
@media (max-width: 980px) {
  .statement { grid-template-columns: 1fr; }
  .statement-photo { height: auto; aspect-ratio: 4/5; order: -1; }
  .statement-text { padding: 56px 24px 64px; }
}

@media (max-width: 880px) {
  .mos { grid-template-columns: 1fr !important; }
  .mos > .tile { height: auto; aspect-ratio: 4/5; }
  .mos.short > .tile { aspect-ratio: 3/2; }
}

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
