/* Behind Green Eyes v2.3.0 — trilingual site */
:root {
  --bg: #eef8fb;
  --bg-2: #d9f0f2;
  --surface: #f8fdff;
  --surface-2: rgba(248, 253, 255, .82);
  --ink: #173238;
  --muted: #527176;
  --soft: #789aa0;
  --green: #4d9b8a;
  --green-2: #116b66;
  --sage: #d9f4ee;
  --sand: #f2b6c8;
  --pink: #e78aa8;
  --blue: #4f9fcd;
  --line: rgba(17, 107, 102, .16);
  --shadow: 0 24px 70px rgba(20, 65, 75, .13);
  --shadow-soft: 0 14px 36px rgba(20, 65, 75, .09);
  --radius-xl: 34px;
  --radius: 24px;
  --radius-md: 18px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  background:
    radial-gradient(circle at 7% -10%, rgba(231,138,168, .70), transparent 38rem),
    radial-gradient(circle at 94% 4%, rgba(77,155,138, .18), transparent 36rem),
    linear-gradient(180deg, #f6fdff 0%, var(--bg) 48%, #e9f7fa 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .34;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='720' height='720' viewBox='0 0 720 720'%3E%3Crect width='720' height='720' fill='none'/%3E%3Cg fill='none' stroke='%23116b66' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' opacity='.30'%3E%3Cpath d='M90 120c30-36 92-36 122 0 20 24 20 56 0 80-28 33-94 38-122 0-20-24-20-56 0-80z'/%3E%3Ccircle cx='151' cy='160' r='15'/%3E%3Cpath d='M132 205c-18 18-18 44 4 60 14 10 30 11 46 5'/%3E%3C/g%3E%3Cg fill='none' stroke='%23e78aa8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' opacity='.36'%3E%3Cpath d='M326 96c20 0 37 17 37 37 0 15-10 29-24 34-8 2-14 4-20 10-6-6-12-8-20-10-14-5-24-19-24-34 0-20 17-37 37-37 6 0 10 1 14 3 4-2 8-3 14-3z'/%3E%3Cpath d='M364 165c18 10 30 28 34 48 4 18 1 39-9 56-8 14-21 27-40 34'/%3E%3C/g%3E%3Cg fill='none' stroke='%23116b66' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' opacity='.24'%3E%3Cpath d='M520 146c16-14 41-16 60-5 22 13 31 40 22 64-8 21-28 35-50 35-19 0-37-10-47-27-11-19-8-48 15-67z'/%3E%3Cpath d='M548 132l6 18 18 6-18 6-6 18-6-18-18-6 18-6z'/%3E%3C/g%3E%3Cg fill='none' stroke='%234f9fcd' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' opacity='.30'%3E%3Cpath d='M101 422c45-39 111-44 165-13'/%3E%3Cpath d='M168 378c-10 18-10 39 0 57 17 29 58 39 87 22 24-14 36-46 25-72-12-29-46-43-76-33'/%3E%3Cpath d='M257 410c26 19 43 48 48 80'/%3E%3C/g%3E%3Cg fill='none' stroke='%23116b66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='.26'%3E%3Cpath d='M412 402c0-31 25-56 56-56 25 0 46 16 53 39 2 9 2 17 0 26'/%3E%3Cpath d='M448 453c12 14 30 22 49 22 36 0 66-30 66-66 0-16-6-31-16-42'/%3E%3Ccircle cx='469' cy='403' r='13'/%3E%3C/g%3E%3Cg fill='none' stroke='%23e78aa8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' opacity='.34'%3E%3Cpath d='M580 500c18-20 44-32 72-32 28 0 54 12 72 32'/%3E%3Cpath d='M616 468c-10-18-10-39 0-57 14-25 45-38 73-31 22 6 41 25 46 48'/%3E%3Cpath d='M617 534c12-8 20-22 20-37 0-25-21-46-46-46'/%3E%3C/g%3E%3Cg fill='%23116b66' opacity='.16'%3E%3Ccircle cx='108' cy='610' r='5'/%3E%3Ccircle cx='332' cy='587' r='4'/%3E%3Ccircle cx='541' cy='611' r='5'/%3E%3Ccircle cx='662' cy='244' r='4'/%3E%3Ccircle cx='257' cy='254' r='3.8'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 720px 720px;
  background-position: center top;
}

a, a:link, a:visited, a:hover, a:active {
  color: inherit;
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-underline-offset: 0 !important;
  border-bottom: 0 !important;
}
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 82px;
  padding: .9rem clamp(1rem, 4vw, 4rem);
  background: rgba(246, 239, 229, .78);
  backdrop-filter: blur(22px) saturate(1.08);
  border-bottom: 1px solid rgba(17,107,102, .10);
  box-shadow: 0 10px 34px rgba(20,65,75, .055);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  padding: .15rem .55rem .15rem .15rem;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease;
}
.brand:hover { transform: translateY(-1px); background: rgba(248,253,255,.65); }
.brand-logo-mark {
  width: 58px;
  height: 50px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 16px rgba(20,65,75,.10));
}
.brand-text strong {
  display: block;
  font-family: var(--serif);
  line-height: .95;
  font-size: 1.65rem;
  letter-spacing: -.02em;
}
.brand-text small {
  display: block;
  margin-top: .1rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: .22rem;
  padding: .3rem;
  border-radius: 999px;
  background: rgba(248,253,255,.66);
  border: 1px solid rgba(17,107,102, .10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.68), 0 8px 18px rgba(20,65,75,.04);
}
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: .56rem .95rem;
  border-radius: 999px;
  color: #45666c;
  font-weight: 750;
  font-size: .91rem;
  letter-spacing: .005em;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.main-nav a::before, .main-nav a::after { content: none !important; display: none !important; }
