/* R90.92 GLOBAL TRUST — design preview (candidate; written from r9091-tr.css, which stays as it is).
   A deep navy room; four white marks on one champagne-gold line. All four marks share one build: disc, gold rim, inner
   ring, and a clear margin inside the ring; the three set in type share one size. No years on the screen.
   r9092-tr.js writes --k (0..1) on each record as it comes into view: the line is drawn through, then the mark and
   its words appear. Without the script everything is simply shown.
   --d is the diameter of a mark. Fonts: Noto Serif KR + Pretendard only. URLs are relative to this file. */
@font-face{font-family:"Noto Serif KR";src:url("../../assets/fonts/NotoSerifKR-VF.ttf") format("truetype");font-weight:200 900;font-display:swap}
@font-face{font-family:"Pretendard";src:url("../../assets/fonts/Pretendard-Light.ttf") format("truetype");font-weight:300;font-display:swap}
@font-face{font-family:"Pretendard";src:url("../../assets/fonts/Pretendard-Regular.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"Pretendard";src:url("../../assets/fonts/Pretendard-Medium.ttf") format("truetype");font-weight:500;font-display:swap}

body.pv{margin:0;background:#07131F}
.pv-note{position:fixed;z-index:50;right:1.2vw;top:1.2vh;margin:0;padding:.5em .9em;font:400 12px/1.4 "Pretendard",system-ui,sans-serif;
  color:#172D3C;background:rgba(255,255,255,.78);border:1px solid rgba(23,45,60,.18);letter-spacing:.01em}

.tr9{--ivory:#F3F2EC;--ivory-2:rgba(243,242,236,.8);--ivory-3:rgba(243,242,236,.6);--gold:#DCC393;--gold-d:#86663A;--ink:#172D3C;--night:#07131F;
  --serif:"Noto Serif KR","Noto Serif CJK KR",serif;--sans:"Pretendard",system-ui,-apple-system,"Malgun Gothic",sans-serif;
  --vh:1vh;--mx:9vw;--gap:2.2vw;--d:min(13.8vw,calc(22 * var(--vh)));
  position:relative;overflow:hidden;color:var(--ivory);font-family:var(--sans);word-break:keep-all;overflow-wrap:break-word;
  background:
    radial-gradient(62% 34% at 50% 61%,rgba(96,138,170,.2) 0,rgba(96,138,170,.07) 55%,rgba(96,138,170,0) 100%),
    linear-gradient(180deg,#050E18 0,#07131F 34%,#0A1B2B 68%,#081624 100%)}
@supports (height:1svh){.tr9{--vh:1svh}}
.tr9 *{box-sizing:border-box}
.tr9 :where(h2,h3,p,ol,li){margin:0;padding:0}
.tr9 ol{list-style:none}
.tr9 .m-br{display:none}

.tr9__in{min-height:calc(100 * var(--vh));padding:calc(14.5 * var(--vh)) var(--mx) calc(13 * var(--vh));display:flex;flex-direction:column;justify-content:center}
.tr9__head{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:6vw;align-items:end}
.tr9__title{font-family:var(--serif);font-weight:500;font-size:max(13px,calc(2.15 * var(--vh)));line-height:1.4;letter-spacing:.06em}
.tr9__title span{font-family:var(--sans);font-weight:300;font-size:max(11px,.72em);letter-spacing:.05em;color:var(--ivory-3);margin-left:.9em}
.tr9__say{margin-top:calc(4 * var(--vh));font-family:var(--serif);font-weight:400;font-size:min(calc(4.8 * var(--vh)),3vw);line-height:1.42;letter-spacing:-.022em;white-space:nowrap}
.tr9__sub{justify-self:end;max-width:26em;padding-bottom:.45em;font-size:calc(2.15 * var(--vh));line-height:1.85;letter-spacing:-.005em;color:var(--ivory-2);text-wrap:pretty}

.tr9__row{margin-top:calc(9.5 * var(--vh));display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:var(--gap)}
.tr9__rec{--k:1;position:relative;display:flex;flex-direction:column;align-items:center;text-align:center}
/* the gold line: one piece per record, joined across the gaps, running out to the edges of the screen at both ends */
.tr9__rec::before{content:"";position:absolute;z-index:0;left:calc(var(--gap) / -2);right:calc(var(--gap) / -2);top:calc(var(--d) / 2);height:1px;
  background:rgba(220,195,147,.62);transform-origin:0 50%;transform:scaleX(var(--k))}
.tr9__rec:first-child::before{left:calc(-1 * var(--mx));background:linear-gradient(90deg,rgba(220,195,147,0),rgba(220,195,147,.62) 46%)}
.tr9__rec:last-child::before{right:calc(-1 * var(--mx));background:linear-gradient(270deg,rgba(220,195,147,0),rgba(220,195,147,.62) 46%)}

/* a mark: white porcelain, a gold rim, a second fine ring */
.tr9__seal{position:relative;z-index:1;width:var(--d);height:var(--d);border-radius:50%;overflow:visible;display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:#fff;color:var(--ink);box-shadow:0 0 0 1.5px var(--gold),0 calc(.02 * var(--d)) calc(.16 * var(--d)) rgba(0,0,0,.42),inset 0 0 calc(.1 * var(--d)) rgba(134,102,58,.1);
  opacity:var(--k);transform:scale(calc(.94 + .06 * var(--k)))}
.tr9__seal::after{content:"";position:absolute;inset:calc(-.058 * var(--d));border-radius:50%;border:1px solid rgba(220,195,147,.46);pointer-events:none}
.tr9__seal::before{content:"";position:absolute;inset:calc(.05 * var(--d));border-radius:50%;border:1px solid rgba(134,102,58,.3);pointer-events:none}
.tr9__seal b{font-family:var(--serif);font-weight:500;font-size:calc(.168 * var(--d));line-height:1;letter-spacing:.11em;padding-left:.11em}
.tr9__seal span{margin-top:calc(.066 * var(--d));padding-top:calc(.052 * var(--d));min-width:calc(.34 * var(--d));border-top:1px solid rgba(134,102,58,.5);text-align:center;
  font-weight:500;font-size:max(10px,calc(.071 * var(--d)));line-height:1.3;letter-spacing:.02em;color:var(--gold-d)}
/* the HACCP mark: resized so that the emblem (about two thirds of its picture) is 0.62 of the disc — the same clear margin
   inside the inner ring as the marks set in type. The picture's own white corners are cut by a circle inside the ring. */
.tr9__clip{position:absolute;inset:calc(.07 * var(--d));border-radius:50%;overflow:hidden}
.tr9__clip img{position:absolute;left:50%;top:50%;width:calc(.91 * var(--d));max-width:none;height:auto;transform:translate(-50%,-51.8%)}

.tr9__what,.tr9__who{opacity:var(--k);transform:translateY(calc((1 - var(--k)) * 1.4 * var(--vh)))}
.tr9__what{margin-top:calc(5 * var(--vh));font-family:var(--serif);font-weight:400;font-size:calc(2.85 * var(--vh));line-height:1.4;letter-spacing:-.015em}
.tr9__who{margin-top:calc(1.1 * var(--vh));padding-top:calc(1.1 * var(--vh));position:relative;font-size:max(12px,calc(1.85 * var(--vh)));line-height:1.55;color:var(--ivory-2)}
.tr9__who::before{content:"";position:absolute;left:50%;top:0;width:1.6em;height:1px;margin-left:-.8em;background:rgba(220,195,147,.7)}

/* ---- phone and upright tablets: two by two ---- */
@media (max-width:900px),(max-aspect-ratio:1/1){
  .tr9{--mx:6.4vw;--gap:5vw;--u:min(1vw,calc(.52 * var(--vh)));--d:min(35vw,calc(19 * var(--vh)));
    background:
      radial-gradient(90% 26% at 50% 50%,rgba(96,138,170,.18) 0,rgba(96,138,170,.06) 55%,rgba(96,138,170,0) 100%),
      linear-gradient(180deg,#050E18 0,#07131F 30%,#0A1B2B 66%,#081624 100%)}
  .tr9 .m-br{display:inline}
  .tr9__in{padding:calc(11 * var(--vh)) var(--mx) calc(11 * var(--vh));justify-content:flex-start}
  .tr9__head{display:block}
  .tr9__title{font-size:max(13px,calc(3.7 * var(--u)))}
  .tr9__say{margin-top:calc(3.4 * var(--vh));font-size:calc(7.1 * var(--u));line-height:1.42;white-space:normal}
  .tr9__sub{margin-top:calc(2.4 * var(--vh));max-width:none;padding:0;font-size:max(13px,calc(4.05 * var(--u)));line-height:1.78}
  .tr9__row{margin-top:calc(7 * var(--vh));grid-template-columns:repeat(2,minmax(0,1fr));row-gap:calc(6.4 * var(--vh))}
  .tr9__rec:first-child::before,.tr9__rec:last-child::before{left:calc(var(--gap) / -2);right:calc(var(--gap) / -2);background:rgba(220,195,147,.62)}
  .tr9__rec:nth-child(odd)::before{left:calc(-1 * var(--mx));background:linear-gradient(90deg,rgba(220,195,147,0),rgba(220,195,147,.62) 46%)}
  .tr9__rec:nth-child(even)::before{right:calc(-1 * var(--mx));background:linear-gradient(270deg,rgba(220,195,147,0),rgba(220,195,147,.62) 46%)}
  .tr9__what{margin-top:calc(3.4 * var(--vh));font-size:calc(4.9 * var(--u));line-height:1.36}
  .tr9__who{margin-top:calc(.9 * var(--vh));padding-top:calc(.9 * var(--vh));font-size:max(12px,calc(3.4 * var(--u)))}
}

@media (prefers-reduced-motion:reduce){
  .tr9__seal,.tr9__what,.tr9__who{transform:none}
}
