/* Inner pages (About, Contact). Loads after tokens.css and base.css. */

.nav nav a[aria-current="page"] { color: var(--red); }
::selection { background: var(--butter); color: var(--ink); }

/* wave edge on top of a section (same 240x24 tile as the homepage) */
.wave-top { position: relative; }
.wave-top::before { content: ''; position: absolute; left: 0; right: 0; top: -23px; height: 24px; background: var(--wave-color, var(--sage-pale));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath d='M0 12C30 2 90 2 120 12S210 22 240 12V24H0Z'/%3E%3C/svg%3E") 0 0 / 240px 24px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath d='M0 12C30 2 90 2 120 12S210 22 240 12V24H0Z'/%3E%3C/svg%3E") 0 0 / 240px 24px repeat-x; }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.btn--big { padding: 18px 28px; font-size: 18px; }
.btn--big .ico { width: 24px; height: 24px; }

/* contact lines: phone or email, with an optional copy button */
.line { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.line a { font-weight: 700; text-decoration: none; border-bottom: 2px solid color-mix(in srgb, currentColor 30%, transparent); padding: 10px 0 2px; }
.line a:hover { border-bottom-color: currentColor; }
.copy { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 99px; background: transparent; color: inherit; font: 700 14px 'Figtree', sans-serif; cursor: pointer; opacity: .92; transition: opacity .15s ease, background-color .15s ease; }
.copy:hover { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
.copy .ico { width: 16px; height: 16px; }
.copy .ico--done { display: none; }
.copy.is-done { opacity: 1; }
.copy.is-done .ico--copy { display: none; }
.copy.is-done .ico--done { display: block; }

/* ---------- Contact page ---------- */

/* hero: headline, two request buttons, photo in a soft blob */
.ct-hero { padding: 48px 0 110px; }
.ct-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ct-hero .hand { font-size: 30px; margin: 0 0 6px; }
.ct-hero h1 { font-size: clamp(40px, 5.2vw, 66px); max-width: 13ch; }
.ct-hero__lede { margin: 20px 0 0; font-size: 19px; max-width: 40ch; color: var(--ink-soft); }
.ct-hero__btns { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 18px; }

.ct-photo { position: relative; margin: 0; }
.ct-photo__frame { width: 92%; margin-left: auto; aspect-ratio: 1 / 1.02; border-radius: 48% 52% 44% 56% / 42% 46% 54% 58%; overflow: hidden; background: var(--sage-pale); }
.ct-photo__frame img { width: 100%; height: 100%; object-fit: cover; }
.ct-photo__note { position: absolute; left: -2%; bottom: 4%; margin: 0; font-size: 27px; line-height: 1.05; max-width: 10ch; transform: rotate(-5deg); }
.ct-photo__note svg { display: block; width: 64px; height: 44px; margin: 0 0 4px 46px; fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; }

/* the people, as hanging luggage tags */
.ct-people { background: var(--sage-pale); padding: 80px 0 96px; }
.ct-people h2 { text-align: center; font-size: clamp(32px, 4vw, 48px); }
.ct-people__sub { text-align: center; margin: 12px auto 0; max-width: 48ch; font-size: 18px; color: var(--ink-soft); }
.ct-tags { list-style: none; padding: 0; margin: 60px auto 0; max-width: 1140px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ct-tag { position: relative; padding: 76px 26px 34px; border-radius: 30px; background: var(--tag, var(--white)); box-shadow: var(--shadow); outline: 2px dashed rgba(31, 74, 45, .32); outline-offset: -12px; }
.ct-tag:nth-child(1) { --tag: var(--butter); transform: rotate(-2deg); }
.ct-tag:nth-child(2) { --tag: var(--white); transform: rotate(1.6deg) translateY(18px); }
.ct-tag:nth-child(3) { --tag: #F7C9BC; transform: rotate(-1deg) translateY(4px); }
/* punched hole + string */
.ct-tag::before { content: ''; position: absolute; top: 26px; left: 50%; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--sage-pale); box-shadow: inset 0 2px 0 rgba(31, 74, 45, .25); }
.ct-tag::after { content: ''; position: absolute; top: -34px; left: 50%; width: 3px; height: 72px; margin-left: -1.5px; background: var(--red); border-radius: 2px; transform-origin: bottom; transform: rotate(8deg); z-index: -1; }
.ct-tag h3 { font-size: clamp(28px, 2.6vw, 34px); text-align: center; }
.ct-tag .line { justify-content: center; margin-top: 10px; font-size: 17px; }
.ct-tag .line:first-of-type { margin-top: 20px; }

.ct-general { margin: 70px auto 0; justify-content: center; gap: 4px 14px; font-size: 18px; }
.ct-general strong { font-family: 'Young Serif', serif; font-weight: 400; font-size: 22px; }

/* what's in the catalogue */
.ct-inside { padding: 110px 0 120px; }
.ct-inside__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ct-pile { position: relative; aspect-ratio: 1.15; }
.ct-pile::before { content: ''; position: absolute; inset: 8% 4%; border-radius: 52% 48% 46% 54% / 50% 46% 54% 50%; background: var(--butter); }
.ct-pile img { position: absolute; filter: drop-shadow(0 12px 10px rgba(31, 74, 45, .25)); }
.ct-pile__flamingo { height: 82%; width: auto; left: 12%; top: 6%; transform: rotate(-6deg); }
.ct-pile__lobster { width: 36%; right: 8%; top: 12%; transform: rotate(8deg); }
.ct-pile__bone { width: 46%; right: 6%; bottom: 10%; transform: rotate(-8deg); }
.ct-inside h2 { font-size: clamp(32px, 3.8vw, 46px); }
.ct-inside__lede { margin: 14px 0 0; font-size: 18px; color: var(--ink-soft); max-width: 44ch; }
.ct-inside ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.ct-inside li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; }
.ct-inside li span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sage-pale); color: var(--ink); }
.ct-inside li span .ico { width: 16px; height: 16px; }
.ct-inside__time { margin: 30px 0 0; font-size: 26px; transform: rotate(-2deg); display: inline-block; }

@media (max-width: 1060px) {
  .ct-tags { grid-template-columns: 1fr; gap: 56px; max-width: 460px; }
  .ct-tag:nth-child(2) { transform: rotate(1.6deg); }
  .ct-tag:nth-child(3) { transform: rotate(-1deg); }
}
@media (max-width: 900px) {
  .ct-hero { padding: 28px 0 80px; }
  .ct-hero__grid, .ct-inside__grid { grid-template-columns: 1fr; gap: 36px; }
  .ct-photo__frame { width: 88%; }
  .ct-photo__note { position: static; max-width: none; margin: 14px 0 0; text-align: center; font-size: 24px; transform: rotate(-2deg); }
  .ct-photo__note svg { display: none; }
  .ct-tag { padding: 72px 22px 30px; }
  .ct-inside { padding: 80px 0 90px; }
  .ct-pile { max-width: 440px; width: 100%; margin: 0 auto; }
}
@media (max-width: 600px) {
  .btn--big { width: 100%; justify-content: center; }
}
