@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;1,9..144,400&display=swap");

:root {
  color-scheme: light;
  --canvas: #f3f1fc;
  --paper: #fcfbff;
  --ink: #251856;
  --ink-hover: #472681;
  --text: #282443;
  --muted: #4b4967;
  --accent: #3c54a6;
  --line: #dcd7ec;
  --tint: #e8e9fa;
  --serif: Fraunces, Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 1rem/1.6 var(--sans); }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .58; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #6741ba; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; color: var(--ink); }
h2 { font-size: clamp(2.45rem, 4.2vw, 3.65rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.35rem, 2.1vw, 1.8rem); letter-spacing: -.023em; }
section[id] { scroll-margin-top: 100px; }
.shell { width: min(1224px, calc(100% - 128px)); margin-inline: auto; }
.skip { position: fixed; top: .6rem; left: .6rem; z-index: 10; padding: .7rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 4; background: var(--paper); border-bottom: 1px solid #e4e0f3; }
.header-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font: 500 1.09rem/1.05 var(--serif); flex-shrink: 0; }
.brand-symbol { color: var(--ink); width: 41px; height: 41px; border-radius: 50%; background: #e6eaff; display: grid; place-items: center; }
.brand-symbol svg { width: 29px; }
.brand small { display: block; font: 700 .64rem/1.1 var(--sans); letter-spacing: .24em; margin-top: 7px; }
.desktop-nav, .header-actions { display: flex; align-items: center; gap: clamp(14px, 2.35vw, 34px); }
.desktop-nav a, .site-footer nav a { text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.desktop-nav a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-actions { gap: 12px; }
.account-button, .icon-button { display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--ink); padding: 0; border: 0; }
.account-button { gap: 7px; font-size: .9rem; font-weight: 700; white-space: nowrap; }
.icon-button { position: relative; width: 43px; height: 43px; border-radius: 50%; }
.icon-button:hover { background: var(--tint); }
.cart-button { border: 1px solid var(--line); }
.cart-count { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; min-width: 19px; height: 19px; padding-inline: 3px; border-radius: 50%; background: var(--ink); color: white; font-size: .68rem; font-weight: 700; }
.menu-button, .mobile-nav { display: none; }
[data-icon] { display: inline-grid; place-items: center; line-height: 0; flex-shrink: 0; }
[data-icon] svg { width: 1.2rem; height: 1.2rem; }

.hero { padding: 52px 0 54px; background: linear-gradient(135deg, #eaf1ff, #e2d9f4); }
.hero-inner { display: grid; grid-template-columns: 1fr 1.07fr; align-items: center; gap: clamp(35px, 5vw, 80px); }
.hero-copy { padding-block: 24px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .81rem; line-height: 1.45; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.hero .eyebrow > span { width: 25px; height: 1px; background: currentColor; }
.hero h1 { margin-top: 20px; font-size: clamp(4.1rem, 6vw, 6.5rem); letter-spacing: -.069em; line-height: .98; }
.hero em { display: block; color: var(--accent); font-weight: 400; overflow-wrap: anywhere; }
.hero-description { margin-top: 27px; max-width: 29rem; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.23rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 33px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .5rem; border: 1px solid transparent; border-radius: 7px; padding: .76rem 1.08rem; font: 700 .91rem/1.45 var(--sans); text-decoration: none; min-height: 46px; }
.button svg { width: 1rem; height: 1rem; }
.primary { background: var(--ink); color: #fffaff; }
.primary:hover { background: var(--ink-hover); }
.secondary { background: transparent; border-color: #8888b0; color: var(--ink); }
.secondary:hover { background: #eaeafb; }
.hero-visual { position: relative; border-radius: 230px 230px 15px 15px; overflow: hidden; background: #b8a9db; aspect-ratio: 1.2; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 51%; }

.quick-links { background: #edf1fe; border-block: 1px solid #d9dff2; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-grid a { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 21px 12px; text-decoration: none; }
.quick-grid a + a { border-left: 1px solid #ccd2ee; }
.quick-grid a:hover { background: #dce4fb; }
.quick-grid strong, .quick-grid small { display: block; }
.quick-grid strong { font-size: .96rem; line-height: 1.4; }
.quick-grid small { color: var(--muted); font-size: .85rem; }
.link-icon, .project-icon { width: 42px; height: 42px; border: 1px solid #b9c5ee; border-radius: 50%; color: var(--ink); }
.section { padding-block: 77px 84px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 28px; }
.section-heading .eyebrow, .about .eyebrow { margin-bottom: 9px; }
.section-heading > p { color: var(--muted); max-width: 24rem; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project-card { padding: clamp(22px, 3vw, 35px); border: 1px solid #d5dff5; border-radius: 13px; background: #eef3ff; }
.project-card.clay { background: #f3ecfc; border-color: #e0d5f3; }
.project-card.clay .project-icon { color: var(--accent); border-color: #c9b9e8; }
.project-card h3 { margin: 14px 0 7px; }
.project-card p { color: var(--muted); }
.text-button { background: transparent; color: var(--ink); border: 0; padding: 0; font-weight: 700; font-size: .93rem; text-decoration: underline; text-underline-offset: 4px; }
.project-card .text-button { margin-top: 17px; }
.agenda { background: var(--canvas); border-block: 1px solid #e5dcf3; }
.event-list { display: grid; gap: 11px; }
.event { display: grid; grid-template-columns: 66px 1fr auto; gap: 18px; align-items: center; padding: 16px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 65px; background: #e8def7; color: #472483; border-radius: 6px; }
.event-date strong { font: 400 1.85rem/1 var(--serif); }
.event-date small { font-size: .74rem; font-weight: 700; letter-spacing: .15em; }
.event h3 { margin: 3px 0; }
.event p, .event-subtitle { color: var(--muted); font-size: .9rem; }
.event-subtitle { font-weight: 700; }
.filters { display: flex; gap: 8px; margin: 0 0 21px; }
.filter { background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: 22px; padding: 7px 16px; font-weight: 700; font-size: .91rem; }
.filter[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.filter:hover:not([aria-pressed="true"]) { background: var(--tint); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.product { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.cover-area { min-height: 190px; display: grid; place-items: center; background: #e1eafd; padding: 22px; }
.cover-area.clay { background: #ece3f8; }
.cover-area.sand { background: #eee9fa; }
.cover { position: relative; display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; width: 106px; height: 143px; padding: 13px 9px; border-radius: 2px 5px 5px 2px; transform: rotate(-7deg); color: #f9f7ff; background: #3a56a6; border-left: 4px solid #1c326b; box-shadow: 7px 9px 15px #1c045140; }
.cover::before, .cover::after { content: ""; position: absolute; border: 1px solid currentColor; border-radius: 50%; width: 82px; height: 82px; opacity: .48; bottom: -33px; right: -11px; }
.cover::after { bottom: -26px; right: -23px; }
.cover-area.clay .cover { width: 158px; height: 112px; justify-content: center; padding: 17px; background: #6744a3; border: 1px solid #4c2d81; transform: rotate(5deg); }
.cover-area.sand .cover { color: #2f2459; background: #c8bde9; border-left-color: #7f6cb1; transform: rotate(7deg); }
.cover b { position: relative; z-index: 1; font: 400 1.15rem/1.03 var(--serif); }
.cover small { font-size: .55rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 7px; }
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-category { color: var(--accent); font-size: .81rem; font-weight: 700; margin-bottom: 5px; }
.product-body > p:not(.product-category) { color: var(--muted); margin-top: 8px; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: auto; padding-top: 16px; }
.product-actions .button { min-height: 38px; padding: 6px 10px; }
.price { font-weight: 700; color: var(--ink); white-space: nowrap; }
.about { padding: 57px 0; background: #ece6fa; border-block: 1px solid #d6cdec; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 35px; }
.about-inner p:last-child { max-width: 32rem; }
.site-footer { background: var(--ink); color: var(--paper); padding: 27px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-brand { font: 500 1.1rem var(--serif); text-decoration: none; }
.site-footer nav { display: flex; gap: 15px; }
.site-footer small { color: #e7e0f9; font-size: .82rem; }

.dialog { color: var(--text); border: 1px solid var(--line); border-radius: 14px; padding: 30px; width: min(500px, calc(100% - 28px)); max-height: calc(100% - 28px); background: var(--paper); overflow-y: auto; }
.dialog::backdrop { background: #1c04519c; }
.dialog-close { position: absolute; top: 10px; right: 10px; }
.dialog-title { margin: 5px 28px 13px 0; font-size: clamp(1.9rem, 6vw, 2.45rem); }
.dialog p + p { margin-top: 10px; }
.dialog .eyebrow { margin-bottom: 6px; }
.dialog .button-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.dialog .reader-note { color: var(--muted); font-size: .92rem; }
.drawer { width: min(470px, 100%); max-height: 100%; margin: 0 0 0 auto; min-height: 100%; border-radius: 0; border: 0; }
.account-form { display: grid; gap: 12px; margin-top: 16px; }
.account-form label { display: grid; gap: 5px; font-size: .89rem; font-weight: 700; }
.account-form input { width: 100%; border: 1px solid #9694b4; border-radius: 5px; padding: 9px 10px; color: var(--text); background: #fdfbff; }
.form-error { color: #98263c; font-weight: 600; }
.cart-list, .order-list { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item strong { display: block; }
.quantity { display: flex; align-items: center; gap: 7px; }
.quantity .icon-button { width: 33px; height: 33px; border: 1px solid var(--line); }
.quantity svg { width: 14px; height: 14px; }
.cart-total { display: flex; justify-content: space-between; margin: 16px 0; font-weight: 700; }
.checkout-options { margin: 15px 0 0; padding: 12px 13px; border: 1px solid var(--line); border-radius: 7px; }
.checkout-options legend { padding-inline: 6px; font-weight: 700; }
.checkout-options label { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.checkout-options input { accent-color: var(--ink); }
.order-list li { padding-block: 8px; border-bottom: 1px solid var(--line); }
.toast { opacity: 0; pointer-events: none; position: fixed; z-index: 5; bottom: 22px; right: 22px; max-width: calc(100% - 44px); background: var(--ink); color: white; border-radius: 7px; padding: 10px 15px; transition: opacity .16s ease; }
.toast.visible { opacity: 1; }
.noscript { padding: 14px; text-align: center; }

.admin-page { background: var(--canvas); }
.admin-page .brand { gap: 6px; flex-wrap: wrap; flex-shrink: 1; }
.admin-main { max-width: 900px; padding-block: 35px 75px; }
.admin-main h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-top: .25rem; }
.admin-main h2 { font-size: clamp(1.65rem, 4vw, 2.3rem); }
.admin-main h3 { font-size: clamp(1.2rem, 3vw, 1.55rem); }
.admin-card { border: 1px solid var(--line); border-radius: 13px; background: var(--paper); padding: clamp(18px, 4vw, 30px); margin-block: 15px; }
.admin-login { margin-inline: auto; max-width: 460px; }
.admin-title, .admin-actions { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.admin-actions { justify-content: flex-start; }
.admin-nav { flex-wrap: wrap; margin-block: 20px; }
.admin-back { display: inline-block; margin-block: 4px 10px; }
.admin-card .account-form { max-width: 640px; }
.admin-card .account-form select, .admin-card .account-form textarea {
  width: 100%; background: var(--paper); border: 1px solid #9694b4; border-radius: 5px;
  color: var(--text); padding: 9px 10px; font: inherit;
}
.admin-card .account-form textarea { resize: vertical; }
.admin-card .account-form > button { justify-self: start; }
.admin-card .account-form .checkbox-input { display: flex; align-items: center; }
.admin-card .checkbox-input input { width: 1rem; height: 1rem; }
.admin-card .inline-editor { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.admin-list { list-style: none; padding: 0; margin: 10px 0 14px; }
.admin-list li { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.admin-list .admin-actions { flex-shrink: 0; }
.admin-list small { display: block; color: var(--muted); }
.admin-notes li { display: block; }
.admin-notes p { white-space: pre-wrap; }
.admin-calendar-heading { margin-block: 15px; }
.admin-calendar-heading h3 { text-transform: capitalize; }
.admin-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: center; gap: 5px; margin: 12px 0 20px; }
.admin-calendar > span { text-align: center; font-size: .83rem; color: var(--muted); }
.calendar-day { min-height: 51px; color: var(--ink); background: #edf1fe; border: 1px solid #d0d9f1; border-radius: 6px; padding: 1px; font-weight: 700; }
.calendar-day[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.calendar-day small { display: block; font-size: .76rem; }
#admin-status:not(:empty) { padding: 9px 11px; background: #e5e9fb; border-radius: 6px; margin-bottom: 12px; }

@media (max-width: 1090px) {
  .shell { width: calc(100% - 76px); }
  .hero h1 { font-size: clamp(3.7rem, 7.1vw, 5.4rem); }
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding-inline: 12px; }
}
@media (max-width: 850px) {
  .shell { width: calc(100% - 44px); }
  .header-inner { height: 68px; gap: 12px; }
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }
  .mobile-nav { display: grid; position: absolute; top: 100%; inset-inline: 0; background: var(--paper); padding: 7px 22px 16px; border-bottom: 1px solid var(--line); }
  .mobile-nav a, .mobile-nav button { text-align: left; padding: 9px 0; font-weight: 700; }
  .hero { padding-block: 28px 38px; }
  .hero-inner { gap: 24px; }
  .hero h1 { font-size: clamp(3.2rem, 7.7vw, 4.7rem); }
  .hero-visual { aspect-ratio: 1; }
  .section { padding-block: 58px; }
  .product-body { padding: 14px; }
}
@media (max-width: 610px) {
  .hero-inner, .about-inner { grid-template-columns: 1fr; }
  .hero-copy { padding-block: 8px 0; }
  .hero h1 { font-size: clamp(3.35rem, 11.8vw, 5rem); }
  .hero-description { margin-top: 19px; }
  .hero-actions { margin-top: 21px; }
  .hero-visual { aspect-ratio: 1.23; }
  .quick-grid { width: 100%; }
  .quick-grid a { flex-direction: column; align-items: center; text-align: center; padding: 14px 4px; gap: 6px; }
  .quick-grid strong { font-size: .79rem; }
  .quick-grid small { display: none; }
  .quick-grid .link-icon { width: 32px; height: 32px; }
  .quick-grid .link-icon svg { width: 16px; height: 16px; }
  .section-heading { display: block; margin-bottom: 20px; }
  .section-heading > p { margin-top: 10px; }
  .project-grid, .product-grid { grid-template-columns: 1fr; }
  .event { grid-template-columns: 51px 1fr; gap: 10px 13px; padding: 12px; }
  .event-date { height: 57px; }
  .event .button { grid-column: 2; justify-self: start; min-height: 38px; padding: 6px 10px; }
  .about-inner { gap: 15px; }
  .admin-list li { align-items: flex-start; gap: 8px; flex-wrap: wrap; }
  .admin-calendar-heading { display: grid; grid-template-columns: 1fr 1fr; }
  .admin-calendar-heading h3 { grid-row: 1; grid-column: span 2; }
}
@media (max-width: 390px) {
  .account-button { display: none; }
  .header-actions { gap: 7px; }
  .shell { width: calc(100% - 34px); }
  .quick-grid { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