.main-nav a:hover {
  color: var(--green-2);
  background: rgba(77,155,138,.10);
  transform: translateY(-1px);
}
.main-nav a.active {
  color: #f8fdff;
  background: linear-gradient(135deg, var(--green-2), #2d9286);
  box-shadow: 0 10px 24px rgba(17,107,102,.20);
}
.main-nav .admin-link {
  color: var(--green-2);
  background: rgba(77,155,138,.12);
}
.menu-button { display: none; }

main { min-height: calc(100vh - 170px); }

/* Typography and shared components */
h1, h2, h3 { margin: 0; font-family: var(--serif); line-height: 1.03; letter-spacing: -.035em; }
.eyebrow {
  margin: 0 0 .7rem;
  color: var(--green-2);
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: .76rem;
  font-weight: 850;
}
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 650px; }
.button, .filter-pill, .text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 44px;
  border: 1px solid rgba(17,107,102, .13);
  border-radius: 999px;
  padding: .72rem 1.08rem;
  background: rgba(248,253,255,.72);
  color: var(--green-2);
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(20,65,75,.055);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.button:hover, .filter-pill:hover, .text-button:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(20,65,75,.105); }
.button.primary { background: linear-gradient(135deg, var(--green-2), #2d9286); color: #f8fdff; border-color: transparent; }
.button.ghost { background: rgba(248,253,255,.54); }
.button.small { min-height: 36px; padding: .48rem .78rem; font-size: .84rem; }
.button.danger { background: #b84f76; color: white; border-color: #b84f76; }
.button.full { width: 100%; }
.text-button { min-height: 40px; padding: .55rem .9rem; }

/* Home */
.hero {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(2rem, 6vw, 5.4rem);
  align-items: center;
  padding: clamp(3.2rem, 8vw, 7.2rem) 0 clamp(2rem, 5vw, 4rem);
}
.hero h1 {
  font-size: clamp(4.5rem, 10vw, 9.6rem);
  line-height: .83;
  max-width: 820px;
}
.hero-actions, .sticky-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.hero-showcase {
  display: grid;
  gap: 1rem;
}
.showcase-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.showcase-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  border-radius: var(--radius-xl);
  padding: 1.35rem;
  border: 1px solid rgba(255,255,255,.60);
  background:
    linear-gradient(145deg, rgba(248,253,255,.74), rgba(223,233,217,.55)),
    radial-gradient(circle at 20% 0%, rgba(231,138,168,.75), transparent 18rem);
  box-shadow: var(--shadow);
}
.showcase-card::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(248,253,255,.55);
  border-radius: calc(var(--radius-xl) - .7rem);
  pointer-events: none;
}
.showcase-card.large {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(145deg, rgba(248,253,255,.55), rgba(77,155,138,.28)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'%3E%3Cg fill='none' stroke='%23116b66' stroke-width='3' stroke-opacity='.26'%3E%3Cpath d='M72 428C156 298 174 245 230 90'/%3E%3Cpath d='M124 424c65-92 160-98 270-260'/%3E%3Cpath d='M178 354c44-84 124-73 191-156'/%3E%3C/g%3E%3Cg fill='%23e78aa8' fill-opacity='.75'%3E%3Ccircle cx='112' cy='392' r='18'/%3E%3Ccircle cx='225' cy='112' r='15'/%3E%3Ccircle cx='393' cy='181' r='20'/%3E%3Ccircle cx='320' cy='246' r='11'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
}
.showcase-card.large strong {
  position: relative;
  max-width: 330px;
  color: var(--green-2);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: .95;
  letter-spacing: -.035em;
}
.showcase-label, .showcase-card.small span {
  position: relative;
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: .45rem .75rem;
  background: rgba(248,253,255,.72);
  color: var(--green-2);
  font-weight: 850;
}
.showcase-card.small { min-height: 150px; display: flex; align-items: flex-end; }
.showcase-card.small.accent { background: linear-gradient(145deg, rgba(248,253,255,.78), rgba(231,138,168,.55)); }

.category-strip, .split-cards, .section-block, .soft-panel, .text-page, .work-detail, .page-hero, .about-page-shell, .about-note {
  width: min(1180px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}
.category-strip, .split-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 0 3rem;
}
.category-tile, .split-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(17,107,102, .12);
  border-radius: var(--radius-xl);
  background: rgba(248,253,255,.72);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.category-tile:hover, .split-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(20,65,75,.13); border-color: rgba(77,155,138,.25); }
.category-tile.handmade { background: linear-gradient(145deg, rgba(248,253,255,.84), rgba(231,138,168,.43)); }
.category-tile.photo { background: linear-gradient(145deg, rgba(248,253,255,.84), rgba(223,233,217,.63)); }
.tile-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green-2);
  color: #f8fdff;
  margin-bottom: 1.2rem;
}
.category-tile small { color: var(--green-2); text-transform: uppercase; letter-spacing: .16em; font-weight: 850; }
.category-tile h2, .split-card h2 { margin-top: .3rem; font-size: clamp(2.6rem, 5vw, 4rem); }
.category-tile p, .split-card p, .soft-panel p, .text-page p, .page-hero p { color: var(--muted); max-width: 620px; }

