/* Mimi's Gifts & Creations. Their own look, carried forward: Architects Daughter for titles and
   Raleway for text (both as their site loads them), their slate blue, the white rope edge on the
   menu bar, the lavender-grey footer. From the logo: the bird's blue and the hearts' red, used small.
   The rope comes back on the visit band, and a stitched edge on the shop photos. */

@font-face { font-family: "Raleway"; src: url("../fonts/raleway.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Architects Daughter"; src: url("../fonts/architects-daughter.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ink: #4f5875;        /* their text */
  --ink-deep: #383e52;   /* text on the lavender footer */
  --slate: #5a6175;      /* their menu bar */
  --slate-deep: #474d60;
  --lav: #b6b9c5;        /* their footer */
  --mist: #eeeff3;
  --rule: #d9dbe3;
  --bird: #5b88aa;       /* the logo's bird */
  --heart: #e5402f;      /* the logo's hearts */
  --heart-text: #c22f20; /* the same red, dark enough for words */
  --white: #fff;
  --hand: "Architects Daughter", "Comic Neue", "Segoe Print", cursive;
  --sans: "Raleway", "Segoe UI", Arial, sans-serif;
  --gut: clamp(16px, 4vw, 40px);
  --rope: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10'%3E%3Cpath d='M3.2 7.4C5 6.1 7.2 4.1 9.2 2.6' stroke='white' stroke-width='4.4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  --heart-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath fill='%23e5402f' d='M12 21.5 10.3 20C4.2 14.4 0 10.6 0 6 0 2.6 2.6 0 6 0c1.9 0 3.8.9 6 3.1C14.2.9 16.1 0 18 0c3.4 0 6 2.6 6 6 0 4.6-4.2 8.4-10.3 14z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.125rem/1.7 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--slate-deep); text-underline-offset: 3px; }
a:hover { color: var(--bird); }
:focus-visible { outline: 3px solid var(--bird); outline-offset: 3px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--slate); color: #fff; font-weight: 700; }
.skip:focus { top: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---- type ---- */
.h1, .h2, .hero__title, .phead__title, .visit__title { font-family: var(--hand); font-weight: 400; color: var(--slate); line-height: 1.15; }
.h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); }
.h2 { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem); }
.h3 { font: 700 1.25rem/1.3 var(--sans); color: var(--slate); }
.lede { font-size: 1.25rem; line-height: 1.6; }
.prose p + p { margin-top: 1em; }

/* ---- buttons (their 3px corners) ---- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border: 2px solid transparent;
  border-radius: 3px; font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn--lg { min-height: 54px; padding: 12px 26px; font-size: 1.06rem; }
.btn--sm { min-height: 40px; padding: 6px 14px; font-size: .92rem; }
.btn--slate { background: var(--slate); color: #fff; }
.btn--slate:hover { background: var(--slate-deep); color: #fff; }
.btn--line { border-color: var(--slate); color: var(--slate); background: transparent; }
.btn--line:hover { background: var(--slate); color: #fff; }
.btn--white { background: #fff; color: var(--slate-deep); }
.btn--white:hover { background: var(--mist); color: var(--slate-deep); }
.btn--ghost { border-color: #fff; color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--slate-deep); }

/* ---- the rope: their white twisted-rope edge on the slate bar, top and bottom ---- */
.rope { position: relative; background: var(--slate); color: #fff; }
.rope::before, .rope::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: var(--rope) repeat-x 0 0 / 12px 10px; pointer-events: none; }
.rope::before { top: 5px; }
.rope::after { bottom: 5px; }

/* ---- stitched photo: a white mat with a stitched line around the picture ---- */
.stitch { position: relative; padding: 10px; background: #fff; border: 1px solid var(--rule); border-radius: 4px; box-shadow: 0 10px 28px -18px rgba(56, 62, 82, .55); }
.stitch img { width: 100%; border-radius: 2px; }
.stitch::after { content: ""; position: absolute; inset: 20px; border: 2px dashed rgba(255, 255, 255, .85); border-radius: 3px; pointer-events: none; }

/* ---- header ---- */
.masthead { background: #fff; }
.masthead__in { display: flex; align-items: center; gap: 12px 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { flex: none; }
.brand__logo { width: clamp(150px, 18vw, 220px); }
.masthead__tag { font: 700 .95rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--slate); }
.masthead__actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.masthead__phone { font: 700 1.2rem/1 var(--sans); color: var(--slate); text-decoration: none; white-space: nowrap; }
.masthead__phone:hover { color: var(--bird); }
.masthead__call { display: none; }
.masthead__social { display: flex; gap: 6px; }
.masthead__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--slate); }
.masthead__social a:hover { background: var(--mist); color: var(--bird); }
.masthead__social .ico { width: 22px; height: 22px; }

.nav .wrap { padding-top: 22px; padding-bottom: 22px; }
.nav__list { display: flex; flex-wrap: wrap; gap: 4px 34px; }
.nav__list a { color: #fff; font: 700 1rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav__list a:hover { border-bottom-color: rgba(255, 255, 255, .6); color: #fff; }
.nav__list a[aria-current="page"] { border-bottom-color: #fff; }
.nav :focus-visible, .visit :focus-visible, .callbar :focus-visible { outline-color: #fff; }

/* ---- sections ---- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tight { padding-top: clamp(36px, 5vw, 64px); }
.section--top { padding-top: clamp(36px, 5vw, 64px); }
.section--mist { background: var(--mist); }
.sec-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head .lede { margin-top: 14px; }
.sec-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; }

/* ---- hero: their words, their birdcage ---- */
.hero { padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__title { font-size: clamp(2.2rem, 1.5rem + 2vw, 3.05rem); }
.hero__lede { margin-top: 20px; font-size: 1.25rem; max-width: 34ch; }

/* ---- what they carry ---- */
.carry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 44px) clamp(20px, 3vw, 36px); }
.carry__pic { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--mist); }
.carry__pic img { width: 100%; height: 100%; object-fit: cover; }
.carry__name { margin-top: 16px; font: 400 1.6rem/1.2 var(--hand); color: var(--slate); }
.carry__text { margin-top: 6px; font-size: 1.05rem; }

/* ---- split rows ---- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split__text > p { margin-top: 14px; }

/* hearts: their logo's heart as the bullet */
.hearts { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.hearts li { position: relative; padding-left: 26px; line-height: 1.45; }
.hearts li::before { content: ""; position: absolute; left: 0; top: .32em; width: 14px; height: 13px; background: var(--heart-svg) no-repeat center / contain; }

/* ---- seasons ---- */
.seasons { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px dashed var(--lav); border-bottom: 2px dashed var(--lav); }
.season { padding: 22px 18px; display: grid; gap: 4px; align-content: start; }
.season + .season { border-left: 2px dashed var(--lav); }
.season__when { font: 400 1.5rem/1.2 var(--hand); color: var(--bird); }
.season__what { font-weight: 700; color: var(--slate); }

/* the Christmas gift tag: a card with a punched hole and their stitch */
.tag-card { position: relative; max-width: 54rem; margin: clamp(40px, 5vw, 64px) auto 0; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px) clamp(28px, 4vw, 40px) clamp(56px, 7vw, 92px);
  background: var(--mist); border-radius: 10px; }
.tag-card::before { content: ""; position: absolute; left: clamp(20px, 2.6vw, 34px); top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--lav); }
.tag-card::after { content: ""; position: absolute; inset: 9px; border: 2px dashed var(--lav); border-radius: 7px; pointer-events: none; }
.tag-card__title { font: 400 clamp(1.75rem, 1.3rem + 1.4vw, 2.3rem)/1.2 var(--hand); color: var(--slate); }
.tag-card__sign { margin-top: 20px; font: 400 1.35rem/1.35 var(--hand); color: var(--heart-text); }

/* ---- around the shop: their photos, as many as fit, no gaps ---- */
.wall { columns: 4 220px; column-gap: 14px; }
.wall li { break-inside: avoid; margin-bottom: 14px; }
.wall img { width: 100%; border-radius: 4px; }

.strip { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }

/* ---- visit band ---- */
.visit { padding: clamp(56px, 7vw, 84px) 0; }
.visit__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.visit__text { max-width: 36rem; }
.visit__title { color: #fff; font-size: clamp(2rem, 1.5rem + 1.8vw, 2.8rem); }
.visit__line { margin-top: 10px; font-size: 1.15rem; }
.visit__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- inner page title ---- */
.phead { padding: clamp(36px, 5vw, 64px) 0 0; }
.phead__title { font-size: clamp(2.6rem, 1.8rem + 2.6vw, 3.6rem); }
.phead__lede { margin-top: 10px; font-size: 1.25rem; max-width: 40rem; }

/* ---- contact ---- */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.way, .visit-card { padding: 28px 26px; background: var(--mist); border-radius: 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.way .btn { margin-top: auto; }
.way__ico { width: 30px; height: 30px; color: var(--bird); }
.way__title { font: 400 1.6rem/1.2 var(--hand); color: var(--slate); }
.way__big a { font: 700 1.5rem/1.2 var(--sans); color: var(--slate); text-decoration: none; }
.visit-card { margin-top: 20px; flex-direction: row; gap: 18px; }

/* ---- footer: their lavender-grey ---- */
.foot { background: var(--lav); color: var(--ink-deep); padding: 48px 0 0; font-size: 1rem; }
.foot a { color: var(--ink-deep); }
.foot a:hover { color: #000; }
.foot__in { display: grid; grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px 40px; align-items: start; }
.foot__tag { display: block; width: 190px; padding: 12px 14px; background: #fff; border-radius: 6px; }
.foot__h { font: 400 1.4rem/1.2 var(--hand); color: var(--ink-deep); margin-bottom: 6px; }
.foot__phone { font-weight: 700; }
.foot__col p + p { margin-top: 6px; }
.foot__links { display: grid; gap: 6px; }
.social { display: grid; gap: 8px; }
.social a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.social .ico { width: 24px; height: 24px; }
.foot__base { padding-top: 28px; padding-bottom: 28px; margin-top: 36px; border-top: 1px solid rgba(56, 62, 82, .25); font-size: .92rem; }

/* ---- 404 ---- */
.notfound .lede { margin-top: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pills a { display: inline-block; padding: 8px 18px; border: 2px solid var(--slate); border-radius: 999px; font-weight: 700; text-decoration: none; }

/* ---- phone call bar ---- */
.callbar { display: none; }

@media (max-width: 1000px) {
  .carry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seasons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .season:nth-child(4) { border-left: 0; }
  .season:nth-child(n + 4) { border-top: 2px dashed var(--lav); }
  .foot__in { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); }
  .foot__in > :last-child { grid-column: 2 / -1; }
}
@media (max-width: 860px) {
  .hero__in, .split { grid-template-columns: minmax(0, 1fr); }
  .hero__pic { order: -1; }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .masthead__tag { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; padding-bottom: 76px; }
  .masthead__in { padding-top: 10px; padding-bottom: 10px; }
  .masthead__phone, .masthead__social { display: none; }
  .masthead__call { display: inline-flex; }
  .nav .wrap { padding-top: 20px; padding-bottom: 20px; }
  .nav__list { gap: 4px 22px; }
  .nav__list a { font-size: .9rem; }
  .carry { grid-template-columns: minmax(0, 1fr); }
  .hearts { grid-template-columns: minmax(0, 1fr); }
  .seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .season { padding: 16px 12px; }
  .season + .season { border-left: 0; }
  .season:nth-child(even) { border-left: 2px dashed var(--lav); }
  .season:nth-child(n + 3) { border-top: 2px dashed var(--lav); }
  .wall { columns: 2; column-gap: 10px; }
  .wall li { margin-bottom: 10px; }
  .strip { grid-template-columns: minmax(0, 1fr); }
  .tag-card { padding-left: 24px; padding-top: 48px; }
  .tag-card::before { left: 50%; top: 22px; margin: 0 0 0 -9px; }
  .visit__btns, .visit__btns .btn { width: 100%; }
  .visit-card { flex-direction: column; }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
  .foot__in > :last-child { grid-column: auto; }
  .callbar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--slate); box-shadow: 0 -6px 18px rgba(56, 62, 82, .25); }
  .callbar .btn { flex: 1; min-height: 46px; padding: 8px 10px; }
}

