/* callie-calypso.com · Island Tide */
:root {
  --ivory: #FBF8F2;
  --sand: #F3EDE2;
  --shallow: #E9F0F3;
  --ink: #233240;
  --soft: #41525F;
  --muted: #74838D;
  --tide: #3C6E8F;
  --tide-deep: #2F5A78;
  --coral: #E2725B;
  --coral-deep: #BE4B36;
  --line: #E3DACB;
  --line-blue: #DCE6EA;
  --shell: 1120px;
  --display: 'Trirong', 'Iowan Old Style', Georgia, serif;
  --body: 'Fahkwang', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--ivory); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.005em; }
h2 { font-size: clamp(1.5rem, 3.1vw, 2.05rem); line-height: 1.18; margin: 0 0 .5rem; }
.eyebrow { font-family: var(--body); font-weight: 600; font-size: .72rem; letter-spacing: .18em;
           text-transform: uppercase; color: var(--coral-deep); margin: 0 0 .55rem; }
.section-sub { color: var(--muted); max-width: 60ch; margin: .7rem 0 0; }
.note { color: var(--muted); font-size: .88rem; margin: 1.1rem 0 0; }

/* wave ornaments */
.wavy { display: block; width: 104px; height: 14px; margin: .45rem 0 1rem;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='16' viewBox='0 0 64 16'%3E%3Cpath d='M0 8 C10.7 0 21.3 0 32 8 C42.7 16 53.3 16 64 8' fill='none' stroke='%233C6E8F' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: repeat-x; background-position: left center;
        background-size: auto 14px; }
.wavy-sm { width: 72px; height: 12px; background-size: auto 12px; margin: .35rem 0 .9rem; }
.tide { position: relative; max-width: 440px; height: 16px; margin: 1.25rem auto 0;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='16' viewBox='0 0 64 16'%3E%3Cpath d='M0 8 C10.7 0 21.3 0 32 8 C42.7 16 53.3 16 64 8' fill='none' stroke='%233C6E8F' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: repeat-x; background-position: center;
        background-size: auto 16px; }
.tide-bottom { margin: 1.25rem auto 0; }
.tide .bead { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
              border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--ivory); }

/* header */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 242, .93);
          border-bottom: 1px solid var(--line); backdrop-filter: blur(9px); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.1rem;
                padding: .78rem 24px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 1.12rem; text-decoration: none;
            color: var(--ink); white-space: nowrap; letter-spacing: .01em; }
.main-nav { display: flex; align-items: center; gap: 1.15rem; flex-wrap: wrap; }
.main-nav a:not(.btn) { color: var(--soft); text-decoration: none; font-size: .78rem; font-weight: 600;
              letter-spacing: .09em; text-transform: uppercase; padding: .18rem 0; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
                     background: var(--tide); transition: right .2s ease; }
.main-nav a:not(.btn):hover { color: var(--tide); }
.main-nav a:hover::after { right: 0; }
.main-nav a:not(.btn)[aria-current="page"] { color: var(--tide); }
.main-nav a:not(.btn)[aria-current="page"]::after { right: 0; background: var(--coral); }
.btn { display: inline-flex; align-items: center; background: var(--tide); color: #FBF8F2;
       font-family: var(--body); font-weight: 600; font-size: .92rem; letter-spacing: .01em;
       border-radius: 10px; padding: .74rem 1.2rem; text-decoration: none;
       transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.btn:hover { background: var(--tide-deep); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(60, 110, 143, .22); }
.btn-sm { padding: .44rem .95rem; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }

/* hero */
.hero { padding: 1.9rem 0 1.3rem; }
.hero-core { text-align: center; }
.hero-kicker { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
               color: var(--coral-deep); margin: 0 0 .8rem; }
.hero-title { font-size: clamp(2.5rem, 6vw, 4.05rem); line-height: 1.02; margin: 0 0 .7rem;
              display: flex; align-items: center; justify-content: center; gap: .55rem; flex-wrap: wrap; }
.hero-title .ring { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); flex: none; }
.hero-tagline { font-family: var(--display); font-weight: 400; font-size: clamp(1rem, 2.1vw, 1.24rem);
                color: var(--soft); max-width: 46ch; margin: 0 auto; }