.section-block { padding: 2rem 0 4rem; }
.section-block.no-top { padding-top: 0; }
.section-title { margin-bottom: 1.4rem; }
.clean-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.section-title h2, .soft-panel h2, .page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }

/* Gallery cards */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.05rem;
}
.work-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(248,253,255,.86);
  border: 1px solid rgba(17,107,102, .12);
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.work-card:hover { transform: translateY(-5px); box-shadow: 0 24px 52px rgba(20,65,75,.14); border-color: rgba(77,155,138,.26); }
.work-image { aspect-ratio: 4 / 4.55; overflow: hidden; background: var(--bg-2); }
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .42s ease, filter .42s ease; }
.work-card:hover .work-image img { transform: scale(1.045); filter: saturate(1.03); }
.placeholder-image, .detail-placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-size: 3.5rem; background: linear-gradient(145deg, rgba(231,138,168,.5), rgba(223,233,217,.65));
}
.work-info { padding: 1.08rem 1.12rem 1.25rem; min-height: 136px; }
.work-info span {
  color: var(--green-2);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.work-info h3 { margin-top: .34rem; font-size: clamp(1.55rem, 2.2vw, 2rem); }
.work-info p { margin-bottom: 0; color: var(--muted); line-height: 1.5; }

.page-hero.small, .soft-panel, .text-page, .empty-state {
  margin-top: 2rem;
  margin-bottom: 3rem;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid rgba(17,107,102, .12);
  border-radius: var(--radius-xl);
  background: rgba(248,253,255,.72);
  box-shadow: var(--shadow-soft);
}
.page-hero.small { margin-bottom: 2.2rem; }
.gallery-hero, .contact-hero {
  background: linear-gradient(145deg, rgba(248,253,255,.84), rgba(223,233,217,.45));
}
.intro-panel { background: linear-gradient(145deg, rgba(248,253,255,.84), rgba(231,138,168,.30)); }
.text-page { max-width: 880px; }
.text-page h2 { font-size: 2.55rem; }
.contact-box a, .pro-contact a { color: var(--green-2); font-weight: 900; background: rgba(77,155,138,.10); border-radius: 999px; padding: .2rem .55rem; }

.filter-row {
  width: min(1180px, calc(100% - 2rem));
  margin: -1rem auto 2rem;
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
}
.filter-pill {
  min-height: 42px;
  background: rgba(248,253,255,.80);
  color: #45666c;
  border-color: rgba(17,107,102,.12);
}
.filter-pill.active {
  color: #f8fdff;
  background: linear-gradient(135deg, var(--green-2), #2d9286);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(17,107,102,.18);
}
.filter-pill.active::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: #f8fdff; opacity: .9; }

/* Detail page */
.work-detail { padding: 2rem 0 5rem; }
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 1rem;
  border-radius: 999px;
  padding: .48rem .82rem;
  background: rgba(248,253,255,.72);
  color: var(--green-2);
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(20,65,75,.055);
}
.work-detail-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 1.4rem; align-items: start; }
.main-work-image, .detail-placeholder {
  width: 100%; max-height: 760px; object-fit: contain; border-radius: var(--radius-xl); background: rgba(248,253,255,.72); box-shadow: var(--shadow);
}
.detail-placeholder { min-height: 500px; }
.thumb-row { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: .8rem; }
.thumb-button { border: 2px solid transparent; padding: 0; background: transparent; border-radius: 16px; overflow: hidden; cursor: pointer; box-shadow: 0 8px 18px rgba(20,65,75,.08); }
.thumb-button:hover { border-color: var(--green); }
.thumb-button img { width: 86px; height: 86px; object-fit: cover; }
.work-detail-text {
  position: sticky; top: 100px; padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--radius-xl); background: rgba(248,253,255,.82); border: 1px solid rgba(17,107,102,.12); box-shadow: var(--shadow-soft);
}
.work-detail-text h1 { font-size: clamp(2.8rem, 5vw, 5rem); }
.rich-text { color: var(--muted); margin-top: 1rem; }

