/* ==========================================================================
   Custom fonts. Both cover Latin only — no Greek glyphs — so Greek text
   falls back to the serif stack automatically, character by character.
   ========================================================================== */

@font-face {
  font-family: "Titles";
  src: url("../fonts/titles.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Welcome";
  src: url("../fonts/welcome.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Portfolio — all styling lives in this one file.
   Layout is plain CSS grid/flexbox; no framework, no build step.
   ========================================================================== */

:root {
  /* Cream taken from the background artwork, so the drawings sit on the
     page seamlessly. Terracotta is the logo/line-art colour. */
  --bg:          #f0e8d5;
  --bg-soft:     #e8dcc2;
  --ink:         #1c1b19;
  --ink-muted:   #6b5f4c;
  --terracotta:  #ae5d40;
  --sage:        #5f7350;
  --sage-dark:   #4e6042;
  --line:        #ded0b3;
  --line-strong: #c9b590;
  --max:         1180px;

  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", serif;
  /* Greek falls through to --font-head, which has full Greek coverage. */
  --font-title:   "Titles", Georgia, "Times New Roman", serif;
  --font-welcome: "Welcome", Georgia, "Times New Roman", serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0;
}

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

main { flex: 1 0 auto; }

/* --------------------------------------------------------------- header -- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo-link { text-decoration: none; display: block; }

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 40px;
}

.logo-box img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* Shown by the inline onerror handler only when the logo file is missing. */
.logo-placeholder-text {
  display: none;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  color: var(--ink-muted);
  font-size: 12px;
  letter-spacing: 0.22em;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover { color: var(--ink); }

.main-nav a.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ------------------------------------------------------ language switch -- */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.lang-btn {
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.lang-btn:hover { color: var(--ink); }

.lang-btn.active {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lang-sep {
  color: var(--line-strong);
  font-size: 12px;
}

/* ----------------------------------------------------------- home page -- */

/* The welcome band: artwork behind, message left, animation right. */
.hero-band {
  background-color: #f0e4d4;
  background-image: url("../images/bg/bg-welcome.jpg");
  background-size: cover;
  /* Sits low in the artwork so the big flower clears the animation. */
  background-position: center 74%;
  border-bottom: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  padding: 64px 24px;
  min-height: 560px;
}

.hero-text { max-width: 560px; }

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin-bottom: 18px;
}

.hero p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

/* Ten frames side by side in one sprite; each keyframe slides to the next.
   The percentages are i / (frames - 1), so the last frame lands flush right. */
.hero-anim {
  width: clamp(150px, 18vw, 230px);
  aspect-ratio: 375 / 582;
  background-image: url("../images/animation/toad-wheel.png");
  background-image: image-set(
    url("../images/animation/toad-wheel.webp") type("image/webp"),
    url("../images/animation/toad-wheel.png") type("image/png"));
  background-size: 1000% 100%;
  background-repeat: no-repeat;
  animation: toad-wheel 1.4s infinite;
  justify-self: end;
}

@keyframes toad-wheel {
  0%,     9.99% { background-position:   0%    0; }
  10%,   19.99% { background-position:  11.111% 0; }
  20%,   29.99% { background-position:  22.222% 0; }
  30%,   39.99% { background-position:  33.333% 0; }
  40%,   49.99% { background-position:  44.444% 0; }
  50%,   59.99% { background-position:  55.556% 0; }
  60%,   69.99% { background-position:  66.667% 0; }
  70%,   79.99% { background-position:  77.778% 0; }
  80%,   89.99% { background-position:  88.889% 0; }
  90%,  100%    { background-position: 100%    0; }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    text-align: center;
    padding: 56px 18px;
  }
  .hero-text { max-width: none; }
  .hero-anim { justify-self: center; }
}

/* A looping animation should stop for anyone who asks for less motion. */
@media (prefers-reduced-motion: reduce) {
  .hero-anim { animation: none; background-position: 0 0; }
}

.home-section { padding-bottom: 72px; }

.home-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.home-section-header h2 { font-size: 1.6rem; }

.home-section-header a {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.home-section-header a:hover { color: var(--ink); }

/* ------------------------------------------------------- page headings -- */

.page-heading {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.page-heading h1 { font-size: clamp(2rem, 5vw, 2.8rem); }

.page-heading p {
  margin: 12px 0 0;
  color: var(--ink-muted);
}

/* ------------------------------------------------------- product grids -- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 40px 28px;
  padding-bottom: 88px;
}

.home-section .product-grid { padding-bottom: 0; }

.product-grid.four-col { grid-template-columns: repeat(4, 1fr); }

.card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s ease, transform 0.6s ease;
}

/* Second photo sits on top, revealed on hover (see README: hover effects). */
.card-media .card-img-alt { opacity: 0; }

.card:hover .card-media .card-img-alt { opacity: 1; }

/* Cards with only one photo get a gentle zoom instead of a swap. */
.card:hover .card-media.single-photo img { transform: scale(1.04); }

.card-body { padding-top: 14px; }

.card-type {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.card-title {
  font-size: 1.05rem;
  line-height: 1.35;
}

.card-price {
  margin: 6px 0 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Placeholder used anywhere an image file is missing. */
.no-photo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  color: var(--ink-muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px;
}

.empty-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 48px 0;
  color: var(--ink-muted);
  text-align: center;
}

/* ------------------------------------------------------ product detail -- */

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  padding: 56px 0 96px;
  align-items: start;
}

.detail-back {
  grid-column: 1 / -1;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

.detail-back:hover { color: var(--ink); }

/* Hover-zoom stage: JS moves transform-origin to follow the cursor. */
.detail-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  cursor: zoom-in;
}

.detail-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.detail-stage:hover img { transform: scale(1.9); }

.detail-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.detail-thumb {
  position: relative;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-thumb:hover { border-color: var(--line-strong); }

.detail-thumb.active { border-color: var(--ink); }

/* A thumbnail is too small for the "photo coming soon" wording — the empty
   box says it well enough, and the button keeps its aria-label. */
.detail-thumb .no-photo { font-size: 0; }

.detail-type {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.detail-info h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 14px;
}

.detail-price {
  font-size: 1.15rem;
  margin: 0 0 24px;
}

.detail-description {
  margin: 0 0 28px;
  color: #3a3833;
}

.detail-specs {
  margin: 0 0 32px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 24px;
  font-size: 0.95rem;
}

.detail-specs dt {
  color: var(--ink-muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-top: 2px;
}

.detail-specs dd { margin: 0; }

/* ---------------------------------------------------- request button -- */

.request-toggle {
  width: 100%;
  padding: 16px 24px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.request-toggle:hover { background: var(--bg); color: var(--ink); }

.request-panel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

/* A class rule beats the browser's own [hidden] rule, so restate it here
   or the panel would start open. */
.request-panel[hidden] { display: none; }

.request-panel a {
  display: block;
  padding: 14px 24px;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.request-panel a:hover { border-color: var(--ink); background: var(--bg-soft); }

/* ---------------------------------------------------------- about page -- */

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  padding-bottom: 96px;
  align-items: start;
}

.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-photo {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
}

.about-photo.photo-main {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-text h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.about-text h2 + p { margin-top: 0; }

.about-text p { color: #3a3833; }

.about-text > h2 ~ h2 { margin-top: 36px; }

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-list a {
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-list a:hover { border-color: var(--ink); background: var(--bg-soft); }

/* --------------------------------------------------------------- footer -- */

.site-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--line);
  padding: 40px 0;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.site-footer p { margin: 0 0 8px; }

.site-footer p:last-child { margin-bottom: 0; font-size: 0.82rem; }

.site-footer a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover { color: var(--ink); }

/* ----------------------------------------------------------- responsive -- */

@media (max-width: 900px) {
  .product-detail,
  .about-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .product-grid.four-col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }

  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .main-nav { gap: 20px; margin-left: 0; }

  .site-header .wrap > .lang-switch { margin-top: -4px; }

  .hero { padding: 56px 18px 40px; }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  /* Cursor-following zoom is meaningless on touch, so turn it off. */
  .detail-stage { cursor: default; }
  .detail-stage:hover img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* The "piece not found" fallback is a single column, not a two-up layout. */
.product-detail.detail-missing {
  grid-template-columns: 1fr;
  gap: 16px;
  text-align: center;
  padding: 96px 0;
}

/* ------------------------------------------------------- type filter -- */

.type-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -16px 0 36px;
}

.filter-btn {
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  background: none;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.filter-btn:hover { color: var(--ink); border-color: var(--ink); }

.filter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* -------------------------------------------------- custom order CTA -- */

.custom-cta {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 56px 32px;
  text-align: center;
}

.custom-cta h2 {
  font-size: 1.7rem;
  margin-bottom: 14px;
}

.custom-cta p {
  margin: 0 auto 28px;
  max-width: 520px;
  color: var(--ink-muted);
}

.cta-button {
  display: inline-block;
  padding: 15px 34px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--ink);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.cta-button:hover { background: transparent; color: var(--ink); }

/* ------------------------------------------------- custom order form -- */

.order-form {
  max-width: 680px;
  margin: 0 0 96px;
}

.form-section {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0 0 44px;
  padding: 32px 0 0;
}

.form-section > legend {
  padding: 0 14px 0 0;
  font-family: var(--font-head);
  font-size: 1.35rem;
}

.field { margin-bottom: 26px; }

.field > label,
.field.group > legend {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.field.group {
  border: 0;
  padding: 0;
  margin-bottom: 30px;
}

.req {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-left: 8px;
}

.order-form input[type="text"],
.order-form input[type="email"],
.order-form input[type="date"],
.order-form select,
.order-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.order-form textarea { resize: vertical; }

.order-form input[type="text"]:focus,
.order-form input[type="email"]:focus,
.order-form input[type="date"]:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.order-form input[type="file"] {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink-muted);
}

.ref-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.ref-photo {
  position: relative;
  width: 84px;
  height: 84px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
}

.ref-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ref-photo-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ref-photo-remove:hover { background: #a12b2b; }

.field.group input[type="text"] { margin-top: 12px; }

.options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.opt {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  color: var(--ink);
  cursor: pointer;
}

.opt input { accent-color: var(--ink); margin: 0; flex-shrink: 0; }

/* Wins over `.field > label { display: block }`, which would otherwise
   collapse the gap between the box and its text. */
.opt.standalone {
  display: flex;
  font-size: 15px;
}

.field-help {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.5;
}

.field-error {
  margin: 8px 0 0;
  font-size: 13px;
  color: #a12b2b;
}

.field.invalid input[type="text"],
.field.invalid input[type="email"] { border-color: #a12b2b; }

.terms-text {
  margin: 0 0 22px;
  padding: 20px 22px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.65;
  color: #3a3833;
}

.form-error-summary {
  margin: 0 0 20px;
  padding: 14px 18px;
  border: 1px solid #a12b2b;
  color: #a12b2b;
  font-size: 14px;
}

/* ----------------------------------------------- form result panel -- */

.order-result {
  max-width: 680px;
  margin: 0 0 96px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.order-result h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.order-result p {
  margin: 0 0 20px;
  color: var(--ink-muted);
}

.order-summary {
  margin: 0 0 24px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 340px;
  overflow-y: auto;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.order-btn {
  display: inline-block;
  padding: 13px 26px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.order-btn:hover { background: transparent; color: var(--ink); }

.order-actions .order-btn + .order-btn {
  background: transparent;
  color: var(--ink);
}

.order-actions .order-btn + .order-btn:hover { background: var(--ink); color: #fff; }

@media (max-width: 640px) {
  .custom-cta { padding: 40px 22px; }
  .order-result { padding: 22px; }
  .options { gap: 10px 16px; }
}


/* ---------------------------------------------------- background art -- */

/* The two drawings from images/bg/bg-ceramics.jpg, placed in the empty
   parts of the page so no product tile can ever sit on top of them. */
.decor {
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.page-heading { position: relative; }

.decor-pottery {
  position: absolute;
  right: 0;
  bottom: 18px;
  width: clamp(88px, 12vw, 168px);
}

/* The toad sits in the bottom-left corner of the gallery, large, behind
   the pieces — the grid paints over it wherever they overlap. */
.gallery-layout {
  position: relative;
  /* Room beneath the grid so the toad's head and body stay clear; only its
     legs run back under the bottom row of pieces. */
  padding-bottom: 150px;
}

.product-grid { position: relative; z-index: 1; }

.decor-toad {
  position: absolute;
  left: -24px;
  bottom: 0;
  width: clamp(200px, 34vw, 430px);
  z-index: 0;
}

@media (max-width: 640px) {
  /* Two columns leave no empty cells, so drop it clear of the captions. */
  .decor-toad {
    left: -28px;
    bottom: -20px;
    width: 200px;
  }
}

@media (max-width: 640px) {
  .decor-pottery { bottom: auto; top: 4px; }
}


/* ------------------------------------------------------- custom fonts -- */

/* The big page title on Ceramics, Sculptures, Custom Orders and About. */
.page-heading h1 {
  font-family: var(--font-title);
  letter-spacing: 0.01em;
}

/* The welcome message itself — the one place the handwriting font goes. */
.hero h1 {
  font-family: var(--font-welcome);
  font-size: clamp(3.4rem, 9vw, 6rem);
  line-height: 1.05;
  margin-bottom: 24px;
}

/* Category headings on the welcome page share the page-title font. */
.home-section-header h2 {
  font-family: var(--font-title);
}

/* Greek has no glyphs in either custom face, so it renders in the serif
   fallback. Bolder weight gives those titles the presence the custom
   fonts provide in English. */
/* "Καλώς ήρθατε" renders in the serif fallback, which sets much larger than
   the handwriting face at the same size — and wrapped onto two lines. */
html[lang="el"] .hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.15;
}

html[lang="el"] .page-heading h1,
html[lang="el"] .home-section-header h2,
html[lang="el"] .hero h1,
html[lang="el"] .detail-info h1,
html[lang="el"] .form-section > legend,
html[lang="el"] .custom-cta h2,
html[lang="el"] .about-text h2 {
  font-weight: 700;
}


/* ------------------------------------------- available on Vinted -- */

/* Green mark on pieces that have a Vinted listing. */
.available-flag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--sage);
  color: #fff;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  white-space: nowrap;
}

/* On the product page it sits in the text column, not over a photo. */
.detail-flag {
  position: static;
  display: inline-block;
  margin-bottom: 14px;
}

/* Buying is the main action for a listed piece, so it leads the panel. */
.request-panel .buy-link {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}

.request-panel .buy-link:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: #fff;
}

.request-note {
  margin: 6px 0 2px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-muted);
}