.hero-photo { max-width: 300px; margin: 1.25rem auto 0; padding: 0; border-radius: 18px; overflow: hidden;
              border: 1px solid var(--line-blue); background: var(--sand);
              box-shadow: 0 26px 54px rgba(35, 50, 64, .14); }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover;
                  object-position: center 20%; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.6rem; align-items: center;
             max-width: 780px; margin: 1.35rem auto 0; }
.hero-intro { color: var(--soft); margin: 0; font-size: 1.01rem; }
.hero-foot .btn { white-space: nowrap; }

/* sections */
.section { padding: 2.9rem 0; }
.section-tight { padding-top: 1.3rem; }
.section-last { padding-bottom: 4.2rem; }
.sec-head { margin-bottom: 1.5rem; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 14px; }
.partner-card { display: flex; align-items: center; justify-content: center; width: 250px; height: 150px;
                border: 1px solid var(--line); border-radius: 12px; background: #fff;
                transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.partner-card:hover { border-color: var(--tide); box-shadow: 0 12px 26px rgba(35, 50, 64, .1); transform: translateY(-2px); }
.partner-card img { max-width: 188px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* quick profile */
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
.fact { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
        padding: .6rem 0; border-bottom: 1px solid var(--line); }
.fact .k { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
           color: var(--tide); flex: none; }
.fact .v { text-align: right; font-size: .95rem; color: var(--ink); }

/* about */
.about-grid { display: grid; grid-template-columns: .92fr 1.28fr; gap: 2.6rem; align-items: start; }
.about-photo { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
               background: var(--sand); }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.about-cols { columns: 2; column-gap: 2.1rem; }
.about-cols p { margin: 0 0 1rem; color: var(--soft); break-inside: avoid; }

/* career split */
.career-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.8rem; align-items: start; }
.career-text p { color: var(--soft); margin: 0 0 1rem; }

/* timeline: wave rail */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.7rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; top: .4rem; bottom: .4rem; width: 16px;
                    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='64' viewBox='0 0 16 64'%3E%3Cpath d='M8 0 C0 10.7 0 21.3 8 32 C16 42.7 16 53.3 8 64' fill='none' stroke='%233C6E8F' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: repeat-y; background-position: center top;
                    background-size: 16px 64px; }
.timeline li { position: relative; padding: 0 0 1.35rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -1.7rem; top: .52em; width: 9px; height: 9px;
                       margin-left: 3.5px; border-radius: 50%; background: var(--coral);
                       box-shadow: 0 0 0 4px var(--ivory); }
.timeline .when { display: block; font-family: var(--body); font-weight: 600; font-size: .8rem;
                  letter-spacing: .04em; color: var(--tide); margin-bottom: .12rem; }
.timeline .what { display: block; color: var(--soft); }

/* gallery */
.gallery { display: grid; grid-template-columns: 1.06fr 1fr 1fr; gap: 18px; align-items: start; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--sand); position: relative; }
.gallery img { display: block; width: 100%; height: auto; }
.gallery .g1 { margin-top: 34px; }
.g1 img { aspect-ratio: 2 / 3; object-fit: cover; object-position: center 18%; }
.g2 img { aspect-ratio: 4 / 3; object-fit: cover; }
.gallery .g3 { margin-top: 66px; }
.g3 img { aspect-ratio: 16 / 10; object-fit: cover; }
.gallery .g3::after { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 20px;
             background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='20' viewBox='0 0 128 20'%3E%3Cpath d='M0 0 H128 V10 C117.3 18 106.7 18 96 10 C85.3 2 74.7 2 64 10 C53.3 18 42.7 18 32 10 C21.3 2 10.7 2 0 10 Z' fill='%23FBF8F2'/%3E%3Cpath d='M0 10 C10.7 2 21.3 2 32 10 C42.7 18 53.3 18 64 10 C74.7 2 85.3 2 96 10 C106.7 18 117.3 18 128 10' fill='none' stroke='%233C6E8F' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: repeat-x; background-position: left top;
             background-size: 128px 20px; }