/* About */
.about-page-shell { margin-top: clamp(2rem, 5vw, 4rem); margin-bottom: 1.2rem; }
.about-panel.pro-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 270px);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.35rem, 4vw, 3rem);
  border-radius: 38px;
  border: 1px solid rgba(17,107,102,.12);
  background:
    linear-gradient(135deg, rgba(248,253,255,.90), rgba(247,239,229,.72)),
    radial-gradient(circle at 0% 0%, rgba(77,155,138,.13), transparent 24rem);
  box-shadow: var(--shadow);
}
.about-copy { padding: 0; }
.about-copy h1 { font-size: clamp(3.4rem, 7vw, 6.2rem); }
.about-copy .lead { color: var(--green-2); font-weight: 550; }
.about-copy p:not(.eyebrow):not(.lead) { max-width: 740px; color: var(--muted); font-size: 1.02rem; }
.about-photo-column.compact { display: grid; justify-items: center; gap: .8rem; }
.about-photo-card {
  width: min(100%, 235px);
  margin: 0;
  padding: .5rem;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(248,253,255,.82);
  border: 1px solid rgba(17,107,102,.12);
  box-shadow: 0 16px 38px rgba(20,65,75,.13);
}
.about-photo-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 34%; border-radius: 22px; }
.about-photo-caption {
  width: min(100%, 235px);
  padding: .78rem 1rem;
  border-radius: 20px;
  background: rgba(77,155,138,.10);
  border: 1px solid rgba(77,155,138,.14);
  text-align: center;
  color: var(--green-2);
}
.about-photo-caption strong { display: block; font-family: var(--serif); font-size: 1.65rem; line-height: 1; }
.about-photo-caption span { display: block; margin-top: .2rem; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .05em; }
.about-note.compact-note {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: 1.4rem;
  margin-bottom: 4rem;
  padding: clamp(1.35rem, 4vw, 2.4rem);
  border-radius: 30px;
  border: 1px solid rgba(17,107,102,.12);
  background: rgba(248,253,255,.70);
  box-shadow: var(--shadow-soft);
}
.about-note h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.about-note p { color: var(--muted); margin: 0; }

.empty-state { text-align: center; }
.empty-state h2, .empty-state h3 { font-size: 2.2rem; }

