/* Art by PaulaV – sivuston tyylit */

/* ---------- Fontit ---------- */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Parisienne";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/parisienne-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Parisienne";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/parisienne-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Playball";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/playball-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playball";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/playball-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Oooh Baby";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/oooh-baby-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Oooh Baby";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/oooh-baby-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Muuttujat ---------- */

:root {
  --bg-light: #ece4da;
  --bg-white: #f6f3ec;
  --bg-card: #fbf9f5;
  --bg-dark: #36302a;
  --ink: #36302a;
  --accent: #574c3f;
  --muted: #7a6d5e;
  --line: rgba(54, 48, 42, 0.14);
  --hero-title: #f9ded3;
  --rose: #f9ded3;
  --rose-soft: #fbeee8;
  --rose-ink: #6b3f36;
  --rose-deep: #9a5f55;
  --sold: #cc3117;
  --field: #eee6e0;

  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-script: "Parisienne", "Brush Script MT", cursive;
  --font-hero: "Playball", "Brush Script MT", cursive;
  --font-hand: "Oooh Baby", "Brush Script MT", cursive;

  --fs-h1: clamp(2.5rem, 1.7rem + 3vw, 4.2rem);
  --fs-h2: clamp(2rem, 1.5rem + 1.9vw, 3rem);
  --fs-h3: clamp(1.6rem, 1.35rem + 1vw, 2.15rem);
  --fs-h4: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem);
  --fs-body: 1rem;
  --fs-small: 0.9rem;

  --radius: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1200px;
  --header-h: 72px;
  --shadow: 0 14px 40px rgba(54, 48, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--bg-white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0;
  line-height: 1.15;
}

h1 em,
h2 em,
h3 em {
  font-style: italic;
  font-weight: 500;
  color: var(--rose-deep);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); color: var(--ink); }

p {
  margin: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--bg-white);
}
.skip-link:focus {
  top: 8px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before,
.section-head--center .eyebrow::after,
.page-head .eyebrow::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1.5px;
  vertical-align: middle;
  background: currentColor;
}

.eyebrow::before {
  margin-right: 12px;
}

.section-head--center .eyebrow::after,
.page-head .eyebrow::after {
  margin-left: 12px;
}

/* ---------- Painikkeet ---------- */

.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 0.95rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover,
.button:hover {
  transform: translateY(-1px);
}

.btn--primary,
.button {
  background: var(--accent);
  color: var(--bg-white);
}

.btn--primary:hover,
.button:hover {
  background: var(--ink);
}

