Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
438 lines (410 loc) · 12.7 KB
/
Copy pathindex.html
File metadata and controls
438 lines (410 loc) · 12.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The Platonist Wine Company</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,500&display=swap" rel="stylesheet">
<style>
:root{
--ink:#0a0a0a;
--muted:#444;
--hover:#000;
--bg:#ffffff;
--line:#ededed;
--oxblood:#800020;
--indigo:#2d3464;
}
*{box-sizing:border-box;}
html,body{height:100%;}
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}
body{
margin:0;
background:var(--bg);
color:var(--ink);
font-family:'EB Garamond', Garamond, 'Times New Roman', serif;
font-weight:400;
cursor:url("assets/bluebird.png") 16 16, auto;
}
a{color:var(--muted); text-decoration:none; cursor:pointer;}
a:hover{color:var(--hover);}
ul{margin:0; padding:0; list-style:none;}
/* ---------- intro logo-fade overlay ---------- */
.home-logo-fade{
position:fixed; inset:0;
height:100vh; width:100%;
z-index:999;
background:#fff;
display:flex; align-items:center; justify-content:center;
overflow:hidden;
}
.home-logo-fade img{
width:100%;
max-width:260px;
display:block;
opacity:0;
transition:opacity 1s ease;
}
.home-logo-fade img.visible{
opacity:1;
}
.home-logo-fade.done{display:none;}
/* ---------- header ---------- */
header{
max-width:100%;
margin:0 auto;
position:relative;
}
header .head-inner{
padding-top:45px;
padding-bottom:34px;
text-align:center;
}
header .logo{
display:inline-block;
width:220px;
}
header .logo img{width:100%; display:block; margin:0 auto;}
.menu-mobile-link{
display:none;
position:absolute;
right:25px; top:38px;
width:30px; height:22px;
flex-direction:column;
justify-content:space-between;
cursor:pointer;
border:none; background:none; padding:0;
}
.menu-mobile-link span{display:block; height:2px; background:#000;}
@media screen and (max-width:995px){
header .head-inner{padding-top:34px;}
.menu-mobile-link{display:flex;}
}
/* ---------- rotator ---------- */
.rotator{
position:relative;
width:100%;
max-width:1400px;
margin:0 auto;
padding:0 25px;
opacity:0;
transition:opacity .4s ease-in-out;
}
.rotator.on{opacity:1;}
.rotator .frame{
position:relative;
width:100%;
padding-top:37.5%; /* 1200x450 aspect, like the reference slideshow */
overflow:hidden;
background:#f4f1ec;
}
.rotator .slide{
position:absolute; inset:0;
display:flex; align-items:center; justify-content:center;
opacity:0;
transition:opacity 1.1s ease-in-out;
}
.rotator .slide.active{opacity:1; z-index:2;}
.rotator .slide img{
max-height:78%;
filter:drop-shadow(0 10px 22px rgba(0,0,0,.14));
}
.rotator-m{display:none;}
@media screen and (max-width:960px){
.rotator{display:none;}
.rotator-m{
display:block; width:100%; padding:0 25px;
opacity:0; transition:opacity .4s ease-in-out;
}
.rotator-m.on{opacity:1;}
.rotator-m .frame{position:relative; width:100%; padding-top:85.7%; background:#f4f1ec; overflow:hidden;}
.rotator-m .slide{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity 1.1s ease-in-out;}
.rotator-m .slide.active{opacity:1; z-index:2;}
.rotator-m .slide img{max-width:62%; max-height:84%; width:auto; height:auto; filter:drop-shadow(0 10px 22px rgba(0,0,0,.14));}
}
main{min-height:1px; padding-bottom:120px;}
/* ---------- philosophy section ---------- */
.philosophy-section{
max-width:760px;
margin:80px auto 0;
padding:0 25px 40px;
text-align:left;
opacity:0;
transition:opacity .4s ease-in-out;
}
.philosophy-section.on{opacity:1;}
.philosophy-section h2{
font-family:'Cormorant Garamond', serif;
font-size:16px;
letter-spacing:4px;
text-transform:uppercase;
font-weight:600;
margin:0 0 22px;
color:var(--ink);
}
.philosophy-section p{
font-size:15px;
line-height:1.9;
color:var(--muted);
margin:0 0 18px;
}
.philosophy-grid{
display:grid;
grid-template-columns:minmax(260px,320px) 1fr;
align-items:start;
gap:32px;
max-width:100%;
margin:0 auto;
}
.philosophy-image{
display:block;
width:100%;
max-width:100%;
margin:0;
}
.philosophy-image img{
width:100%;
height:auto;
display:block;
object-fit:cover;
border-radius:4px;
}
.philosophy-copy{
min-width:0;
}
@media screen and (max-width:940px){
.philosophy-grid{
grid-template-columns:1fr;
gap:24px;
}
.philosophy-section{
padding-bottom:25px;
}
}
/* ---------- contact section ---------- */
.philosophy-section.on{opacity:1;}
.philosophy-section h2{
font-family:'Cormorant Garamond', serif;
font-size:16px;
letter-spacing:4px;
text-transform:uppercase;
font-weight:600;
margin:0 0 22px;
color:var(--ink);
}
.philosophy-section p{
font-size:15px;
line-height:1.9;
color:var(--muted);
margin:0 0 18px;
}
.philosophy-section p.strong{
font-weight:600;
color:var(--ink);
}
.contact-section{
max-width:640px;
margin:80px auto 0;
padding:0 25px 60px;
text-align:center;
opacity:0;
transition:opacity .4s ease-in-out;
}
.contact-section.on{opacity:1;}
.contact-section h2{
font-family:'Cormorant Garamond', serif;
font-size:14px;
letter-spacing:4px;
text-transform:uppercase;
font-weight:600;
margin:0 0 20px;
color:var(--ink);
}
.contact-section p{
font-size:15px;
line-height:1.7;
color:var(--muted);
margin:0 0 12px;
}
.contact-section a{color:var(--muted);}
.contact-section a:hover{color:var(--hover);}
/* ---------- footer bottom nav ---------- */
footer.bottom-nav{
max-width:100%;
z-index:2;
position:sticky;
bottom:0; left:0; width:100%;
background:#fff;
}
footer.bottom-nav nav{width:100%; padding:30px 0 0;}
footer.bottom-nav ul{display:table; margin:0 auto; text-align:center;}
footer.bottom-nav ul li{
display:inline-block;
position:relative;
padding:0 20px;
opacity:0;
transition:opacity 1.4s linear;
}
footer.bottom-nav ul li.animate-it{
opacity:1;
}
footer.bottom-nav ul li a{
color:var(--muted);
font-size:13px;
line-height:22px;
text-transform:uppercase;
letter-spacing:4px;
}
footer.bottom-nav ul li a:hover{color:var(--hover);}
footer.bottom-nav .fineprint{
text-align:center;
font-size:10px;
letter-spacing:2px;
color:#aaa;
padding:10px 0 18px;
text-transform:uppercase;
}
@media screen and (max-width:1150px){
footer.bottom-nav ul li{padding:0 12px;}
}
@media screen and (max-width:960px){
footer.bottom-nav{
position:relative; bottom:0; left:0; padding-top:25px;
}
footer.bottom-nav nav{height:auto; padding:0 5px 25px;}
footer.bottom-nav ul{display:block;}
footer.bottom-nav ul li{
display:block;
padding:9px 25px;
opacity:1;
animation:none !important;
border-top:1px solid var(--line);
}
footer.bottom-nav ul li:first-child{border-top:0;}
footer.bottom-nav ul li a{font-size:16px; letter-spacing:2px; text-transform:uppercase; text-align:left; display:block;}
}
.container{position:relative; box-sizing:border-box; width:100%; background:#fff;}
</style>
</head>
<body>
<div class="home-logo-fade" id="logoFade">
<img src="assets/PWC.png" alt="The Platonist Wine Company logo" id="logoFadeImg">
</div>
<div class="container">
<header>
<button class="menu-mobile-link" id="mobileTrigger" aria-label="Menu">
<span></span><span></span><span></span>
</button>
<div class="head-inner">
<a class="logo" href="index.html">
<img src="assets/PWC.png" alt="The Platonist Wine Company">
</a>
</div>
</header>
<main>
<section class="rotator" id="rotator">
<div class="frame">
<div class="slide active"><img src="assets/theduke.png" alt="The Grand Old Duke of Tuscany"></div>
<div class="slide"><img src="assets/prelude.png" alt="The Prelude"></div>
<div class="slide"><img src="assets/mementomori.png" alt="Memento Mori"></div>
<div class="slide"><img src="assets/loveletter.png" alt="A Love Letter"></div>
</div>
</section>
<section class="rotator-m" id="rotatorM">
<div class="frame">
<div class="slide active"><img src="assets/theduke.png" alt="The Grand Old Duke of Tuscany"></div>
<div class="slide"><img src="assets/prelude.png" alt="The Prelude"></div>
<div class="slide"><img src="assets/mementomori.png" alt="Memento Mori"></div>
<div class="slide"><img src="assets/loveletter.png" alt="A Love Letter"></div>
</div>
</section>
<section class="contact-section" id="contact">
<h2>Contact</h2>
<p>For enquiries and allocation requests,<br>please get in touch.</p>
<p><a href="mailto:info@platonist.wine">info@platonist.wine</a></p>
</section>
<section class="philosophy-section" id="philosophy">
<div class="philosophy-grid">
<div class="philosophy-image">
<img src="assets/vines.jpg" alt="Vineyard landscape">
</div>
<div class="philosophy-copy">
<h2>The grape or the land?</h2>
<p>The Platonist Wine Company began with a simple question: When a varietal of grape is cultivated across lands, which specific of their form do they carry with them?</p>
<p>In other words: What belongs to the grape and what belongs to the land?</p>
<p>For our inaugural 2025 vintage, hand-selected fruit from the rocky granitic slopes of the Helderberg was handled with a minimal-intervention process, bottled in limited releases. The result is wine that captures a moment in time and place, never to be replicated but to last for years to come.</p>
</div>
</div>
</section>
</main>
<footer class="bottom-nav">
<nav>
<ul id="menu-main">
<li data-i="1"><a href="grand-old-duke.html">The Grand Old Duke</a></li>
<li data-i="2"><a href="prelude.html">The Prelude</a></li>
<li data-i="3"><a href="memento-mori.html">Memento Mori</a></li>
<li data-i="4"><a href="love-letter.html">A Love Letter</a></li>
<li data-i="5"><a href="newsletter.html">Newsletter</a></li>
<li data-i="6"><a href="index.html#contact">Contact</a></li>
</ul>
</nav>
<div class="fineprint"> · South Africa</div>
</footer>
</div>
<script>
(function(){
var fade = document.getElementById('logoFade');
var img = document.getElementById('logoFadeImg');
var rotator = document.getElementById('rotator');
var rotatorM = document.getElementById('rotatorM');
var navItems = Array.prototype.slice.call(document.querySelectorAll('footer.bottom-nav ul li'));
function revealNavSequentially(i){
if (i >= navItems.length) return;
navItems[i].classList.add('animate-it');
setTimeout(function(){ revealNavSequentially(i + 1); }, 350);
}
window.addEventListener('load', function(){
setTimeout(function(){
img.classList.add('visible');
}, 200);
var fadeInDuration = 1600;
var holdDuration = 500;
var fadeOutDuration = 1000;
setTimeout(function(){
img.classList.remove('visible');
}, 200 + fadeInDuration + holdDuration);
setTimeout(function(){
finishIntro();
}, 200 + fadeInDuration + holdDuration + fadeOutDuration);
function finishIntro(){
fade.classList.add('done');
rotator.classList.add('on');
rotatorM.classList.add('on');
document.querySelector('.philosophy-section').classList.add('on');
document.querySelector('.contact-section').classList.add('on');
startRotators();
revealNavSequentially(0);
}
});
function startRotators(){
[rotator, rotatorM].forEach(function(wrap){
var slides = wrap.querySelectorAll('.slide');
var idx = 0;
setInterval(function(){
slides[idx].classList.remove('active');
idx = (idx + 1) % slides.length;
slides[idx].classList.add('active');
}, 3200);
});
}
// mobile trigger placeholder — on this single-page layout it just
// scrolls to the nav, matching the reference site's menu-mobile-link behavior
document.getElementById('mobileTrigger').addEventListener('click', function(){
document.querySelector('footer.bottom-nav').scrollIntoView({behavior:'smooth'});
});
})();
</script>
</body>
</html>