/* Footer */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid rgba(17,107,102,.10);
  background: rgba(248,253,255,.38);
  color: var(--muted);
}
.site-footer strong { display: block; color: var(--ink); }
.footer-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.site-footer a { padding: .45rem .75rem; border-radius: 999px; background: rgba(248,253,255,.62); color: var(--green-2); font-weight: 850; }

/* Admin */
.admin-body {
  background:
    radial-gradient(circle at 0% 0%, rgba(231,138,168,.46), transparent 32rem),
    radial-gradient(circle at 100% 0%, rgba(77,155,138,.15), transparent 30rem),
    #edf8fb;
}
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 76px;
  padding: .9rem clamp(1rem, 4vw, 3rem);
  background: rgba(248,253,255,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17,107,102,.10);
  box-shadow: 0 12px 32px rgba(20,65,75,.055);
}
.admin-logo { display: inline-flex; align-items: center; gap: .8rem; color: var(--green-2); }
.admin-logo-mark { width: 58px; height: 50px; object-fit: contain; flex: 0 0 auto; filter: drop-shadow(0 8px 16px rgba(20,65,75,.10)); }
.admin-logo strong { font-weight: 900; }
.admin-topbar nav { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.admin-topbar nav a, .inline-form button {
  border: 0; min-height: 38px; display: inline-flex; align-items: center; padding: .52rem .82rem; border-radius: 999px;
  background: rgba(77,155,138,.09); color: var(--green-2); font-weight: 850; cursor: pointer; transition: transform .18s ease, background .18s ease;
}
.admin-topbar nav a:hover, .inline-form button:hover { transform: translateY(-1px); background: rgba(77,155,138,.15); }
.admin-main { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 5rem; }
.login-card, .form-card, .admin-page-title, .admin-entry-row {
  border-radius: var(--radius);
  background: rgba(248,253,255,.88);
  border: 1px solid rgba(17,107,102,.12);
  box-shadow: var(--shadow-soft);
}
.login-card { width: min(460px, calc(100% - 2rem)); margin: 4rem auto; padding: 2rem; }
.login-brand-block { display: grid; justify-items: center; margin-bottom: 1.1rem; text-align: center; }
.login-brand-logo { width: min(285px, 88%); height: auto; object-fit: contain; filter: drop-shadow(0 14px 28px rgba(20,65,75,.10)); }
.login-card h1, .admin-page-title h1 { font-size: 2.45rem; }
.form-stack, .admin-form, .form-card label { display: grid; gap: .85rem; }
.form-stack label, .form-card label { color: var(--green-2); font-weight: 850; }
input, textarea, select {
  width: 100%; padding: .86rem 1rem; border: 1px solid rgba(17,107,102,.16); border-radius: 16px; background: rgba(255,255,255,.86); color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input:focus, textarea:focus, select:focus { outline: none; background: #fff; border-color: rgba(77,155,138,.52); box-shadow: 0 0 0 4px rgba(77,155,138,.12); }
textarea { resize: vertical; }
.admin-page-title { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1.25rem; padding: 1.2rem 1.25rem; }
.admin-page-title p { margin: .25rem 0 0; color: var(--muted); }
.admin-list { display: grid; gap: .8rem; }
.admin-entry-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .85rem; }
.admin-entry-thumb { width: 112px; height: 112px; border-radius: 20px; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; font-size: 2rem; }
.admin-entry-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-title { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.row-title h2 { font-size: 1.75rem; }
.admin-entry-main p, .admin-entry-main small { color: var(--muted); }
.admin-entry-actions { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
.inline-form { display: inline; }
.badge { display: inline-flex; align-items: center; padding: .28rem .58rem; border-radius: 999px; background: rgba(77,155,138,.14); color: var(--green-2); font-size: .75rem; font-weight: 900; }
.badge.muted { background: rgba(184,79,118,.12); color: #b84f76; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 1rem; }
.form-card { padding: 1.3rem; }
.form-card h2 { font-size: 2rem; margin-bottom: 1rem; }
.check-line { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: .6rem !important; }
.check-line input { width: auto; }
.help-text { color: var(--muted); font-size: .9rem; }
.upload-card, .image-manager { margin-top: 1rem; }
.sticky-actions {
  position: sticky; bottom: 1rem; z-index: 5; padding: .8rem; border-radius: 999px; background: rgba(248,253,255,.88); backdrop-filter: blur(12px); border: 1px solid rgba(17,107,102,.12); width: fit-content;
}
.alert { padding: .9rem 1rem; border-radius: 16px; margin-bottom: 1rem; font-weight: 850; }
.alert.error { background: rgba(184,79,118,.12); color: #b84f76; border: 1px solid rgba(184,79,118,.2); }
.admin-image-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.admin-image-card { position: relative; padding: .7rem; border-radius: 20px; background: rgba(246,239,229,.82); border: 1px solid rgba(17,107,102,.12); }
.admin-image-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 15px; }
.image-badge { position: absolute; top: 1rem; left: 1rem; background: var(--green-2); color: white; }
.image-actions { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: .6rem; }
.admin-empty { text-align: left; }

@media (max-width: 980px) {
  .main-nav { display: none; position: absolute; top: 76px; left: 1rem; right: 1rem; flex-direction: column; align-items: stretch; border-radius: 24px; padding: .65rem; }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; justify-content: flex-start; border-radius: 17px; }
  .menu-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: .55rem .82rem; border: 1px solid rgba(17,107,102,.13); border-radius: 999px; background: rgba(248,253,255,.76); color: var(--green-2); font-weight: 850; box-shadow: 0 8px 18px rgba(20,65,75,.06); }
  .hero, .work-detail-grid, .form-grid, .about-panel.pro-about, .about-note.compact-note { grid-template-columns: 1fr; }
  .about-photo-column.compact { justify-items: start; }
  .category-strip, .split-cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-detail-text { position: static; }
  .admin-entry-row { grid-template-columns: 86px 1fr; }
  .admin-entry-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .admin-entry-thumb { width: 86px; height: 86px; }
  .admin-image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .site-header { min-height: 70px; }
  .brand-text small { display: none; }
  .brand-logo-mark { width: 52px; height: 46px; }
  .hero { padding-top: 2rem; }
  .hero h1 { font-size: clamp(3.35rem, 17vw, 4.5rem); }
  .showcase-card.large { min-height: 300px; }
  .showcase-row, .gallery-grid { grid-template-columns: 1fr; }
  .clean-title, .site-footer, .admin-page-title, .admin-topbar { flex-direction: column; align-items: flex-start; }
  .footer-links { width: 100%; }
  .about-photo-card, .about-photo-caption { width: min(100%, 220px); }
  .admin-image-grid { grid-template-columns: 1fr; }
  .sticky-actions { width: 100%; border-radius: 20px; }
}


/* Inline CMS editor */
body.cms-modal-open {
  overflow: hidden;
}
.cms-toolbar {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .7rem;
  border-radius: 999px;
  background: rgba(17,107,102, .94);
  color: #f8fdff;
  box-shadow: 0 18px 44px rgba(20,65,75,.22);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(248,253,255,.18);
  font-size: .86rem;
  font-weight: 850;
}
.cms-toolbar a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .42rem .7rem;
  border-radius: 999px;
  color: var(--green-2);
  background: #f8fdff;
  font-weight: 900;
}
.cms-editable {
  position: relative;
  display: inline;
  border-radius: .45rem;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.cms-editable:hover .cms-value {
  outline: 1px dashed rgba(77,155,138,.42);
  outline-offset: .18rem;
  background: rgba(248,253,255,.38);
}
.cms-edit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin-left: .35rem;
  padding: .22rem .46rem;
  border: 0;
  border-radius: 999px;
  color: #f8fdff;
  background: rgba(17,107,102,.92);
  box-shadow: 0 8px 18px rgba(20,65,75,.14);
  font-family: var(--sans);
  font-size: .68rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .02em;
  cursor: pointer;
  vertical-align: middle;
}
.cms-edit-button:hover {
  background: #0d4c4a;
}
.cms-modal[hidden] {
  display: none;
}
.cms-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.cms-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14,45,55, .38);
  backdrop-filter: blur(8px);
}
.cms-modal-card {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  padding: clamp(1.1rem, 3vw, 1.7rem);
  border-radius: 28px;
  border: 1px solid rgba(17,107,102,.14);
  background: rgba(248,253,255,.96);
  box-shadow: 0 26px 90px rgba(20,65,75,.28);
}
.cms-modal-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.cms-modal-card label {
  display: grid;
  gap: .5rem;
  color: var(--green-2);
  font-weight: 900;
}
.cms-modal-card textarea {
  min-height: 120px;
}
.cms-modal-close {
  position: absolute;
  right: .85rem;
  top: .85rem;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(77,155,138,.10);
  color: var(--green-2);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}
