/* ============================================
   DIALS — change these, everything else follows
   ============================================ */

:root {

  /* --- Your palette, kept intact --- */
  --icy-aqua:       #bcf8ec;
  --light-blue:     #aed9e0;
  --lavender-grey:  #9fa0c3;
  --dusty-lavender: #8b687f;
  --vintage-berry:  #7b435b;

  /* --- Two derived shades, pulled from the berry hue --- */
  --deep-plum:      #2b1a21;   /* body text                    */
  --pale-wash:      #f5faf9;   /* page bg                      */
  --lavender-deep:  #775569;   /* muted text on tinted panels  */

  /* --- Roles: what the site actually uses --- */
  --bg:          var(--pale-wash);
  --text:        var(--deep-plum);
  --text-muted:  var(--dusty-lavender);
  --accent:      var(--vintage-berry);   /* links, buttons */
  --line:        #d9e7ea;                /* borders, rules */
  --tint:        var(--icy-aqua);        /* image bg, hover */
  --tint-soft:   #f0f7f6;                /* section washes  */

  /* Type */
  --font-heading: system-ui, -apple-system, sans-serif;
  --font-body:    system-ui, -apple-system, sans-serif;
  --size-h1:      2.5rem;
  --size-h2:      1.5rem;
  --size-body:    1rem;

  /* Layout */
  --max-width:  900px;
  --gap:        2rem;
  --radius:     0;          /* try 4px or 8px for rounded corners */
}


/* ============================================
   RESET
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }
html { scroll-behavior: smooth; }


/* ============================================
   BASE
   ============================================ */

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; }
h1 { font-size: var(--size-h1); color: var(--vintage-berry); }
h2 { font-size: var(--size-h2); }
h3 { font-size: 1.1rem; }

a { color: var(--accent); }

.rule {
  width: 48px;
  height: 3px;
  background: var(--lavender-grey);
  margin: 1.25rem 0 0;
  border: 0;
}

.meta      { color: var(--text-muted); font-size: 0.875rem; }
.lede      { color: var(--text-muted); font-size: 1.125rem; margin-top: 1rem; }
.price     { font-weight: 500; margin-top: 0.25rem; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }


/* ============================================
   HEADER / FOOTER
   ============================================ */

.site-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--light-blue);
}

.logo { font-weight: 500; text-decoration: none; color: var(--vintage-berry); }
.logo img { max-height: 100px; width: auto; }

.site-nav { display: flex; gap: 1.5rem; }
.site-nav a { text-decoration: none; color: var(--text-muted); }
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--text); }

.site-footer {
  max-width: var(--max-width);
  margin: 4rem auto 0;
  padding: 2rem 1.5rem;
  border-top: 2px solid var(--light-blue);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.875rem;
}


/* ============================================
   SECTIONS
   ============================================ */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero, .page-intro { padding: 4rem 0 3rem; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
  padding-bottom: 3rem;
}

.split-item {
  background: var(--tint-soft);
  padding: 1.75rem;
  border-radius: var(--radius);
}

.split-item h2 { margin-bottom: 0.75rem; }
.split-item p  { color: var(--lavender-deep); margin-bottom: 1rem; }

.link { text-decoration: none; border-bottom: 1px solid currentColor; }


/* ============================================
   GALLERY GRID
   ============================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--gap);
  padding-bottom: 3rem;
}

.card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--tint);
  margin-bottom: 0.75rem;
}

.card h3 { color: var(--dusty-lavender); }
.card .price { color: var(--vintage-berry); }


/* ============================================
   PROSE / LISTS
   ============================================ */

.prose { max-width: 65ch; padding-bottom: 3rem; }
.prose h2 { margin: 2.5rem 0 0.75rem; }
.prose p  { margin-bottom: 1rem; }

.list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ============================================
   BUTTON
   ============================================ */

.button {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.6rem 1.2rem;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.9375rem;
}

.button:hover { opacity: 0.85; }


/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 600px) {
  :root { --size-h1: 2rem; --gap: 1.5rem; }
  .site-header { padding: 1.5rem 1.5rem; }
  .hero, .page-intro { padding: 2.5rem 0 2rem; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
