/* Clare Corporate brochure library: the same navy, brass, Cormorant and Raleway as the brochures */
@font-face { font-family: "Raleway"; font-weight: 300; src: url(fonts/Raleway-300.woff) format("woff"); font-display: swap; }
@font-face { font-family: "Raleway"; font-weight: 400; src: url(fonts/Raleway-400.woff) format("woff"); font-display: swap; }
@font-face { font-family: "Raleway"; font-weight: 600; src: url(fonts/Raleway-600.woff) format("woff"); font-display: swap; }
@font-face { font-family: "Cormorant"; font-weight: 500; src: url(fonts/CormorantGaramond-500.woff) format("woff"); font-display: swap; }
@font-face { font-family: "Cormorant"; font-weight: 500; font-style: italic; src: url(fonts/CormorantGaramond-500i.woff) format("woff"); font-display: swap; }

:root {
  --navy: #1c2430; --ink: #131820; --ivory: #f8f5f0; --stone: #eeeae3; --brass: #b08d57; --brass-2: #c4a26f;
  --text: #454d57; --soft: #8c949e; --mist: #b3bcc9; --rule: #ccc4b8; --navy-rule: rgba(255, 255, 255, .14);
  --serif: "Cormorant", Georgia, serif; --sans: "Raleway", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--text); font: 400 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; }

.kicker { margin: 0 0 18px; color: var(--brass); font: 600 11px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; color: var(--navy); }
em { font-style: italic; }

/* ---- hero ---- */
.hero { background: var(--navy); color: #fff; overflow: hidden; }
.top { display: flex; align-items: center; justify-content: space-between; max-width: 1240px; margin: 0 auto; padding: 28px 24px; }
.logo { height: 44px; width: auto; }
.links { display: flex; gap: 28px; font: 600 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--mist); }
.links a:hover { color: #fff; }
.hero-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: end; max-width: 1240px; margin: 0 auto; padding: 40px 24px 0; }
.pitch { padding-bottom: 96px; }
.hero h1 { color: #fff; font-size: clamp(46px, 6.4vw, 84px); line-height: .98; }
.hero h1 em { color: #fff; }
.rule { display: block; width: 56px; height: 1px; margin: 34px 0 26px; background: var(--brass); }
.lede { max-width: 470px; margin: 0; color: var(--mist); font-size: 16px; line-height: 1.75; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 38px 0 0; }
.btn { display: inline-block; padding: 16px 26px; background: var(--brass); color: var(--ink); font: 600 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; transition: background .2s; }
.btn:hover { background: var(--brass-2); }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px #fff; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; height: clamp(440px, 72vh, 700px); }
.photos img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.photos img:nth-child(odd) { margin-top: 64px; height: calc(100% - 64px); }

/* ---- shelves ---- */
.shelf { max-width: 1240px; margin: 0 auto; padding: 110px 24px 40px; }
.shelf.alt { padding-top: 80px; }
.shelf-head { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; align-items: end; margin-bottom: 52px; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.shelf-head .kicker { grid-column: 1 / -1; }
.shelf h2 { font-size: clamp(38px, 4.6vw, 58px); line-height: 1.02; }
.shelf-head p:last-child { margin: 0; max-width: 440px; justify-self: end; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
.grid.wide { grid-template-columns: repeat(2, 1fr); }

.card { display: flex; flex-direction: column; }
.cover { display: block; overflow: hidden; background: var(--stone); box-shadow: 0 14px 36px rgba(19, 24, 32, .16); }
.cover img { width: 100%; height: auto; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover .cover img { transform: scale(1.035); }
.body { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding-top: 24px; }
.num { grid-row: span 3; color: var(--brass); font: 500 30px/1 var(--serif); }
.name { color: var(--navy); font: 500 27px/1.1 var(--serif); }
.desc { font-size: 14px; line-height: 1.6; }
.meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--soft); font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.open { color: var(--navy); }
.open::after { content: " \2192"; display: inline-block; transition: transform .25s; }
.card:hover .open { color: var(--brass); }
.card:hover .open::after { transform: translateX(4px); }

/* the closing card in the industry grid */
.ask { grid-column: span 2; justify-content: center; padding: 56px; background: var(--navy); color: var(--mist); }
.ask h3 { color: #fff; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.05; }
.ask p:not(.kicker) { max-width: 460px; margin: 18px 0 32px; }
.ask .btn { align-self: flex-start; }
.ask:hover .btn { background: var(--brass-2); }

/* the full collection: cover beside the text */
.wide .card { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: end; padding: 32px; background: var(--stone); }
.wide .cover { box-shadow: 0 10px 26px rgba(19, 24, 32, .18); }
.wide .body { padding-top: 0; }

/* ---- promise ---- */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1240px; margin: 70px auto 110px; padding: 0 24px; }
.promise div { padding-top: 26px; border-top: 1px solid var(--brass); }
.promise .n { display: block; margin-bottom: 14px; color: var(--brass); font: 500 34px/1 var(--serif); }
.promise h3 { font-size: 26px; margin-bottom: 6px; }
.promise p { margin: 0; font-size: 14px; }

/* ---- footer ---- */
.foot { background: var(--navy); color: var(--mist); padding: 96px 24px 36px; }
.foot-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; max-width: 1240px; margin: 0 auto; padding-bottom: 64px; border-bottom: 1px solid var(--navy-rule); }
.foot h2 { color: #fff; font-size: clamp(38px, 4.6vw, 58px); line-height: 1.02; }
.details { justify-self: end; text-align: right; }
.big { display: block; color: #fff; font: 500 clamp(24px, 2.6vw, 32px)/1.35 var(--serif); }
.big:hover { color: var(--brass-2); }
.details p { margin: 16px 0 0; font-size: 13px; }
.sign { display: flex; align-items: center; gap: 10px; max-width: 1240px; margin: 28px auto 0; color: var(--soft); font: 600 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.sign img { height: 22px; width: auto; }

/* ---- smaller screens ---- */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 0; padding-top: 24px; }
  .pitch { padding-bottom: 48px; }
  .photos { height: 380px; }
  .photos img:nth-child(odd) { margin-top: 36px; height: calc(100% - 36px); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid.wide { grid-template-columns: 1fr; }
  .ask { padding: 40px; }
  .shelf-head { grid-template-columns: 1fr; gap: 16px; }
  .shelf-head p:last-child { justify-self: start; }
}
@media (max-width: 620px) {
  .top { padding: 20px 16px; }
  .logo { height: 34px; }
  .links { gap: 18px; }
  .hero-in, .shelf, .promise { padding-left: 16px; padding-right: 16px; }
  .shelf { padding-top: 72px; }
  .grid { grid-template-columns: 1fr; gap: 48px; }
  .photos { height: 260px; gap: 6px; }
  .wide .card { grid-template-columns: 110px 1fr; gap: 20px; padding: 20px; align-items: start; }
  .wide .desc { display: none; }
  .ask { grid-column: auto; padding: 32px 24px; }
  .promise { grid-template-columns: 1fr; margin: 40px auto 72px; }
  .foot { padding: 72px 16px 28px; }
  .foot-in { grid-template-columns: 1fr; }
  .details { justify-self: start; text-align: left; }
}