/* social pills */
.pills { display: flex; flex-wrap: wrap; gap: .7rem; }
.pill { display: inline-flex; align-items: baseline; gap: .6rem; border: 1px solid var(--line-blue);
        border-radius: 999px; padding: .62rem 1.1rem; text-decoration: none; background: #fff;
        transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.pill .p { font-family: var(--display); font-weight: 600; font-size: 1rem; }
.pill .h { color: var(--muted); font-size: .84rem; }
.pill:hover { border-color: var(--tide); box-shadow: 0 10px 22px rgba(60, 110, 143, .14); transform: translateY(-2px); }

/* subpages */
.page-top { padding: 2.4rem 0 1.2rem; border-bottom: 1px solid var(--line); margin-bottom: 2.3rem; }
.page-top h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); line-height: 1.06; margin: .1rem 0 .3rem; }
.page-top .lead { color: var(--soft); max-width: 60ch; margin: 0; }
.reading { max-width: 66ch; }
.reading-wide { max-width: 80ch; }
.story { margin: 0 0 2.4rem; }
.story h2 { font-size: clamp(1.22rem, 2.4vw, 1.5rem); margin: 0 0 .2rem; }
.story p { color: var(--soft); margin: 0 0 1rem; }
.dot-list { list-style: none; margin: .2rem 0 0; padding: 0; }
.dot-list li { color: var(--soft); padding: .6rem 0 .6rem 1.15rem; position: relative;
               border-bottom: 1px dashed var(--line); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 1.2em; width: 7px; height: 7px;
                       border-radius: 50%; background: var(--coral); }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.7rem; margin-top: .8rem; }
.credit-col h3 { font-family: var(--body); font-weight: 600; font-size: .7rem; letter-spacing: .15em;
                 text-transform: uppercase; color: var(--tide); margin: 0 0 .5rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: var(--soft); font-size: .9rem; padding: .32rem 0; border-bottom: 1px dashed var(--line); }
.stat-strip { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .5rem; }
.stat { border: 1px solid var(--line-blue); border-radius: 12px; background: #fff; padding: .85rem 1.2rem;
        flex: 1 1 150px; min-width: 150px; }
.stat b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--tide); }
.stat span { color: var(--muted); font-size: .82rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1.05rem 0; }
.faq-list summary { font-family: var(--display); font-weight: 600; font-size: 1.08rem; line-height: 1.4;
                    cursor: pointer; list-style: none; display: flex; justify-content: space-between;
                    gap: 1.1rem; align-items: baseline; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%;
                           background: var(--coral); margin-bottom: .2em; }
.faq-list details[open] summary::after { background: transparent; box-shadow: inset 0 0 0 2px var(--coral); }
.faq-list .answer p { color: var(--soft); margin: .7rem 0 0; max-width: 74ch; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--sand); padding: 2rem 0 2.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr auto; gap: 1.2rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.brand-line { color: var(--muted); font-size: .84rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .3rem 1rem; justify-content: center; }
.language-nav a { color: var(--muted); text-decoration: none; font-size: .86rem; }
.language-nav a:hover { color: var(--tide); }
.language-nav a[aria-current="page"] { color: var(--tide); font-weight: 600; }
.footer-legal { color: var(--muted); font-size: .84rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4rem 0 5rem; }

@media (max-width: 1020px) {
  .about-grid, .career-split { grid-template-columns: 1fr; gap: 1.8rem; }
  .about-cols { columns: 1; }
  .about-photo { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell, .topbar-inner { padding-left: 18px; padding-right: 18px; }
  .main-nav { gap: .55rem .9rem; }
  .main-nav a:not(.btn) { font-size: .72rem; }
  .hero-photo { max-width: 280px; }
  .tide { max-width: 300px; }
  .hero-foot { grid-template-columns: 1fr; gap: 1rem; justify-items: start; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact .v { text-align: right; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 118px; }
  .partner-card img { max-width: 134px; max-height: 52px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .g1, .gallery .g3 { margin-top: 0; }
  .credit-grid { grid-template-columns: 1fr; }
  .section { padding: 2.3rem 0; }
}