.btn--outline {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--outline:hover {
  background: var(--accent);
  color: var(--bg-white);
}

.btn--light {
  background: var(--bg-white);
  color: var(--ink);
}

.btn--light:hover {
  background: #fff;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  justify-self: start;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 236, 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.site-title {
  font-family: var(--font-hero);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 2;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--rose-deep);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Etusivu: läpinäkyvä yläpalkki heron päällä */
.site-header.is-transparent {
  position: fixed;
  left: 0;
  right: 0;
  background: linear-gradient(rgba(30, 25, 21, 0.5), rgba(30, 25, 21, 0));
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-transparent:not(.is-scrolled) .site-title,
.site-header.is-transparent:not(.is-scrolled) .nav-toggle {
  color: #fff;
}

@media (min-width: 900px) {
  .site-header.is-transparent:not(.is-scrolled) .site-nav a {
    color: #fff;
  }
  .site-header.is-transparent:not(.is-scrolled) .site-nav a::after {
    background: var(--rose);
  }
}

.site-header.is-transparent.is-scrolled,
.nav-open .site-header.is-transparent {
  background: rgba(246, 243, 236, 0.94);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.nav-open .site-header.is-transparent .site-title,
.nav-open .site-header.is-transparent .nav-toggle {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-right: -10px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 0.25s ease;
}

@media (max-width: 899px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    padding: 40px var(--gutter);
    background: var(--bg-white);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .site-nav a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
  }

  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
  }

  /* backdrop-filter tekisi yläpalkista kiinteän valikon sijoituslaatikon,
     jolloin valikon tausta kutistuisi yläpalkin korkuiseksi */
  .nav-open .site-header,
  .nav-open .site-header.is-transparent {
    background: var(--bg-white);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nav-open {
    overflow: hidden;
  }

  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
}

/* ---------- Osiot ---------- */

.section {
  padding: clamp(56px, 8vw, 112px) 0;
}

.section--light { background: var(--bg-light); }
.section--white { background: var(--bg-white); }
.section--dark { background: var(--bg-dark); }
.section--soft { background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Sivun otsikko-osio (alasivut) */
.page-title {
  padding: clamp(32px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
  background: var(--bg-white);
  border-bottom: 1px solid var(--line);
}

/* ---------- Etusivu: hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(520px, 82vh, 780px);
  padding: clamp(96px, 14vw, 160px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
  color: #fff;
  background: var(--bg-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(30, 25, 21, 0.85) 0%, rgba(30, 25, 21, 0.38) 50%, rgba(30, 25, 21, 0.15) 100%),
    linear-gradient(90deg, rgba(30, 25, 21, 0.5) 0%, rgba(30, 25, 21, 0) 65%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero h1 {
  font-family: var(--font-hero);
  font-weight: 400;
  font-size: clamp(3.4rem, 2rem + 6vw, 6.8rem);
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--hero-title);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero__lead {
  max-width: 34em;
  margin-top: 0.75rem;
  font-family: var(--font-hand);
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem);
  letter-spacing: 0.13em;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero .btn-row {
  margin-top: clamp(24px, 3vw, 36px);
}

/* ---------- Etusivu: teosnostot ---------- */

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.card__img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: clamp(16px, 2vw, 24px);
  border: 0;
  background: var(--bg-light);
  cursor: zoom-in;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s ease;
}

.card:hover .card__img img {
  transform: scale(1.04);
}

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px 24px;
}

.card__title {
  font-size: var(--fs-h4);
  color: var(--ink);
}

.card__meta {
  font-size: var(--fs-small);
  color: var(--muted);
}

.card__price {
  margin-top: auto;
  padding-top: 12px;
  font-weight: 600;
  color: var(--accent);
}

.card__price small {
  font-weight: 400;
  color: var(--muted);
}

@media (max-width: 899px) {
  .feature-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-cards > :nth-child(3) {
    display: none;
  }
}

@media (max-width: 559px) {
  .feature-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-cards > :nth-child(3) {
    display: flex;
  }
}

/* ---------- Etusivu: taiteilija ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.about-grid h2 {
  margin-bottom: 1.25rem;
}

.about-grid p + p {
  margin-top: 1rem;
}

.signature {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
  margin: 1.5rem 0 1.75rem;
}

.signature__name {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 2.2rem + 1.4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--accent);
}

.signature__role {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-grid__img {
  position: relative;
  isolation: isolate;
  margin: 0;
}

.about-grid__img::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 7% -5% -5% 9%;
  border-radius: 220px 220px var(--radius) var(--radius);
  background: linear-gradient(160deg, var(--rose) 0%, #e8b9a9 100%);
}

.about-grid__img img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 220px 220px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 799px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-grid__img {
    order: -1;
    max-width: 420px;
  }
}

/* ---------- Etusivu: nauha ---------- */

.band {
  padding: clamp(48px, 6vw, 72px) 0;
  background-color: var(--bg-light);
  background-image: radial-gradient(rgba(154, 95, 85, 0.2) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
}

.band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
}

.band__text {
  max-width: 44rem;
}

.band__text h2 {
  margin-bottom: 0.5rem;
  font-size: var(--fs-h3);
}

/* ---------- Etusivu: info-kortit ---------- */

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(28px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.info-card h3 {
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-card__big {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--accent);
}

.info-card__sub {
  margin-top: 0.25rem;
  font-weight: 500;
}

.info-card__note {
  margin: 0.9rem 0 1.5rem;
  font-size: var(--fs-small);
  color: var(--muted);
}

.info-card .btn {
  margin-top: auto;
}

.info-closing {
  max-width: 40rem;
  margin: clamp(32px, 4vw, 48px) auto 0;
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 1.4rem + 1vw, 2.3rem);
  font-weight: 400;
  color: var(--accent);
  text-align: center;
}

@media (max-width: 799px) {
  .info-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Etusivu: näyttelyt ---------- */

.exhibitions-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 6vw, 80px);
}

.exhibitions {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.exhibitions li {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 4px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.exhibitions time {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--rose-deep);
  white-space: nowrap;
}

.exhibitions strong {
  display: block;
  font-weight: 600;
}

.exhibitions span {
  font-size: var(--fs-small);
  color: var(--muted);
}

.photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2.5vw, 28px);
  margin-top: clamp(40px, 6vw, 72px);
}