.cms-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: .65rem;
  margin-top: 1rem;
}
.admin-inline-actions {
  margin-top: 1.4rem;
}
@media (max-width: 620px) {
  .cms-toolbar {
    left: 1rem;
    right: 1rem;
    bottom: .75rem;
    transform: none;
    justify-content: space-between;
    border-radius: 18px;
  }
  .cms-edit-button {
    min-height: 22px;
    font-size: .62rem;
    padding: .2rem .4rem;
  }
  .cms-modal-actions {
    flex-direction: column;
  }
}


/* Artistic muted backgrounds under content blocks */
.section-block,
.soft-panel,
.text-page,
.about-page-shell,
.about-note,
.page-hero,
.work-detail,
.filter-row,
.category-strip {
  position: relative;
}

.section-block::before,
.soft-panel::before,
.text-page::before,
.about-page-shell::before,
.about-note::before,
.page-hero::before,
.work-detail::before,
.filter-row::before,
.category-strip::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  border-radius: calc(var(--radius-xl) + 10px);
  background:
    linear-gradient(145deg, rgba(248,253,255,.36), rgba(248,253,255,.12)),
    radial-gradient(circle at 15% 20%, rgba(77,155,138,.08), transparent 12rem),
    radial-gradient(circle at 85% 80%, rgba(231,138,168,.12), transparent 12rem);
}

