/* Everwoven brand: shared by the home page, account, editor and legal pages */
:root {
  --ivory: #faf7f2;
  --cream: #f3ede3;
  --ink: #23201c;
  --ink-2: #5d564d;
  --line: #e4dccf;
  --sage: #8a9a7b;
  --sage-wash: #e9ede3;
  --blush: #e8cfc6;
  --blush-wash: #f6e9e4;
  --terracotta: #b8714f;
  --gold: #b8954c;
  --gold-2: #d9bd7a;
  --display: "Cormorant Garamond", Georgia, serif;
  --script: "Pinyon Script", cursive;
  --sans: "Jost", system-ui, sans-serif;
  --r: 14px;
  --shadow: 0 30px 60px -35px rgba(60, 40, 25, .35), 0 8px 20px -14px rgba(60, 40, 25, .2);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; font-variant-numeric: lining-nums; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 16px/1.7 var(--sans); letter-spacing: .01em; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
.script { font-family: var(--script); font-weight: 400; }
.eyebrow { font: 400 12px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--terracotta); margin: 0 0 18px; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: .86em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; padding: 16px 28px; border-radius: 999px; font: 400 12.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid var(--ink); background: transparent; color: var(--ink); transition: background .25s, color .25s, transform .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .5); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-gold { background: linear-gradient(120deg, #a8843f, #e3c98a 45%, #b8954c); border-color: transparent; color: #2a2116; }
.btn-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-small { padding: 11px 18px; font-size: 11.5px; letter-spacing: .18em; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); text-decoration: underline; cursor: pointer; }

/* forms */
label { display: grid; gap: 6px; font-size: 13px; letter-spacing: .04em; color: var(--ink-2); }
input, select, textarea { font: 400 16px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px; width: 100%; transition: border-color .2s, box-shadow .2s; }
/* our own arrow, with the same breathing room on the right as the text has on the left */
select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%235d564d' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 11px 7px; }
select::-ms-expand { display: none; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(35, 32, 28, .08); }
input[type=checkbox], input[type=radio] { width: auto; }
input[type=color] { padding: 3px; height: 44px; cursor: pointer; }
.form-status { margin: 0; min-height: 1.5em; color: var(--terracotta); font-size: 14px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; display: flex; align-items: center; gap: 28px; padding: 18px clamp(18px, 4vw, 56px); transition: background .4s, padding .4s, box-shadow .4s; }
.nav.solid { background: rgba(250, 247, 242, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 12px; box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 30px/1 var(--display); letter-spacing: .02em; }
.brand-mark { width: 50px; height: auto; flex-shrink: 0; }
.nav-links { display: flex; gap: 34px; margin-left: auto; align-items: center; }
.nav-links > a, .nav-drop, .nav-signin { text-decoration: none; font: 400 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); position: relative; background: none; border: 0; padding: 8px 0; cursor: pointer; }
.nav-links > a::after, .nav-signin::after { content: ""; position: absolute; left: 0; right: .24em; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .3s; transform-origin: left; }
.nav-links > a:hover, .nav-drop:hover, .nav-signin:hover, .nav-group:focus-within .nav-drop { color: var(--ink); }
.nav-links > a:hover::after, .nav-signin:hover::after { transform: scaleX(1); }
.nav-group { position: relative; }
.nav-drop { display: inline-flex; align-items: center; gap: 8px; }
.nav-drop::after { content: ""; width: 5px; height: 5px; border-right: 1.2px solid currentColor; border-bottom: 1.2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s; }
.drop { position: absolute; top: calc(100% + 10px); left: 50%; min-width: 250px; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .97); border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s, transform .25s, visibility .25s; }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.drop a { display: grid; gap: 3px; padding: 12px 14px; border-radius: 12px; text-decoration: none; font: 400 22px/1.1 var(--display); color: var(--ink); }
.drop a small { font: 400 12.5px/1.4 var(--sans); color: var(--ink-2); letter-spacing: .02em; }
.drop a:hover { background: var(--cream); }
.nav-group:hover .drop, .nav-group:focus-within .drop, .nav-group.open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-group:hover .nav-drop::after, .nav-group.open .nav-drop::after { transform: translateY(1px) rotate(225deg); }
.nav-actions { display: flex; gap: 22px; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .3s; }
.nav-toggle span:first-child { top: 15px; } .nav-toggle span:last-child { top: 23px; }
.menu-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* footer */
.footer { background: var(--ink); color: #d9d2c6; padding: 70px clamp(18px, 6vw, 96px) 30px; }
.footer a { color: #d9d2c6; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; max-width: 1240px; margin: 0 auto; }
.footer h4 { font: 400 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.footer .brand { color: #fff; font-size: 34px; margin-bottom: 14px; }
.footer-bottom { max-width: 1240px; margin: 50px auto 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #a69e91; }

/* toast + modal */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; transition: .35s; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; z-index: 200; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
dialog.modal { border: 0; padding: 0; border-radius: 18px; width: min(560px, 94vw); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .5); background: var(--ivory); color: var(--ink); }
dialog.modal::backdrop { background: rgba(35, 32, 28, .45); backdrop-filter: blur(3px); }
.modal-body { padding: 30px; display: grid; gap: 16px; }
.modal-close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--ink-2); line-height: 1; }

/* cookie consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); display: grid; gap: 12px; font-size: 14px; }
.consent p { margin: 0; }
.consent div { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { gap: 10px; }
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 0 0 auto; padding: 84px 22px 24px; flex-direction: column; gap: 0; background: var(--ivory); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .25); transform: translateY(-110%); transition: transform .45s cubic-bezier(.2, .7, .2, 1); z-index: -1; }
  .nav-links { align-items: stretch; max-height: 100dvh; overflow-y: auto; }
  .nav-links > a, .nav-drop { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; text-align: left; width: 100%; }
  .nav-links > a { font: 400 24px/1.1 var(--display); letter-spacing: 0; text-transform: none; color: var(--ink); padding: 14px 0; }
  .nav-drop { pointer-events: none; color: var(--terracotta); border-bottom: 0; padding-bottom: 6px; }
  .nav-drop::after { display: none; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 10px; min-width: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .drop a { padding: 8px 0; font-size: 24px; }
  .drop a small { display: none; }
  .menu-open .nav-links { transform: none; }
  .nav-actions .nav-signin { display: none; }
  .brand { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* a light watermark over previews, so screenshots are not mistaken for the real thing */
.wm-host { position: relative; }
.wm-host::after { content: ""; position: absolute; inset: 0; z-index: 30; pointer-events: none; border-radius: inherit;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='140'%3E%3Ctext x='110' y='74' text-anchor='middle' transform='rotate(-24 110 70)' font-family='Georgia,serif' font-size='13' letter-spacing='4' fill='%23000' fill-opacity='.11'%3EEVERWOVEN %C2%B7 PREVIEW%3C/text%3E%3C/svg%3E") 0 0 / 220px 140px; }

/* the Everwoven loading mark */
.ew-loader { position: relative; display: inline-block; width: calc(var(--s) * 1.6); height: var(--s); flex: none; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; animation: ew-breathe 1.6s ease-in-out infinite; }
.ew-loader img { width: 100%; height: 100%; object-fit: contain; display: block; filter: brightness(1.15); }
.ew-loader::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 246, 220, .95) 50%, transparent 70%); background-size: 260% 100%; animation: ew-shine 1.4s linear infinite; }
.btn-dark .ew-loader img, .is-busy.btn-dark .ew-loader img { filter: brightness(1.6) saturate(.8); }
@keyframes ew-breathe { 0%, 100% { transform: scale(.92); opacity: .75; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes ew-shine { from { background-position: 130% 0; } to { background-position: -30% 0; } }
.btn.is-busy { pointer-events: none; gap: 10px; }
.btn.is-busy[disabled] { opacity: 1; }
.page-loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; align-content: center; gap: 14px; background: var(--ivory); transition: opacity .5s; }
.page-loader p { margin: 0; font: 400 11px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--ink-2); }
.page-loader.out { opacity: 0; pointer-events: none; }