.photo-pair .work__img {
  aspect-ratio: 3 / 4;
  margin: 0;
}

.photo-pair img {
  object-fit: cover;
  border-radius: var(--radius);
}

@media (max-width: 799px) {
  .exhibitions-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 479px) {
  .exhibitions li {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Teoslistat (alasivut) ---------- */

.group-title {
  margin-bottom: clamp(20px, 2.5vw, 32px);
  font-size: var(--fs-h2);
}

.group-title--small {
  margin-top: clamp(48px, 6vw, 96px);
  font-size: var(--fs-h3);
}

.works {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 64px);
}

.works + .works {
  margin-top: clamp(40px, 5vw, 72px);
}

.work {
  margin: 0;
}

.work__img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 227 / 270;
  margin-bottom: 14px;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.work__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.work__title {
  font-size: var(--fs-h4);
  line-height: 1.35;
  color: var(--ink);
}

.work__meta {
  margin-top: 0.5em;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--accent);
}

.work__meta p + p {
  margin-top: 0.3em;
}

.works--compact .work__meta {
  margin-top: 0;
  color: var(--ink);
}

.works--compact .work__title {
  margin-bottom: 0.3em;
}

.works--products .work__meta {
  font-size: var(--fs-lead);
  color: var(--ink);
}

.sold {
  color: var(--sold);
}

@media (max-width: 767px) {
  .works {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .works {
    grid-template-columns: minmax(0, 1fr);
    max-width: 360px;
    margin-inline: auto;
  }
}

/* ---------- Teoskortit (Vapaana olevat teokset) ---------- */

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 52px) clamp(20px, 3.5vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 899px) {
  .art-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 559px) {
  .art-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card--art {
  border-top: 4px solid var(--rose);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card--art:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(54, 48, 42, 0.13);
}

.card--art .card__img {
  background: var(--rose-soft);
}

.card--art .card__price {
  margin-top: 10px;
  padding-top: 0;
}

.price-tag {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--rose);
  color: var(--rose-ink);
  font-weight: 600;
}

.card__notes {
  margin: 12px 0 20px;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}

.card__notes li + li {
  margin-top: 4px;
}

.card__cta {
  margin-top: auto;
  width: 100%;
}

.card--sold .card__price {
  margin-top: auto;
  padding-top: 12px;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.sold-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--rose-soft);
  border-top: 4px solid var(--rose);
}

.sold-cta p {
  max-width: 40rem;
  font-size: var(--fs-lead);
}

/* ---------- Tumma kuvaosio (alasivut) ---------- */

.feature {
  display: grid;
  grid-template-columns: 49.5% 1fr;
  background: var(--bg-dark);
}

.feature img {
  width: 100%;
  height: clamp(320px, 50vw, 720px);
  object-fit: cover;
}

.feature__fill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(32px, 6vw, 88px);
  color: #fff;
}

.feature__quote {
  max-width: 22em;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
}

.feature__sign {
  margin: 0.75rem 0 1.75rem;
  font-family: var(--font-script);
  font-size: clamp(2rem, 1.7rem + 1vw, 2.6rem);
  line-height: 1.2;
  color: var(--rose);
}

@media (max-width: 767px) {
  .feature {
    grid-template-columns: 1fr;
  }
  .feature__fill:empty {
    display: none;
  }
}

/* ---------- Yhteydenotto ---------- */

.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  gap: clamp(32px, 8vw, 96px);
}

.contact-split h2 {
  font-size: var(--fs-h2);
}