.gallery-grid .work-card,
.admin-entry-row,
.login-card,
.form-card,
.admin-page-title,
.contact-box,
.about-panel,
.about-photo-card,
.about-photo-caption {
  backdrop-filter: blur(6px);
}

.gallery-grid .work-card {
  overflow: hidden;
}
.gallery-grid .work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(77,155,138,.05) 100%);
}

@media (max-width: 700px) {
  body::before {
    opacity: .24;
    background-size: 520px 520px;
  }
}


/* Process / work-in-progress category */
.category-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-tile.process {
  background:
    linear-gradient(145deg, rgba(248,253,255,.82), rgba(223,233,217,.50)),
    radial-gradient(circle at 20% 0%, rgba(77,155,138,.18), transparent 17rem),
    radial-gradient(circle at 90% 100%, rgba(231,138,168,.32), transparent 14rem);
}

.category-tile.process .tile-icon {
  color: var(--green-2);
  background: rgba(248,253,255,.72);
}

@media (max-width: 980px) {
  .category-strip {
    grid-template-columns: 1fr;
  }
}


/* Editable menu labels */
.main-nav .cms-editable,
.footer-links .cms-editable,
.admin-topbar .cms-editable {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}

.main-nav .cms-edit-button,
.footer-links .cms-edit-button,
.admin-topbar .cms-edit-button {
  min-height: 20px;
  margin-left: .18rem;
  padding: .18rem .36rem;
  font-size: .58rem;
  box-shadow: none;
  background: rgba(17,107,102,.82);
}

.main-nav a.active .cms-edit-button {
  background: rgba(248,253,255,.24);
  color: #f8fdff;
  border: 1px solid rgba(248,253,255,.22);
}

.footer-links .cms-edit-button {
  background: rgba(17,107,102,.88);
}

.admin-topbar .cms-edit-button {
  background: rgba(17,107,102,.82);
}