/* the growing garden behind the sign-in pages */
.garden { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.garden .botanicals { position: absolute; inset: 0; }
.garden .bot { position: absolute; width: min(34vw, 400px); aspect-ratio: 1; opacity: .9; }
.garden .bot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.garden .bot.tl { left: -3vw; top: 70px; } .garden .bot.tr { right: -3vw; top: -3vw; transform: scaleX(-1); }
.garden .bot.bl { left: -3vw; bottom: -3vw; transform: scaleY(-1); } .garden .bot.br { right: -3vw; bottom: -3vw; transform: rotate(180deg); }
.garden.sway .bot { animation: sway 7s ease-in-out infinite alternate; }
.garden.sway .bot.tr, .garden.sway .bot.br { animation-delay: -3s; }
@keyframes sway { from { rotate: -.8deg; } to { rotate: .9deg; translate: 0 4px; } }
.petal { position: absolute; top: -30px; width: 12px; height: 9px; border-radius: 70% 0 70% 0; opacity: .75; animation: petal linear forwards; }
@keyframes petal { to { transform: translate(var(--dx), 110vh) rotate(var(--r)); opacity: .2; } }
.auth-page .auth-card { position: relative; z-index: 1; }
.auth-page .auth-brand { z-index: 1; }
.auth-card { animation: card-in .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .garden .bot { width: 46vw; } .garden .bot.tl, .garden .bot.tr { top: -6vw; } }
.btn.is-done { background: #2f5a3a; border-color: #2f5a3a; color: #fff; }
.btn.is-error { background: #8c2f3c; border-color: #8c2f3c; color: #fff; }
