/* ==========================================================================
   De Rode Kat — shared stylesheet
   Vibe reference: Shopify "Studio" theme — gallery-inspired, art-forward,
   editorial serif type, generous whitespace, a single bold accent colour
   framing the work rather than competing with it.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,340;0,9..144,440;0,9..144,560;1,9..144,440&family=Inter:wght@400;500;600&display=swap');

:root{
  --ink:        #1a1712;
  --ink-soft:   #4a453c;
  --muted:      #756e60;
  --paper:      #f7f2e9;
  --paper-deep: #efe7d8;
  --line:       #e2d9c6;
  --red:        #d81818;
  --red-deep:   #a81212;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- eyebrow / small caps label ---------- */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before{
  content: "";
  width: 22px; height: 1px;
  background: var(--red);
}

/* ---------- header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,242,233,.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img{
  width: 34px; height: 34px;
  object-fit: contain;
}
.brand-word{
  font-family: var(--serif);
  font-weight: 560;
  font-size: 21px;
  letter-spacing: .01em;
}
.brand-word em{
  font-style: italic;
  color: var(--red);
}

.main-nav ul{
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}
.main-nav a{
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"]{
  color: var(--red);
  border-color: var(--red);
}
.main-nav a .arrow{
  display: inline-block;
  margin-left: 4px;
  transform: translate(0,0);
  transition: transform .2s ease;
}
.main-nav a:hover .arrow{ transform: translate(2px,-2px); }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--red); color: #fdf8ee; }
.btn-primary:hover{ background: var(--red-deep); }
.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover{ border-color: var(--red); color: var(--red); }

/* ---------- hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  padding: 96px 0 90px;
}
.hero .wrap{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}
.hero-mark{
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-mark img{
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 30px 40px rgba(26,23,18,.12));
}
.hero-mark::after{
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -1;
  background: var(--paper-deep);
  border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%;
}
h1{
  font-family: var(--serif);
  font-weight: 440;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 18px 0 22px;
}
h1 em, .accent{
  font-style: italic;
  color: var(--red);
}
.lede{
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 34px;
}
.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- sections ---------- */
section{ padding: 88px 0; }
.section-tight{ padding: 64px 0; }
.divider{
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

h2{
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  margin: 14px 0 20px;
}

.two-col{
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.panel{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 44px;
}

/* pull quote */
.pull-quote{
  position: relative;
  padding: 70px 0;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
}
.pull-quote blockquote{
  margin: 0 auto;
  max-width: 780px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.35;
}
.pull-quote cite{
  display: block;
  margin-top: 26px;
  font-style: normal;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
}

/* spec / label list, gallery wall-label style */
.spec-list{
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.spec-list li{
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.spec-list dt, .spec-list .k{
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  padding-top: 2px;
}
.spec-list .v{ text-align: right; max-width: 60%; }

/* prose */
.prose p{ margin: 0 0 22px; color: var(--ink-soft); }
.prose p:first-of-type::first-letter{
  font-family: var(--serif);
  font-size: 3.4em;
  float: left;
  line-height: .82;
  margin: .04em .12em 0 0;
  color: var(--red);
}
.signature{
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  margin-top: 8px;
}

/* cards */
.card-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 30px rgba(26,23,18,.08);
}
.card .num{
  font-family: var(--serif);
  font-style: italic;
  color: var(--red);
  font-size: 15px;
}
.card h3{
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  margin: 10px 0 10px;
}
.card p{ color: var(--muted); margin: 0; font-size: 15px; }

/* CTA band */
.cta-band{
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band .wrap{
  padding: 70px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2{ margin: 10px 0 0; }
.cta-band .eyebrow{ margin-bottom: 0; }

/* contact block */
.contact-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.contact-card{
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  background: #fff;
}
.contact-card .k{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.contact-card .v{
  font-family: var(--serif);
  font-size: 20px;
  margin-top: 8px;
}
.contact-card a{ text-decoration: none; }
.contact-card a:hover{ color: var(--red); }

/* footer */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
}
.site-footer .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img{ width: 26px; height: 26px; object-fit: contain; opacity: .85; }
.footer-brand span{
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
}
.footer-links{
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.footer-links a{
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer-links a:hover{ color: var(--red); }
.footer-fine{
  width: 100%;
  margin-top: 30px;
  font-size: 13px;
  color: var(--muted);
}

/* page title band, used on interior pages — shares the .hero grid/mark
   treatment, just trimmed a little shorter and with a bottom rule */
.page-title{
  padding: 70px 0 56px;
  border-bottom: 1px solid var(--line);
}
.page-title .hero-mark img{
  max-width: 300px;
}

@media (max-width: 900px){
  .main-nav ul{ gap: 22px; }
  .hero .wrap{ grid-template-columns: 1fr; }
  .hero-mark{ order: -1; }
  .hero-mark img{ max-width: 220px; }
  .two-col{ grid-template-columns: 1fr; gap: 40px; }
  .card-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  section{ padding: 60px 0; }
}

@media (max-width: 600px){
  .site-header .wrap{ height: auto; padding: 18px 20px; flex-direction: column; gap: 14px; }
  .main-nav ul{ gap: 18px; }
  .wrap{ padding: 0 20px; }
  .cta-band .wrap{ flex-direction: column; align-items: flex-start; }
}