/* Full palette override: tasteful blue, green and pink, without beige */
body {
  background:
    radial-gradient(circle at 8% -8%, rgba(79, 159, 205, .26), transparent 36rem),
    radial-gradient(circle at 92% 2%, rgba(231, 138, 168, .24), transparent 34rem),
    radial-gradient(circle at 50% 85%, rgba(77, 155, 138, .15), transparent 38rem),
    linear-gradient(180deg, #f6fdff 0%, #eef8fb 46%, #e9f7fa 100%);
}

body::before {
  opacity: .30;
}

.site-header {
  background: rgba(238, 248, 251, .80);
  border-bottom-color: rgba(17,107,102,.13);
}

.brand-logo,
.admin-logo-mark,
.login-brand-logo {
  background: rgba(248,253,255,.94);
}

.main-nav {
  background: rgba(248,253,255,.72);
  border-color: rgba(17,107,102,.13);
}

.main-nav a {
  color: #45666c;
}

.main-nav a:hover {
  color: var(--green-2);
  background: rgba(77,155,138,.12);
}

.main-nav a.active,
.button.primary {
  background: linear-gradient(135deg, #116b66, #2d9286 58%, #4f9fcd);
  color: #f8fdff;
}

.button,
.filter-pill,
.text-button,
.site-footer a {
  background: rgba(248,253,255,.78);
  color: var(--green-2);
  border-color: rgba(17,107,102,.15);
}

.showcase-card,
.category-tile,
.work-card,
.soft-panel,
.text-page,
.about-panel,
.about-note,
.page-hero,
.login-card,
.form-card,
.admin-page-title,
.admin-entry-row {
  background:
    linear-gradient(145deg, rgba(248,253,255,.88), rgba(217,244,238,.58)),
    radial-gradient(circle at 85% 8%, rgba(231,138,168,.13), transparent 16rem);
  border-color: rgba(17,107,102,.14);
}

.showcase-card.large {
  background:
    linear-gradient(145deg, rgba(248,253,255,.58), rgba(77,155,138,.22)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'%3E%3Cg fill='none' stroke='%23116b66' stroke-width='3' stroke-opacity='.24'%3E%3Cpath d='M72 428C156 298 174 245 230 90'/%3E%3Cpath d='M124 424c65-92 160-98 270-260'/%3E%3Cpath d='M178 354c44-84 124-73 191-156'/%3E%3C/g%3E%3Cg fill='%23e78aa8' fill-opacity='.55'%3E%3Ccircle cx='112' cy='392' r='18'/%3E%3Ccircle cx='225' cy='112' r='15'/%3E%3Ccircle cx='393' cy='181' r='20'/%3E%3Ccircle cx='320' cy='246' r='11'/%3E%3C/g%3E%3C/svg%3E");
}

.showcase-card.small.accent,
.category-tile.photo,
.category-tile.process {
  background:
    linear-gradient(145deg, rgba(248,253,255,.86), rgba(242,182,200,.28)),
    radial-gradient(circle at 18% 0%, rgba(79,159,205,.17), transparent 17rem),
    radial-gradient(circle at 90% 100%, rgba(77,155,138,.18), transparent 14rem);
}

.category-tile.handmade {
  background:
    linear-gradient(145deg, rgba(248,253,255,.88), rgba(217,244,238,.54)),
    radial-gradient(circle at 10% 0%, rgba(77,155,138,.20), transparent 17rem),
    radial-gradient(circle at 90% 100%, rgba(231,138,168,.16), transparent 14rem);
}

.work-image,
.admin-entry-thumb,
.detail-placeholder,
.placeholder-image {
  background: linear-gradient(145deg, #d9f0f2, #f7dbe5);
}

.cms-toolbar,
.admin-logo-mark + strong,
.showcase-card.large strong,
.eyebrow {
  color: var(--green-2);
}

.cms-toolbar {
  background: rgba(17,107,102,.94);
  color: #f8fdff;
}

.cms-toolbar a {
  background: #f8fdff;
  color: var(--green-2);
}

.alert.error,
.badge.muted {
  background: rgba(184,79,118,.12);
  color: #b84f76;
  border-color: rgba(184,79,118,.22);
}


/* Language switcher */
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .28rem;
  border-radius: 999px;
  background: rgba(248,253,255,.74);
  border: 1px solid rgba(17,107,102,.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.68), 0 8px 18px rgba(20,65,75,.055);
}
.language-switcher a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.language-switcher a:hover {
  transform: translateY(-1px);
  background: rgba(77,155,138,.12);
}
.language-switcher a.active {
  background: linear-gradient(135deg, #116b66, #2d9286 58%, #4f9fcd);
  box-shadow: 0 10px 22px rgba(17,107,102,.18);
}
.language-switcher a span {
  display: block;
  transform: translateY(-.5px);
}
.admin-lang {
  margin-left: .35rem;
  background: rgba(248,253,255,.55);
}
@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }
  .language-switcher {
    order: 3;
    margin-left: auto;
  }
  .main-nav {
    top: 86px;
  }
}
@media (max-width: 620px) {
  .language-switcher a {
    width: 34px;
    height: 34px;
    font-size: 1.12rem;
  }
  .admin-lang {
    margin-left: 0;
  }
}