@media (max-width: 767px) {
  .contact-split {
    grid-template-columns: 1fr;
  }
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 386fr) minmax(0, 466fr);
  gap: clamp(24px, 9vw, 96px);
  max-width: 1000px;
}

.contact-page h1 {
  margin-bottom: clamp(20px, 3vw, 32px);
  font-size: var(--fs-h2);
}

.contact-text p + p {
  margin-top: 0.9em;
}

.contact-logo img {
  width: min(100%, 280px);
  aspect-ratio: 227 / 270;
  object-fit: cover;
  border-radius: var(--radius);
}

.contact-page .form {
  grid-column: 1;
  margin-top: clamp(24px, 4vw, 48px);
}

@media (max-width: 767px) {
  .contact-page {
    grid-template-columns: 1fr;
  }
  .contact-logo {
    order: -1;
  }
  .contact-logo img {
    width: min(60%, 227px);
  }
}

/* ---------- Lomake ---------- */

.form {
  display: grid;
  gap: 20px;
  font-size: var(--fs-small);
  line-height: 1.5;
}

.form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.form legend {
  margin-bottom: 12px;
  padding: 0;
  font-weight: 500;
}

.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.form .req {
  margin-left: 0.3em;
  font-weight: 400;
  color: var(--muted);
}

.form input,
.form textarea {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--field);
  color: var(--ink);
  font: 1rem/1.4 var(--font-body);
}

.form input {
  height: 46px;
}

.form textarea {
  min-height: 110px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: clamp(56px, 7vw, 88px) 0 32px;
  background-color: var(--bg-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cpath d='M0 12 Q12 2 24 12 T48 12' fill='none' stroke='%23e2d6c8' stroke-width='1'/%3E%3C/svg%3E");
  border-top: 1px solid var(--line);
}

.footer-brand {
  text-align: center;
}

.footer-brand__name {
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-brand__tagline {
  margin-top: 0.5rem;
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 1.5rem + 1vw, 2.4rem);
  font-weight: 400;
  color: var(--accent);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.footer-cols h2 {
  margin-bottom: 0.9rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.footer-cols ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-cols li + li {
  margin-top: 0.4rem;
}

.footer-cols a {
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-cols a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: clamp(40px, 5vw, 56px);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 699px) {
  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }
}

/* ---------- Tunnelma: otsikkoviiva, lainausnauha, sivun yläosa, taustat ---------- */

.section-head h2,
.group-title {
  position: relative;
  padding-bottom: 14px;
}

.section-head h2::after,
.group-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--rose-deep);
}

.section-head--center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.section--rose {
  background: linear-gradient(135deg, var(--rose-soft) 0%, var(--rose) 100%);
}

.section--dots {
  background-color: var(--bg-white);
  background-image: radial-gradient(rgba(154, 95, 85, 0.12) 1.2px, transparent 1.6px);
  background-size: 24px 24px;
}

.quote-band {
  padding: clamp(64px, 9vw, 120px) 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--rose-deep) 100%);
  color: #fff;
  text-align: center;
}

.quote-band blockquote {
  max-width: 46rem;
  margin: 0 auto;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.8rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
}

.quote-band__sign {
  margin-top: 1rem;
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 1.8rem + 1.4vw, 3rem);
  line-height: 1.2;
  color: var(--rose);
}

.page-head {
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.75), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(249, 222, 211, 0.9), transparent 50%),
    linear-gradient(135deg, var(--bg-white) 0%, var(--rose-soft) 100%);
  border-bottom: 1px solid var(--line);
}

.page-head__lead {
  max-width: 36rem;
  margin: 1rem auto 0;
  font-size: var(--fs-lead);
  color: var(--muted);
}

/* ---------- Reveal-animaatio ---------- */

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card__img img,
  .site-nav a::after {
    transition: none;
  }
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 56px 16px;
  background: rgba(246, 243, 236, 0.97);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 112px);
  width: auto;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--ink);
  font: 2rem/1 var(--font-body);
  cursor: pointer;
}

/* ---------- 404 ---------- */

.not-found {
  min-height: 50vh;
  text-align: center;
}

.not-found p {
  margin: 1em 0 2em;
}

.section--flush {
  padding-top: 0;
}
